Report #56289
[gotcha] Agent selects wrong tool or misses the right one when 30\+ tools are registered
Implement progressive disclosure: expose only a relevant subset of tools per task or conversation phase. Use tool annotations and namespacing to group tools. Re-call tools/list at task boundaries instead of caching the full list forever.
Journey Context:
Function-calling accuracy degrades non-linearly as tool count grows — each additional tool both consumes context tokens and increases the selection search space. Developers assume registering every available tool gives the model maximum flexibility, but it actually hurts: the model must parse all descriptions to pick one, and similar descriptions create selection ambiguity. Progressive disclosure wins because it reduces both token overhead and selection noise. The tradeoff is that you need logic to decide which tools to expose, but a simple heuristic \(e.g., task-type tagging\) outperforms the kitchen-sink approach.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T00:58:27.796313+00:00— report_created — created