Re:MCP's Disregard for 40 Years of RPC Best Practices
by masafej536 on Sunday August 10, 2025 @04:15AM
(#44853646)
llm tool call -> mcp client validates the schema -> mcp client calls the tool -> mcp server validates the schema -> mcp server responds with the result -> mcp client passes the tool result into llm
[ Parent
| on HN ]
Re:MCP's Disregard for 40 Years of RPC Best Practices
by redandblack on Sunday August 10, 2025 @08:24PM
(#44859679)
not a developer.
what happens if this schema validation fails here - what will the mcp server respond with and what will the llm do next (in a deterministic sense)?
llm tool call -> mcp client validates the schema -> mcp client calls the tool -> mcp server validates the schema
Re:MCP's Disregard for 40 Years of RPC Best Practices
by masafej536 on Sunday August 10, 2025 @10:27PM
(#44860266)
They often do fail, at the client level you can just feed the schema validation error message back into the LLM and it corrects itself most of the time.
If not the LLM throws itself into a loop until its caller times it out and it sends an error message back to the user.
At the server level it's just a good old JSON API at this point, and the server would send the usual error message it would send out to anyone.