Skip to main content
Glama

List schemas

list_schemas
Read-onlyIdempotent

Use this to see which schemas can turn content into JSON: the predefined ones (Recipe, Workout, Product review, …) and the user's own. Pass schemaId to get one schema's full definition.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_schemas"
  }
}

Input Schema

NameRequiredDescriptionDefault
schemaIdNoAlso return the full JSON Schema definition of this schema (name or id).

Output Schema

NameRequiredDescriptionDefault
kindYes
mineYes
definitionNo
predefinedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover readOnly, idempotent, non-destructive, and closed-world, so the safety profile is settled. The description adds real value beyond that: it discloses that both curated and user-owned schemas appear in results, and that supplying schemaId enriches the response with a full definition rather than narrowing the list. It stops short of saying how many schemas come back or whether results are ordered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with zero filler. The discovery purpose is front-loaded, the enumerated examples make the scope concrete, and the optional-parameter behavior closes the sentence. Nothing repeats the name or title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present and only one optional parameter, the description carries exactly the burden it must: what is listed, what scopes exist, and what the parameter changes. Only minor operational detail, such as result volume, is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the parameter's own description already explains that schemaId accepts a name or id and returns the full JSON Schema definition. The description restates that same behavior in plainer language, adding comprehension value but no information beyond the structured fields. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('see which schemas can turn content into JSON'), and goes further by naming the two scopes it returns: predefined schemas (Recipe, Workout, Product review) and user-created ones. An agent can distinguish this listing tool from the extraction-oriented siblings without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Frames the use case clearly — discovering which schemas exist so content can be turned into JSON — and gives a conditional path for the single-schema case. It does not explicitly name an alternative tool or state when not to call it, which keeps it below a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources