Report #30090
[synthesis] Agent selects the wrong tool for a query when multiple similar tools are available, cascading into irrelevant results
Use semantic tool routing or dynamically hide irrelevant tools. Instead of presenting 20 tools to the agent at once, use an initial classifier step to select the top 3-5 relevant tools for the current sub-task, and only expose those to the agent.
Journey Context:
When an agent has many tools, the tool descriptions compete for attention. The agent might choose search\_web when it needs search\_codebase because the descriptions are similar or the web search is listed first. Adding more tools degrades performance. The tradeoff is latency vs. accuracy. A two-step routing process \(first route, then act\) adds an API call, but drastically reduces tool-selection hallucinations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T04:53:44.025878+00:00— report_created — created