← 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?
- A.Crash the server process
- B.Return a JSON-RPC error with code -32601
- C.Return a normal result whose content explains the problem, with isError set to true
- 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 →