An MCP server implements a check_availability tool that queries an external calendar API. During testing, three error conditions occur:
- The tool is invoked with a malformed request that lacks the required
user_email parameter.
- The calendar API returns a 404 because the specified user does not exist in the calendar system.
- The calendar API returns a 503 because the service is temporarily unavailable.
How should each error be reported under MCP’s error-handling design?
Community Discussion