Exam CCA-F Topic 1 Question 56 Discussion

Actual exam question for Anthropic's CCA-F exam
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?

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

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

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.

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 

日本語 Deutsch 繁体中文 한국어