Be able to read a tool definition and predict Claude's call-or-answer behavior, name the description field as the selection signal, and explain MCP Host/Client/Server roles. The key skill: knowing streamed tool arguments arrive incrementally as input_json_delta and must be accumulated before parsing.
Start practicing
Tools and MCP Integration — choose a session length
Free · No account required
Domain overview
This domain covers Claude's tool use contract: JSON Schema tool definitions, the description field, tool_choice, and streaming tool_use blocks. It also covers MCP architecture — Host, Client, Server, and transports like Stdio and HTTP — and how tool results are returned. Questions are scenario-based: given a schema or transport setup, predict Claude's behavior or the client's handling.
Exam objectives
Reading JSON Schema tool definitions to predict whether Claude calls a tool or answers directly
Identifying the description field as the primary signal for when Claude selects a tool
Tracing MCP Host, Client, and Server roles across Stdio and HTTP transports
Handling streamed tool_use blocks and input_json_delta events in the Anthropic API
Assuming a tool is called whenever the query matches its name, ignoring whether the schema's required parameters can be satisfied from the user's message
Confusing tool_choice values: auto lets Claude decide, any forces some tool, and a named tool forces that specific one
Treating MCP reconnection as automatic; with Stdio, a crashed server process typically ends the session and the Host must restart it
Click any question to see the full explanation and answer options, or start a focused practice session above.
A developer is implementing a weather-reporting agent using Claude 3.5 Sonnet. After Claude generates a tool_use block for the 'get_weather' tool, the developer fetches the data. What is the correct next step to ensure Claude can finalize its response to the user?
2In the Model Context Protocol (MCP) architecture, which component is responsible for providing specific resources, tools, and prompts to the rest of the ecosystem?
3Refer to the exhibit. A developer provides this tool definition to Claude. If a user asks 'What is the tax on $100?', how will Claude likely behave based on the provided JSON schema?
4An MCP Server is connected to a Host using the Stdio transport. If the server process crashes, how does the MCP architecture generally handle the reconnection logic?
5Claude requests a tool call to 'query_database', but the database is currently down. What is the best practice for handling this error so Claude can inform the user effectively?
6Refer to the exhibit. A developer is debugging an MCP integration and sees these logs in their console. What is the most likely cause of this error?
7When using Claude's tool use features in a streaming response, how should the developer handle the 'tool_use' blocks in the stream?
8Claude generates a response containing three separate 'tool_use' blocks in a single turn. How should the developer process these tool calls to maintain optimal performance and follow Anthropic's best practices?
9A security auditor is reviewing an application that uses the Model Context Protocol (MCP). Which TWO security considerations are most important for the developer to address when implementing the MCP Server?
10A company wants Claude to answer questions about their internal HR policies. They are deciding between fine-tuning a model and using a Tool-calling (RAG) approach. Why is Tool-calling usually preferred for this use case?
11A developer is architecting a system where Claude must interact with a proprietary internal database. According to the Model Context Protocol (MCP) architecture, which component is responsible for surfacing the database schemas and handling the actual execution of the SQL queries?
12Refer to the exhibit. A developer provides this tool definition to Claude. If the user asks for the weather in 'London' without specifying a unit, how will Claude's tool_use block be structured based on this JSON schema?
13When implementing a tool use loop in a custom application, what is the correct sequence of events after the model generates a 'tool_use' content block?
14Which field in the tool definition is primarily responsible for helping Claude determine when a specific tool is appropriate to use for a given user query?
15A developer is implementing a complex MCP Server to expose local file system operations. Which THREE security practices should be prioritized to ensure the server does not compromise the host system? (Select THREE)
16If a tool execution fails due to an external API timeout, how should the client properly communicate this error to Claude using the Anthropic API?
17Refer to the exhibit. Claude has generated two 'tool_use' blocks in a single response. Which approach is valid for handling these calls in the client application?
18A developer is using the 'forced tool use' feature. What will be the value of the 'stop_reason' field in the API response when Claude generates the tool call?
19Which TWO benefits does the Model Context Protocol (MCP) provide to developers building AI-powered applications? (Select TWO)
20Which property in the Anthropic Messages API allows a developer to prevent Claude from generating any text before it calls a tool?
21In the context of MCP, what is the primary purpose of the 'List Resources' capability of a server?
22When using tool use with streaming enabled in the Anthropic API, how does the client receive the tool arguments?
23A developer is building an MCP client that connects to a remote MCP server over HTTP. After the initial handshake, the client needs to discover what prompts the server exposes so they can be surfaced in a slash-command menu. Which MCP capability should the client invoke?
24A developer registers a tool named get_order_status with an input_schema that declares order_id as a string. During testing, Claude repeatedly emits tool_use blocks where order_id is the numeric value 10482 instead of a string. The downstream API rejects numeric IDs. Which change most reliably fixes this at the tool-definition layer?
25A developer is writing an MCP client that must stay responsive while a server performs a slow operation during a tool call. The client should allow the user to cancel the request without terminating the whole session, and the server should be able to stream incremental output before finishing. Which two MCP features should the developer implement? (Choose two.)
26A developer is integrating a new MCP server that exposes a company's internal HR policy documents. The server implements the Resources capability. The developer wants Claude to access a specific policy document only when the user explicitly asks about it, rather than loading all documents into context upfront. Which MCP method should the developer use to retrieve the content of a single resource by its URI?
27A developer is building a customer-support agent using the Anthropic API with the Claude 3.5 Sonnet model. The agent exposes a `lookup_order` tool that takes an `order_id` string. During testing, a user asks 'Where is my order 88213?' and Claude returns a `tool_use` block with `name: "lookup_order"` and `input: {"order_id": "88213"}`. What must the developer send back to Claude in the next API request so it can produce a natural-language answer?
28A team wants Claude to query their internal ticketing system through MCP. The operations are read-only lookups and the team wants the model to decide when a lookup is needed based on the conversation. Which MCP primitive is the appropriate choice?
29A developer is hardening a remote MCP server that exposes a 'run_query' tool against a production analytics database. The server will be reachable over HTTP by multiple Claude clients. Which TWO practices are MOST important to prevent the tool from being abused? (Choose two.)
30A developer is building a Claude-powered assistant that uses a tool called 'search_knowledge_base'. The tool definition includes a required parameter 'query' and an optional 'max_results' parameter. During testing, Claude sometimes calls the tool without providing 'max_results'. What should the developer do to ensure the tool call is handled correctly?
31A developer's MCP client sends a tools/call request for a tool that performs a database write. The tool result comes back with is_error set to true and a message about a unique-constraint violation. What is the most appropriate way for the client to handle this result?
32A developer's MCP client launches a local stdio server that exposes a `query_metrics` tool. The server process writes diagnostic log lines to standard output while handling requests. Claude's tool calls intermittently fail with JSON parse errors on the client side. Which change best resolves this?
33A developer is adding a 'calculate_shipping' tool to an existing MCP server used by a Claude-based checkout assistant. The tool needs the destination country, package weight in kilograms, and an optional express flag. Which tool definition practice will MOST reliably let Claude call the tool correctly?
34A developer is implementing an MCP client that connects to a remote MCP server over HTTP. The server requires authentication using an API key. The developer wants to ensure that all requests from the client include the API key in the headers. Which approach is correct for configuring the MCP client?
35A developer is defining a tool for Claude that fetches the current stock price for a ticker symbol. The tool will be called `get_stock_price`. Which `input_schema` definition best enables Claude to call the tool correctly?
36A developer is creating an MCP server that exposes a tool to query a PostgreSQL database. The tool definition includes a parameter 'sql_query' that accepts a raw SQL string. During a security review, it was flagged that this design could allow SQL injection if Claude generates malicious SQL. Which change should the developer make to mitigate this risk?
37A developer is building an MCP server that exposes several tools for managing a cloud infrastructure. The server will be used by multiple Claude clients. The developer wants to ensure that tool calls are handled efficiently and that the server can scale. Which two practices should the developer implement? (Choose two.)
38A developer is building an MCP client that connects to a remote MCP server over HTTP with Server-Sent Events. The server advertises tools that require user-specific permissions. Which TWO practices should the developer implement to keep the integration secure and functional? (Choose two.)
39A developer is writing a tool called `send_email` for a Claude-based assistant. The tool's description currently reads: 'Sends an email.' During testing, Claude calls the tool for tasks like drafting an email or checking inbox contents. Which revision to the tool definition most directly improves Claude's decision about when to invoke `send_email`?
Be able to read a tool definition and predict Claude's call-or-answer behavior, name the description field as the selection signal, and explain MCP Host/Client/Server roles. The key skill: knowing streamed tool arguments arrive incrementally as input_json_delta and must be accumulated before parsing.
The Courseiva CCDV-F question bank contains 39 questions in the Tools and MCP Integration domain. Click any question to see the full explanation and answer breakdown.
Start with a 10-question focused session to identify your baseline accuracy in this domain. Read every explanation — even for questions you answer correctly — to understand the reasoning. Once you score consistently above 80%, move to a 20–30 question session to confirm depth before moving to the next domain.
Yes — the session launcher on this page draws questions exclusively from the Tools and MCP Integration domain. Choose 10, 20, 30, or 50 questions for a focused session, or click individual questions to review them one by one.
Save your results, see per-domain analytics, and get readiness scores — free, for every certification.
Sign Up FreeFree forever · Every certification included