Skip to main content
Run any Skill in Manus
with one click

mcp-error-response

Stars4
Forks1
UpdatedApril 17, 2026 at 02:38

Guide for designing structured error responses in MCP tools. Covers error classification (transient, validation, business, permission), the isError flag in MCP protocol and Anthropic API, retryable vs non-retryable errors, the critical distinction between access failures and valid empty results, structured error metadata design, and subagent error propagation patterns. Use when the user says "MCP error handling", "error response design", "isError flag", "tool error classification", "retryable errors", "error propagation", "tool returns wrong error", "empty result vs error", "when to retry MCP tool", "subagent error handling", "structured error response", "access failure vs empty result", or wants to design how MCP tools should report and classify errors for LLM agents. For tool description design, see mcp-tool-design instead. For platform-level MCP optimization, see mcp-tool-enhancement instead.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly