Report #9214
[gotcha] Agent hallucinates tool parameters when forced to use a tool via tool\_choice: required but no tool matches the user intent
Always include a no\_op or clarify\_intent tool in your MCP server, and use tool\_choice: auto instead of required unless strictly necessary.
Journey Context:
Developers set tool\_choice: required to force the agent to use tools, thinking it prevents the LLM from just chatting. However, if the user asks something outside the tools' scope, the LLM is forced to pick a tool and will hallucinate parameters to make it fit \(e.g., using a send\_email tool for a math question\). Providing a clarify\_intent tool gives the LLM a valid escape hatch, preserving the strict tool-use behavior without forcing parameter hallucination.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T07:38:52.614058+00:00— report_created — created