Skip to content
mentoor

Designing MCP tools agents use well

For engineers

Fewer, task-level tools with clear names, compact results and actionable errors, tested against real agent runs

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

A server has one tool per REST endpoint. Agents often need four calls in a fixed order to finish one job. What is the best redesign?

Choose one answer

Check yourself · 2 of 5

A search tool returns 40 records with 25 fields each, and agents run out of context. What is the best first fix?

Choose one answer

Check yourself · 3 of 5

Two MCP servers each expose a tool called search. What is the most direct fix?

Choose one answer

Check yourself · 4 of 5

An agent calls a tool with a project name that does not exist. Which error message helps it most?

Choose one answer

Check yourself · 5 of 5

Which eval task best exposes problems in a tool set?

Choose one answer

Topics

  1. Workflow-level tools instead of thin API wrappers4 min read · Combining endpoint-per-tool designs into tools that match real tasks, so agents make fewer calls and fewer wrong choices
  2. Compact, meaningful tool results for agents5 min read · Names instead of opaque ids, pagination and truncation with next-step hints, concise and detailed response modes, and structured output
  3. Tool names and descriptions agents choose correctly5 min read · Namespaced names, unambiguous parameter names, descriptions written like instructions to a new colleague, and examples of valid input
  4. Actionable tool errors agents can recover from5 min read · Error results that say what was wrong and what to try instead, input validation messages, and never raw stack traces
  5. Evaluating tool designs with agent transcripts5 min read · Realistic eval tasks, success rate, call count and token use per task, reading transcripts for confusion, and letting an agent propose fixes

Start here

110 questions · last verified 2026-12