AI Hints
Home›MCP Tutorial›Tool Design and Practice
MCP · Lesson 30 of 120

Tools Quiz

Test yourself.

⏱ 2 min read▶ Video at 27:05🎓 Free
Watch this lesson in the MCP courseWatch on YouTube ↗Full MCP course

Let's review tools. Pause after each question, and answer before I do.

Tools Quiz
From the video: Tools Quiz
  • Tools quiz
  • Pause and think
  • Then check

Question 1

What turns into a tool's input schema? Its type hints.

Quick check
The input schema comes from:

Question 2

Which error's message is shown to the model? Tool error.

Quick check
Shown to the model:

Question 3

How should a database tool take input? With placeholders in a fixed query.

Quick check
Safe database tools use:

Question 4

Which annotation marks a tool that may delete things? Destructive hint.

Quick check
May delete data:

Summary

Well done. Next, a new section on resources.

Key takeaways
  • Type hints
  • ToolError
  • Placeholders
Next up: Resources — data the app can read