File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -276,10 +276,9 @@ macro_rules! server_handler_methods {
276276 ///
277277 /// - `Err(`[`McpError`]`)` — a JSON-RPC protocol error. Use this
278278 /// only when the request itself is unroutable: unknown tool
279- /// ([`ErrorCode::METHOD_NOT_FOUND`]), unparsable or
280- /// schema-invalid parameters ([`ErrorCode::INVALID_PARAMS`],
281- /// `-32602`), or a server-internal failure that means the server
282- /// cannot serve any request right now
279+ /// ([`ErrorCode::METHOD_NOT_FOUND`]), malformed request shape that
280+ /// cannot be treated as a valid `tools/call`, or a server-internal
281+ /// failure that means the server cannot serve any request right now
283282 /// ([`ErrorCode::INTERNAL_ERROR`], `-32603`). MCP clients
284283 /// typically render protocol errors opaquely; **the caller will
285284 /// not see your message** — they see something like "Tool result
You can’t perform that action at this time.
0 commit comments