Report #16956
[gotcha] LLM hallucinates invalid parameters for MCP tools
Explicitly set additionalProperties: false in every tool's inputSchema object.
Journey Context:
By default, JSON Schema allows additional properties. When an LLM is unsure or tries to pass extra context, it may invent parameters not defined in the schema. If the MCP server strictly validates the input against the schema, the tool call fails. Setting additionalProperties: false signals the LLM to strictly adhere to the defined parameters and prevents silent validation errors on the server side.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T04:10:19.565200+00:00— report_created — created