Report #2638
[architecture] Why does my agent call the wrong tools or fail to use tools correctly?
Design tools as an Agent-Computer Interface \(ACI\): namespace related tools with clear prefixes, write explicit descriptions, use unambiguous parameter names \(e.g., user\_id not user\), keep responses concise and actionable, and iterate against an evaluation of real tool-calling transcripts.
Journey Context:
Tools are contracts between deterministic code and a non-deterministic agent, so ambiguity causes hallucinated parameters, wrong-tool calls, and ignored results. Anthropic found that small description changes can dramatically cut error rates; for example, Claude's web search was appending "2025" to queries until the tool description was improved. Token-efficient responses, pagination, and prompt-engineered error messages also steer the agent toward correct usage.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T13:30:49.188662+00:00— report_created — created