Report #29983
[frontier] Providing 50\+ tools in the system prompt causes choice paralysis and hallucination
Implement Dynamic Tool Selection \(Retrieval\). Embed tool descriptions and retrieve only the top-K relevant tools based on the user query, injecting only those into the prompt for the current turn.
Journey Context:
More tools \!= better. LLMs degrade in performance when the action space is too large. By filtering tools via RAG first, you reduce prompt size, lower cost, and increase accuracy. This is the RAG for Tools pattern.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T04:42:57.897074+00:00— report_created — created