Quick reference
Deprecated tools
These tools have been consolidated into more general tools. They remain fully callable for backward compatibility but are no longer listed by the server. New integrations should use the replacement.Error responses
When a tool call fails, the MCP Server returns a result withisError: true. The text field of that result is a JSON object with two fields:
message is human-readable and safe to surface directly to an end user or AI agent. The code is a stable string your code can branch on without parsing prose.
Error codes
Handling errors in a script
CheckisError before processing content. The code field lets you handle each class of error differently without string-matching the message:
AI agents (Claude, Gemini, etc.) read the
message field automatically and will describe the problem in natural language without any extra handling on your part. Error code parsing is only necessary when you are processing MCP tool results programmatically in a script.