Invalid inputSchema
bad-tool-schema · Tools — listing
Endpoint (Streamable HTTP)
https://chaos-mcp.thomascdnns.com/s/bad-tool-schema/mcp
On the wire — recorded from a real request
Symptom
what you'll observeClients that validate schemas reject the tool; others can't build a valid call.
Cause
what this reproducesHand-written JSON Schema with an invalid type and a required field that isn't defined.
Fix
how you'd resolve itGenerate schemas from types or validate them against the JSON Schema meta-schema.
Try it with curl
bash
curl -sS -X POST \
https://chaos-mcp.thomascdnns.com/s/bad-tool-schema/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2024-11-05",
"capabilities": {},
"clientInfo": {"name": "curl", "version": "1"}
}
}'