MCP Academy · Lesson

Output Schemas for Clients

Publish the shape so consumers can rely on it.

Publish the Shape

A structured tool can also advertise an output schema: a JSON Schema that tells clients exactly what fields and types to expect.

What an Output Schema Is

It is a machine-readable description of your result, listing each field name and its type. Clients read it before ever calling the tool.

All lessons in this course

  1. Text vs Structured Content
  2. Return a Typed Result Object
  3. Output Schemas for Clients
  4. Return Images & Binary Blobs
← Back to MCP Academy