Closed-World Resolution Against Tool Hallucination in LLM Agents
Source
Laxmipriya Ganesh Iyer
Author
Laxmipriya Ganesh Iyer
Date
Key takeaways · AI-distilled
Tool-calling LLMA large language model — the neural network behind tools like Claude and ChatGPT, trained on huge amounts of text to predict what comes next.Full definition → agents sometimes invoke tools that don't exist or pass arguments no schema declares -- a blind spot no tool-selection or tool-gating method can catch, since a hallucinated call was never a real decision a gate made.
Across ten hosted models and two invocation surfaces, the study measured 322 genuine tool hallucinations; fabricated-tool calls clustered heavily on the unconstrained raw-JSON surface (34) versus a more constrained surface (3).
Model scale didn't reduce hallucinationWhen a model states something false with full confidence — inventing facts, citations, or APIs that don't exist.Full definition → rate: a 675-billion-parameter model hallucinated tools about as often as a 7-8B model.
Merging multiple MCPThe Model Context Protocol — an open standard that lets any AI assistant plug into any tool or data source without custom integration code.Full definition → servers into one tool namespace creates new hallucination surfaces from name collisions and shadowing -- the study measured 154 such hallucinations, including from frontier models that were clean when tested against a single registry.
Terms in this piece · Glossary
LLM — A large language model — the neural network behind tools like Claude and ChatGPT, trained on huge amounts of text to predict what comes next.
hallucination — When a model states something false with full confidence — inventing facts, citations, or APIs that don't exist.
AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
MCP — The Model Context Protocol — an open standard that lets any AI assistant plug into any tool or data source without custom integration code.
Why it matters
Hallucinated tool calls bypass selection and permission gating by construction, so AI agentAn AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.Full definition → security needs a dedicated resolution step before any causal gate, not just better gating logic.