Exam CCA-F Topic 1 Question 56 Discussion
Actual exam question for Anthropic's CCA-F exam
Question #: 56
Topic #: 1
Question #: 56
Topic #: 1
Your MCP server implements a check_availability tool that queries an external calendar API.
During testing, you encounter three error conditions: (1) the tool is called with a malformed request missing the required user_email parameter, (2) the calendar API returns a 404 because the specified user doesn't exist in the calendar system, and (3) the calendar API returns a 503 because the service is temporarily unavailable. How should each error be reported according to MCP's error handling design?
During testing, you encounter three error conditions: (1) the tool is called with a malformed request missing the required user_email parameter, (2) the calendar API returns a 404 because the specified user doesn't exist in the calendar system, and (3) the calendar API returns a 503 because the service is temporarily unavailable. How should each error be reported according to MCP's error handling design?
Suggested Answer: C Vote an answer
Errors caused by malformed requests (missing required parameters) violate the RPC protocol and should be reported as JSON-RPC errors. Errors returned by the external service (user not found, temporary unavailability) are valid tool execution results and should be reported as tool outputs with isError set to true, allowing the agent to handle them gracefully.
by Prima at Jul 28, 2026, 03:52 AM
Contact Us
If you have any question please leave me your email address, we will reply and send email to you in 12 hours.
Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday
Support: Contact now
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).