Report #90320
[gotcha] MCP tool accepts unexpected input fields without validation error
Set \`additionalProperties: false\` in every tool's inputSchema object
Journey Context:
JSON Schema defaults \`additionalProperties\` to \`true\`, so any extra fields beyond \`properties\` pass validation silently. When an LLM generates a slightly wrong parameter name \(e.g., \`file\_path\` instead of \`filepath\`\), the tool receives the misspelled key as an extra property and the intended parameter as null/missing—no error, no feedback, just silently wrong behavior. The model never gets a correction signal because the server accepts the input. Setting \`additionalProperties: false\` makes the server reject malformed input, giving the model an explicit error it can self-correct from. The counter-intuitive part: most developers assume a schema with defined properties implicitly rejects unknowns, but JSON Schema does the opposite.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T10:11:47.058252+00:00— report_created — created