Report #93882
[gotcha] Agent calls wrong tool or fails to find the right tool when many tools are registered
Keep concurrently available tools under 20. Implement a two-tier architecture: \(1\) always-loaded core tools including a discovery meta-tool, \(2\) specialist tools loaded on demand. When the agent needs a capability, it calls the meta-tool to discover and load relevant specialist tools, then invokes them. Unload specialist tools when the task phase changes.
Journey Context:
LLM tool selection accuracy degrades non-linearly with tool count. At 5-10 tools, selection is reliable. At 20\+, the model starts confusing tools with similar names or descriptions. At 50\+, selection for less-frequently-used tools approaches random. The common mistake is registering every available tool upfront, assuming more tools equals more capability. In reality, more tools equals worse selection. The counter-intuitive fix: reducing available tools increases effective capability. Progressive disclosure maintains selection accuracy while preserving access to a large tool library.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T16:10:10.504493+00:00— report_created — created