How MCP Tools Work: Discovery, Invocation and Access Control
TL;DR
* MCP tools are executable functions an MCP server advertises to a client through tools/list and runs on request through tools/call, each described by a JSON Schema the model uses to build arguments.
* The protocol defines two error paths: JSON-RPC protocol errors for unknown tools or