Skip to main content
Glama

APIStead

Get the routes and schemas for a listing

get_routes
Read-only

Return every route on one listing with method, path, price, example request and example response. Use this to construct a valid paid call.

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": {
      "id_or_slug": "<id_or_slug>"
    },
    "name": "get_routes"
  }
}

Input Schema

NameRequiredDescriptionDefault
id_or_slugYesListing slug or id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds that the result includes pricing and example request/response pairs, which is useful behavioral context, but says nothing about authentication, rate limits, or failure modes when a listing has no routes.

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 short sentences, the return contents front-loaded and the usage note second. No filler or 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?

With no output schema, the description carries the burden of describing returns and does so by naming the key fields, which is enough for an agent to plan the call. It lacks detail on how the price/example fields translate into a paid invocation, a minor gap for such a simple one-parameter tool.

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 single parameter id_or_slug is documented in the schema, so the description need not repeat it. The phrase 'on one listing' implies the parameter scopes to a listing, adding marginal meaning, but no format or slug-vs-id 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 uses a specific verb and resource ('Return every route on one listing') and enumerates the payload fields (method, path, price, example request/response), so the agent knows exactly what comes back. It does not explicitly distinguish itself from siblings like get_api or get_receipt, leaving that differentiation to inference.

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?

'Use this to construct a valid paid call' gives a clear motivating context for invocation. There is no when-not guidance or named alternative (e.g., when to prefer get_api instead), so it stops short of full routing guidance.

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