CCAR-F practice › Tool Design & MCP Integration · Question 28 of 105
Tool Design & MCP Integration
In a research system, the analysis subagent has two tools: analyze_content, described as "Analyzes the provided content," and analyze_document, described as "Analyzes a document." Logs show web search results being sent to analyze_document in roughly a third of runs. What is the most effective fix?
Show answer and explanation
Answer: D — Rename analyze_content to extract_web_results and give both tools descriptions with inputs and boundaries
The two descriptions are near-identical, and descriptions are what the model selects from. Renaming the tool whose name hides its scope and giving both tools inputs, outputs, and boundaries that point at each other removes the ambiguity at the source (d). A vague 'think carefully' rule (a) gives the model no new information to choose with. Temperature (b) might make choices more consistent but not more correct. Moving the decision to the coordinator (c) adds coupling and round trips without fixing the descriptions that cause the misrouting.
Keep going
More Tool Design & MCP Integration questions
- A support agent has a tool whose entire description is "Queries the v2 inventory…
- A developer productivity agent has a web_search tool and an MCP code_search tool. Both…
- A support agent's lookup_order tool wraps its database call in a catch-all that returns…
- An MCP tool calling an external catalog API sometimes gets "item not found" and…
- A process_refund tool rejects refunds above a $500 policy limit. The agent currently…