CCARF Practice Question

Paper 3 · Question 58

D2 Tool Design & MCP Integration · Paper 3

[Scenario 6: Structured Data Extraction] You are building a structured data extraction system: pulling information from unstructured documents, validating output against JSON schemas, handling edge cases gracefully, and integrating with downstream systems. When your MCP extraction tool hits a parsing failure, it returns the message “Error: could not parse document” as an ordinary successful text result. The agent then treats that sentence as document content. What is the correct MCP pattern?

Show answer & explanations

Correct answer: B

Related Tool Design & MCP Integration questions

Paper 3 Q6[Scenario 1: Customer Support Resolution Agent] You are building a customer support resolution agent with the Claude Agent SDK. It handles h…Paper 3 Q7[Scenario 1: Customer Support Resolution Agent] You are building a customer support resolution agent with the Claude Agent SDK. It handles h…Paper 3 Q8[Scenario 1: Customer Support Resolution Agent] You are building a customer support resolution agent with the Claude Agent SDK. It handles h…Paper 3 Q26[Scenario 3: Multi-Agent Research System] A coordinator agent built on the Claude Agent SDK delegates to specialized subagents — web search,…Paper 3 Q27[Scenario 3: Multi-Agent Research System] A coordinator agent built on the Claude Agent SDK delegates to specialized subagents — web search,…

More: Paper 3 · All practice questions