Report #13569
[gotcha] Strict JSON schema validation causing silent MCP tool rejection
Keep tool parameter schemas simple and permissive \(avoid additionalProperties: false unless strictly necessary, use wide types like string over restrictive enum if the LLM might not know all values\).
Journey Context:
Developers define strict JSON schemas with rigid enums or patterns. LLMs are probabilistic and often fail to match exact casing or enum values. The MCP server rejects the call, returning a validation error. The LLM often fails to self-correct because it doesn't understand the schema constraint violation. Wider schemas with post-validation in tool logic yield higher success rates.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T19:10:37.658891+00:00— report_created — created