Skip to main content
Glama
Swagger MCP Server
by Waltu

get_schemas

Retrieves all data schemas and models for a specified service slug, so you can inspect its API data structures and understand request and response payloads.

Instructions

Get all data schemas/models from a service

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slug": "<slug>"
    },
    "name": "get_schemas"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesService slug identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does not say whether the tool is read-only, whether results are paginated or large ('all' suggests a potentially heavy response), or what form the returned schemas take, leaving meaningful behavioral gaps.

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

Conciseness4/5

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

One short, front-loaded sentence with no filler. Its brevity edges toward under-specification rather than verbosity, but structurally it is efficient and immediately scannable.

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

Completeness3/5

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

For a simple single-parameter read tool with a fully described parameter and no output schema, the core information is present. However, with no annotations and no return-value guidance, it omits details an agent may want, such as response shape or volume expectations.

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%, so the single slug parameter is already documented in the input schema. The description's phrase 'from a service' reinforces the parameter's meaning but adds no format, validation, or lookup detail beyond the schema.

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?

The description states a specific verb and resource ('Get all data schemas/models') and scopes it to a single service. It is clearly distinguishable from siblings like get_endpoints or get_swagger, though it does not explicitly name a sibling to route against.

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?

Usage is implied by the resource named: call this to retrieve the schema/model catalog for a service. There is no explicit statement of when to prefer it over get_swagger or get_endpoint_details, and no prerequisites or exclusions are given.

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