🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Model Context Protocol (MCP): all 10 questions

Quiz: Model Context Protocol (MCP) · Question 6 of 10

A tool cannot find the requested roll number. How should an MCP server report this?

A tool cannot find the requested roll number. How should an MCP server report this?

  1. A.Crash the server process
  2. B.Return a JSON-RPC error with code -32601
  3. C.Return a normal result whose content explains the problem, with isError set to true
  4. D.Return an empty success result
Answer & explanation

Correct answer: Return a normal result whose content explains the problem, with isError set to true

The model can then read the message and recover; -32601 means "method not found".

Can you get the rest right without peeking?

Take the timed Quiz: Model Context Protocol (MCP) quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →