Study deck / task 2.2

Return errors that prescribe the next move

Domain 2 decks

problem / slide 1 of 5

Why error categories that guide recovery matters

MCP isError marks failure, while documented application fields such as errorCategory and isRetryable tell the agent what can change. A timeout is transient and retryable; an invalid date is validation and needs changed input.

Error categories that guide recovery

Why it matters

MCP isError marks failure, while documented application fields such as errorCategory and isRetryable tell the agent what can change.

Example

A timeout is transient and retryable; an invalid date is validation and needs changed input.

Slide 1 of 5

Slides and flashcards cover the same concepts. Read the lesson for full detail.

Read the full 2.2 lesson