Skip to content

Tools and MCPs Questions

Practice questions for Tools and MCPs topic in Claude Certified Developer – Foundations. 20 questions covering this domain.

20 questions4 easy12 medium4 hard
Q1
hard

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...

Q2
medium

A developer wants to connect Claude to an existing company MCP server to access internal tools, without building a separate MCP client application. Wh...

Q3
medium

A developer builds an agent with 5,000 available tools. Including all tool definitions in every request exceeds the context budget and reduces accurac...

Q4
medium

A developer wants to guarantee that Claude's tool calls always exactly match the defined JSON schema, preventing runtime errors from unexpected parame...

Q5
easy

When Claude decides to call a client-side tool, what value appears in the stop_reason field of the API response?

Q6
easy

What are the three required fields in a custom client tool definition for the Claude API?

Q7
medium

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...

Q8
hard

A developer implements an agent tool that integrates with a payment processing API. The payment API requires a secret API key for authentication. The ...

Q9
medium

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 ...

Q10
medium

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...

Q11
hard

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...

Q12
medium

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...

Q13
medium

A developer defines a search_database tool with this description: 'Searches the database.' During testing, Claude frequently calls the tool with inapp...

Q14
medium

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...

Q15
easy

What are the three required fields in a tool_result block returned by the application after executing a tool?

Q16
medium

A developer builds a travel booking agent with tools for search_flights, book_flight, and cancel_booking. During testing, Claude occasionally calls bo...

Q17
medium

A developer defines a custom calculate_shipping tool with input_schema specifying two required parameters: weight (number) and destination (string). D...

Q18
hard

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...

Q19
easy

What is the purpose of the description field in a custom tool definition?

Q20
medium

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.