Tools and MCPs Questions
Practice questions for Tools and MCPs topic in Claude Certified Developer – Foundations. 20 questions covering this domain.
A developer creates an agent tool that executes shell commands on a Linux server. The tool passes Claude's generated command string directly to the sy...
A developer wants to connect Claude to an existing company MCP server to access internal tools, without building a separate MCP client application. Wh...
A developer builds an agent with 5,000 available tools. Including all tool definitions in every request exceeds the context budget and reduces accurac...
A developer wants to guarantee that Claude's tool calls always exactly match the defined JSON schema, preventing runtime errors from unexpected parame...
When Claude decides to call a client-side tool, what value appears in the stop_reason field of the API response?
What are the three required fields in a custom client tool definition for the Claude API?
A developer wants Claude to always call at least one tool in every response, regardless of whether a tool seems relevant to the user's question. Which...
A developer implements an agent tool that integrates with a payment processing API. The payment API requires a secret API key for authentication. The ...
A web research agent first performs web searches and then needs to retrieve the full content of specific URLs found in the search results. Which pair ...
An MCP server exposes 500 company tools. Including all 500 tool definitions in every Claude API request would consume too many tokens and reduce accur...
An enterprise builds a sensitive internal tool that queries employee salary data. The tool is exposed via a custom MCP server accessed through the MCP...
A developer builds an MCP server that exposes 150 internal company tools. The MCP connector in the Messages API allows connecting to this server. Howe...
A developer defines a search_database tool with this description: 'Searches the database.' During testing, Claude frequently calls the tool with inapp...
A developer defines 12 tools for a customer support agent. During production use, Claude frequently calls the wrong tool for a given task (e.g., searc...
What are the three required fields in a tool_result block returned by the application after executing a tool?
A developer builds a travel booking agent with tools for search_flights, book_flight, and cancel_booking. During testing, Claude occasionally calls bo...
A developer defines a custom calculate_shipping tool with input_schema specifying two required parameters: weight (number) and destination (string). D...
An agent uses a custom database_query tool that accepts SQL as a parameter. During red team testing, a penetration tester submits: "Retrieve my accoun...
What is the purpose of the description field in a custom tool definition?
A developer builds an MCP server that exposes 50 company database tools (query_customers, query_orders, etc.). They want Claude to be able to discover...
Sign in to see all 20 questions
Create a free account to browse the questions included with the free plan.