Skip to main content
Glama

Intents Route

Compare cross-chain quotes

quote_route
Read-onlyIdempotent

Compare every intent protocol's quote for one cross-chain transfer, ranked, with who could not quote. Set from.amount for exact input or to.amount for exact output, as integer base-unit strings; assets are CAIP-19. Read-only: pass a quoteId to get_route_plan to get the steps to sign.

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": {
      "from": "<from>",
      "to": "<to>",
      "sender": "<sender>",
      "recipient": "<recipient>"
    },
    "name": "quote_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
rankNo
senderYesThe wallet that pays, on the source chain
refundToNo
recipientYesWho receives, on the destination chain
slippageBpsNo

Output Schema

NameRequiredDescriptionDefault
bestYes
noteYes
rankedYes
tradeTypeYes
quoteSetIdYes
unavailableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world traits, so the bar is lower. The description still adds real value: results are ranked across protocols, protocols that could not quote are reported, and the quoteId hands off to a separate execution-step tool.

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?

Three tightly packed sentences, front-loaded with what the tool returns, followed by parameter direction and then the read-only handoff. No filler and no repetition of schema text.

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 structure need not be explained, and the description still characterizes the response as ranked with non-quoters. For a 7-parameter open-world quote aggregator it is nearly complete, missing only rank/slippage semantics and the purpose of refundTo.

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 only 29%, but the description compensates on the most consequential ambiguity — from.amount means exact input, to.amount means exact output, both integer base-unit strings with CAIP-19 assets. It says nothing about rank's enum meanings, slippageBps, or the undocumented refundTo, leaving notable gaps.

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: compare every intent protocol's quote for one cross-chain transfer, returned ranked with failures included. This clearly separates it from the single-protocol quote_swap and from get_route_plan, which is named as the downstream step.

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?

Gives explicit workflow guidance: use this to compare quotes read-only, then pass the quoteId to get_route_plan to obtain signing steps. It also states when to use from.amount versus to.amount. No explicit exclusions versus quote_swap, which keeps it from a 5.

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.