Report #29792
[frontier] Tool calling hallucinations increase after 25\+ turns due to schema drift
Re-fetch tool schemas from the MCP server every 15 turns rather than relying on the initial system prompt description; treat tool schemas as dynamic state, not static context.
Journey Context:
In long sessions, the detailed JSON schemas for tools get compressed or pushed out of context, causing agents to hallucinate parameters or call deprecated tools. Teams initially tried pinning schemas to the top of context, but this consumes valuable space. The MCP \(Model Context Protocol\) specification treats tool definitions as server-side state that should be refreshable. By re-hydrating schemas periodically, you ensure the agent always has the current interface definition, preventing the 'phantom tool' phenomenon where agents invent tools that existed 30 turns ago but were since removed.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T04:23:51.637033+00:00— report_created — created