Claude Certified Architect – Foundations Practice Question 37: Consolidate and Namespace Tools
Claude Certified Architect, Foundations · Test 4 · question 7 of 10
An agent is connected to three MCP servers (Asana, Jira and GitHub), and also has custom tools such as search, list_items, get_item and find_item defined by the team. Traces show Claude frequently calls the wrong server's search tool or picks among near-duplicates get_item and find_item inconsistently. What is the best remedy?
Show answer and explanation
Answer:
Anthropic's guidance on writing tools for agents recommends consolidating functionality that overlaps and namespacing tools with common prefixes (by service or by resource) so the agent can tell them apart. Fewer, clearer tools reduce the chance of wrong selection.
A does not remove the ambiguity. B is an arbitrary rule that does not help Claude choose the right service. C would force a single tool regardless of the request and breaks the agent.
Reference: Writing effective tools for agents