Skip to main content
Glama

Intents Route

Build a route execution plan

get_route_plan

Turn a quote_route quoteId into an order and the steps the user's wallet must sign. Returns the transactions or signatures, in order, and when the plan expires. Nothing is signed or sent by this server. Needs credentials; persist the orderId before retrying.

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": {
      "quoteId": "<quoteId>"
    },
    "name": "get_route_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
quoteIdYes
driftToleranceBpsNoHow much worse a re-quote may be before the order is refused (default 50)

Output Schema

NameRequiredDescriptionDefault
noteYes
stepsYes
statusYes
orderIdYes
expiresAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations it discloses the key behaviors: nothing is signed or sent by this server, the returned transactions/signatures are ordered, and the plan carries an expiry. The credential requirement and the 'persist the orderId before retrying' warning meaningfully reinforce the non-idempotent, non-read-only annotation profile without contradicting it.

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?

Four short sentences, front-loaded with the action and return shape, then safety, then credentials, then the retry caveat. Every sentence carries distinct information with no repetition of schema or annotation content.

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?

Given an output schema exists (so return shapes needn't be spelled out) and annotations cover the safety profile, the description supplies everything else an agent needs for this mutating, credential-gated tool: prerequisite input origin, side-effect boundary, expiry, and non-idempotent retry handling.

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 50%: driftToleranceBps is fully documented in the schema (including its default), so the only gap is quoteId, and the description fills it by stating where the quoteId must come from (quote_route). That provenance is real value beyond the schema's bare minLength 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 concrete verb+resource chain: it converts a quote_route quoteId into an order plus the ordered signing steps for the wallet. It explicitly names the sibling quote_route as the source of the input, so an agent can tell this apart from the quoting tool without opening schemas.

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?

The prerequisite is clear by implication and by naming quote_route: you must already hold a quoteId. It also gives operational guidance (needs credentials, persist the orderId before retrying) but does not explicitly state when not to use it or point to route_order_status for follow-up checks.

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.