Skip to main content
Glama

agentshield.live facts

describe_route

Read-onlyIdempotent

Free detail lookup for exactly one paid route. Input is the route path such as /iban or /transfer; the result is a JSON object with its price in USDC, parameters it needs, what it checks, limits and 402/404 behavior. Returns a short error text "Unknown route ... Call list_routes" if the path does not exist. Use it after choose_route or list_routes when you know which route you want and need its exact inputs before paying. Read-only: it does not call the route and spends no USDC.

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": {
      "path": "<path>"
    },
    "name": "describe_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesRoute path starting with a slash, exactly as shown by list_routes or choose_route, for example /iban, /transfer or /deadline.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / path / description
      Previous value: -"Route path, such as /iban."New value: +"Route path starting with a slash, exactly as shown by list_routes or choose_route, for example /iban, /transfer or /deadline."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds domain-specific assurance that it "does not call the route and spends no USDC" and describes the error text returned for unknown routes. Return-value detail (price, params, checks, limits, 402/404) is also disclosed, though exact JSON field names are not enumerated.

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?

Front-loaded with the core purpose and free/one-route scope, then usage, then behavioral guarantees. Dense but every sentence carries information; minor redundancy between the input example and the schema's own example.

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

Completeness5/5

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

No output schema exists, yet the description characterizes the returned JSON and the error case, and it clarifies cost/payment behavior for a paid-route ecosystem. Nothing essential for correct invocation appears missing.

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

Parameters4/5

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

Schema coverage is 100% so the baseline is 3, but the description adds that the path must match "exactly as shown by list_routes or choose_route" and that a wrong path yields an 'Unknown route' error, which is semantic guidance beyond the schema. It also reinforces the single-route constraint.

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 – "Free detail lookup for exactly one paid route" – and immediately clarifies the input (/iban, /transfer) and output (price in USDC, parameters, limits, 402/404 behavior). This clearly differentiates it from the sibling listing/selection tools.

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

Usage Guidelines5/5

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

Explicitly says to use it "after choose_route or list_routes when you know which route you want and need its exact inputs before paying," which names both alternatives and the condition that selects this tool. The error path even redirects the agent to list_routes when the route is unknown.

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