Skip to main content
Glama

SiteCheck Crypto & Finance

SushiSwap route quote for an exact-input swap on one EVM

crypto_sushiswap_route_quotes
Read-only

SushiSwap route quote for an exact-input swap on one EVM chain: amount out, swap price, price impact, gas spent and the tokens in the route. Quote only, no transaction data. The API needs a sender address; if none is given, a fixed placeholder address is sent and nothing is signed or executed. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "tokenIn": "<tokenIn>",
      "tokenOut": "<tokenOut>",
      "amountIn": "<amountIn>"
    },
    "name": "crypto_sushiswap_route_quotes"
  }
}

Input Schema

NameRequiredDescriptionDefault
senderNoOptional sender address for the API (quote unaffected)
chainIdNoEVM chain id (default 1)
tokenInYesToken to sell, 0x address (use the wrapped token for native ETH)
amountInYesAmount to sell in the token's smallest unit (wei for 18 decimals)
tokenOutYesToken to buy, 0x address

Output Schema

NameRequiredDescriptionDefault
sourceNo
chainIdNo
tokenInNo
amountInNo
gasSpentNo
tokenOutNo
amountOutNo
checkedAtNo
swapPriceNo
routeTokensNo
priceImpactPctNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses concrete operational behaviour: a placeholder sender is injected when none is supplied, nothing is signed or executed, and billing is $0.002 per successful call via x402 with failed calls free. These are exactly the kind of side-effect and cost facts an agent needs before invoking.

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 sentences, each with a distinct job: what it returns, that it is quote-only with placeholder sender behaviour, and what it costs. Purpose is front-loaded and nothing is padding.

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?

With an output schema covering return values and annotations covering the read-only/open-world profile, the description fills the remaining gaps: execution-free behaviour, sender fallback, and per-call pricing. Nothing an agent needs to call this correctly is 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 already 100%, so the baseline is 3. The description still adds meaning by explaining that sender is required by the API and that a fixed placeholder is used when omitted, which the schema merely calls "optional" with a note that the quote is unaffected.

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 names a specific verb+resource (SushiSwap route quote for an exact-input swap) and constrains the scope to a single EVM chain. It does not explicitly differentiate itself from the sibling crypto_1inch_pathfinder_quotes, so an agent must infer the choice from the protocol name alone.

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

Usage Guidelines3/5

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

"Quote only, no transaction data" implicitly tells the agent this is for price discovery, not execution, which is useful usage context. However, it never states when to pick SushiSwap quoting over the 1inch pathfinder sibling or when not to use it at all.

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