Report #9407
[gotcha] LLM passes extra hallucinated parameters to MCP tools causing silent validation failures
Set additionalProperties: false explicitly in all MCP tool input schemas to strictly reject unexpected parameters.
Journey Context:
LLMs frequently hallucinate extra parameters or mix up argument names. If the JSON Schema for the tool input doesn't explicitly forbid additional properties, the MCP server might silently ignore the hallucinated parameters and execute the tool with missing required data, leading to unpredictable results or silent failures. Strict schema enforcement fails fast and forces the LLM to correct its arguments.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T08:09:24.596444+00:00— report_created — created