MCP & Protocol Testing / Quiz

Tool Results & Error Surfaces

A tool can fail two completely different ways in MCP. If your test can't tell them apart, half your error handling is untested.

Difficulty
Easy
Format
Quiz
Points
100
Estimate
9 min

// MISSION BRIEF

Your Mission

When a tools/call goes wrong, MCP has TWO distinct failure channels: a JSON-RPC protocol error, and a tool-execution error carried inside a successful result. They are handled differently, by different code, for a reason. This quiz makes the split stick.

Scoring: equal weight per question.

// FIRST CONTACT

Battle teaser

A successful tools/call returns a result object. What is its primary payload field?

  1. AAn HTTP status code
  2. BA raw JSON blob under data
  3. Ccontent, an array of typed blocks (text, image, audio, resource)
  4. DA single string field named output
Answers, scoring, hints, and the full battle stay sealed.

// SKILL TAGS

mcpprotocol-testingtoolserror-handling