Skip to main content
Glama

find_capital_route

Read-onlyIdempotent

Find a route between tokens and chains by comparing fees, slippage, and gas, returning a provider-neutral market estimate for planning before execution.

Instructions

[Capability: available_with_tier_gate; tier: scout_quote_signature_and_simulation_gated; API: /api/agents/quote; authority: /api/v1/agent/status] Find the most efficient route between tokens/chains. Considers fees, slippage, and gas. Returns a provider-neutral market estimate (never executable, never attributed) — a wallet alone never triggers provider quoting. For execution, create a firm single-provider quote via the quote-intent API (LI.FI or Relay; 0x remains operator-paused), then simulate before preparing.

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": {
      "fromChainId": "<fromChainId>",
      "toChainId": "<toChainId>",
      "fromToken": "<fromToken>",
      "toToken": "<toToken>",
      "fromAmount": "<fromAmount>"
    },
    "name": "find_capital_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
toTokenYesResolver-supported symbol, native identifier, token address, or chain-qualified asset; discovery resolves canonical assets server-side.
protocolNo
fromTokenYesResolver-supported symbol, native identifier, token address, or chain-qualified asset; discovery resolves canonical assets server-side.
toChainIdYes
fromAmountYesAmount in token base units.
fromChainIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv5.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Goes beyond the readOnly/idempotent annotations by disclosing a tier gate ('scout_quote_signature_and_simulation_gated'), that results are provider-neutral, never executable, never attributed, and that a wallet alone doesn't trigger provider quoting. These are meaningful constraints not captured in annotations.

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

Conciseness3/5

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

The core sentences are tight and front-loaded with behavior, but the description opens with a bracketed capability/API/authority metadata blob that delays the actual purpose. Most sentences earn their place, but the structural prefix is clutter.

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?

For a read-only, no-output-schema tool it covers what matters: what the estimate is, that it's non-executable and non-attributed, the tier gate, and the follow-on execution path. It is slightly thin on what the estimate actually contains (beyond fees/slippage/gas), but the overall picture is sufficient to call it correctly.

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

Parameters2/5

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

Schema description coverage is only 50%, and the description adds nothing about parameter formats: the chainId parameters and the 'protocol' enum are never explained, and token identifier formats are left entirely to the schema. With a low coverage schema, the description should compensate but does not.

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?

States a specific verb and resource: 'Find the most efficient route between tokens/chains', and clarifies it is an estimate rather than an executable quote. It distinguishes itself from execution siblings by naming the quote-intent/simulate path, though it never names a sibling tool explicitly.

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?

Explicitly routes the agent: use this for route estimation, then create a firm single-provider quote (LI.FI or Relay; 0x paused) and simulate before preparing for execution. Clear context, but the alternatives are described as API paths rather than the actual sibling tool names, leaving some mapping work.

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

Deploy Server

Other Tools