Report #93642
[gotcha] Model hallucinates extra parameters that don't exist in the tool schema
Always include "additionalProperties": false in every tool inputSchema object definition. This is a hard rule — no exceptions.
Journey Context:
JSON Schema defaults additionalProperties to true, meaning any extra keys are valid. When the model sees a schema without this constraint, it may infer that supplementary fields are acceptable and invent parameters the tool never handles. The tool then either silently ignores them \(wrong behavior, no error\) or crashes. Setting additionalProperties: false is a strong constraint signal that dramatically improves parameter accuracy. Most MCP SDK examples and quickstart templates omit this, making it a pervasive oversight that only surfaces in production when the model gets creative.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T15:45:44.991204+00:00— report_created — created