Skip to main content
Glama

List schemas

list_schemas
Read-onlyIdempotent

List the schemas belonging to the authenticated tenant. Schemas are JSON Schemas that datafiles validate against; reference one by schema_id when creating a datafile.

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
page_sizeNomaximum number of schemas to return in this page
page_tokenNotoken from a previous response's next_page_token to fetch the next page
slug_prefixNoonly return schemas under this FOLDER path (matched on whole '/'-delimited segments, NOT as a raw string prefix), e.g. 'blog' (trailing slash optional) returns everything under blog/. A partial segment matches nothing: 'bl' will NOT match 'blog/post'; use the full segment(s)

Output Schema

NameRequiredDescriptionDefault
schemasYes
next_page_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / slug_prefix / description
      Previous value: -"only return schemas whose slug starts with this prefix"New value: +"only return schemas under this FOLDER path (matched on whole '/'-delimited segments, NOT as a raw string prefix), e.g. 'blog' (trailing slash optional) returns everything under blog/. A partial segment matches nothing: 'bl' will NOT match 'blog/post'; use the full segment(s)"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds the useful scoping fact that results are limited to the authenticated tenant, but says nothing about pagination behavior, ordering, or result size beyond what the schema params imply.

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, front-loaded with the core action and scope, then the semantic definition of the resource. No filler, no restated title, no redundancy.

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?

An output schema exists, so return values (including next_page_token) need not be explained, and all parameters are self-documenting. What remains missing is minor: whether results are paginated/ordered by default and confirmation of the tenant scoping in relation to auth, but nothing blocks correct invocation.

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 description coverage is 100%, so all three parameters (page_size, page_token, slug_prefix) are already fully documented in the schema, including the subtle whole-segment matching rule for slug_prefix. The description adds no parameter-level detail beyond connecting schema_id to datafile creation, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource ('List the schemas') and adds a precise definition of what a schema is (a JSON Schema that datafiles validate against), which helps an agent understand the object type. It does not explicitly contrast with create_schema or list_datafiles, but the list-vs-write distinction is obvious from the verb.

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

Usage Guidelines3/5

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

The phrase 'reference one by schema_id when creating a datafile' implies a usage context (discovering schemas before creating datafiles), giving a downstream consumer for the output. However, there is no explicit when-to-use/when-not or named alternative tool, so guidance remains implied rather than stated.

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