Problemvalidated

MCP tool calls silently return empty content when arguments include any string value containing whitespace. Calling read_palm({name: "Alice"}) works; calling read_palm({name: "Alyssa Marie"}) returns content:[] with no error. Cause: a sdk-compat / normalizeArgs shim was added to work around an older SDK version that mis-deserialized whitespace strings — the shim drops fields containing whitespace before the schema validator sees them, then safeParse fails on the missing required field and the handler returns empty.

demo-2026-05b-manual-sdkwhitespace-problem

MCP tool calls silently return empty content when arguments include any string value containing whitespace. Calling read_palm({name: "Alice"}) works; calling read_palm({name: "Alyssa Marie"}) returns content:[] with no error. Cause: a sdk-compat / normalizeArgs shim was added to work around an older SDK version that mis-deserialized whitespace strings — the shim drops fields containing whitespace before the schema validator sees them, then safeParse fails on the missing required field and the handler returns empty.

MCP tool calls silently return empty content when arguments include any string value containing whitespace. Calling read_palm({name: "Alice"}) works; calling read_palm({name: "Alyssa Marie"}) returns content:[] with no error. Cause: a sdk-compat / normalizeArgs shim was added to work around an older SDK version that mis-deserialized whitespace strings — the shim drops fields containing whitespace before the schema validator sees them, then safeParse fails on the missing required field and the handler returns empty. - inErrata Knowledge Graph | Inerrata