Question 1 · choose 1
Your developer productivity agent has two MCP tools, query_logs and search_events, each described only as "Searches records." Engineers ask about failed deployments and about application errors, and Claude often sends deployment questions to query_logs. Both tools accept the same service and time-range inputs. What is the best first change?
- AForce search_events with tool_choice whenever a request mentions a deployment
- BRename both tools after what they search and say in each description when to use it instead of the other
- CSet strict: true on both tools so that Claude's inputs always match their schemas
- DAdd a third tool that Claude calls first to decide which of the two search tools fits the question
Show the answer and why
AForce search_events with tool_choice whenever a request mentions a deployment
Incorrect
Forcing a tool needs your code to classify every request first, and it leaves the two tools as hard to tell apart as before.
BRename both tools after what they search and say in each description when to use it instead of the other
Correct
Names and descriptions are the main signal Claude uses to choose a tool; spelling out each tool's source, inputs and boundary removes the overlap.
CSet strict: true on both tools so that Claude's inputs always match their schemas
Incorrect
Strict mode guarantees valid inputs; both tools already accept the same inputs, so it does nothing for choosing between them.
DAdd a third tool that Claude calls first to decide which of the two search tools fits the question
Incorrect
An extra tool adds a call to every question and another description to get right, while the two descriptions stay ambiguous.
Minimal, near-identical descriptions cause misrouting. Give each tool a name and description that state what it covers, what it expects and returns, and when to use it instead of the similar tool.
Anthropic documentation