Claude Certified Architect – Foundations Practice Question 37: Consolidate and Namespace Tools

Claude Certified Architect, Foundations · Test 4 · question 7 of 10

Tool Design & MCP Integrationmedium

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?

Select one answer
Show answer and explanation

Answer:

  • D. Merge overlapping narrow tools into fewer, well-scoped ones, and namespace tool names by service or resource (for example asana_search and jira_search).

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

Practice Test 4 ›

Study guides for Claude Certified Architect, Foundations