CCAR-F practice question 2 of 10
Your team is building an MCP integration where Claude needs to fetch real-time inventory data, validate it against business rules, and then update an external ERP system. You've defined the tool schema correctly, but users report that Claude frequently calls the update function before validation completes. What is the primary issue with your tool design?
Full set: 191 questionsLarge Language Models, including Claude, determine tool execution based on the provided tool schemas and context. If Claude calls an update function prematurely, it is because the schema allows it to do so without the prerequisite validation data. The most robust way to enforce sequential dependencies in tool use (such as within the Model Context Protocol) is to design the tool schema such that the output of the validation step is a strictly required input parameter for the update tool.
B. Context window size is irrelevant here; the issue is tool orchestration and schema design, not the model forgetting information.
C. The Model Context Protocol (MCP) is explicitly designed to connect Claude to real-time data sources and external tools.
D. Increasing temperature increases randomness, which would worsen logical reasoning and tool ordering reliability.
1. Anthropic Official Documentation, "Tool use (function calling)" - Section: Best practices for tool definitions and enforcing tool order.
2. Model Context Protocol (MCP) Official Specification - Section: Tool Schema Design and Execution.
Keep practicing
Take the free CCAR-F practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CCAR-F practice questions
- Question 1You are building a customer support resolution agent using the Claude Agent SDK. The agen…
- Question 3You are building developer productivity tools using the Claude Agent SDK. The agent helps…
- Question 4You are integrating Claude Code into your Continuous Integration/Continuous Deployment (C…
- Question 6You are building a structured data extraction system using Claude. The system extracts in…
- Question 7You are building a structured data extraction system using Claude. The system extracts in…
- Question 9True or False: When designing a multi-step agentic workflow, it is a best practice to exp…
