Skip to main content
Glama

SiteCheck Crypto & Finance

Best swap quote for a token pair on an EVM chain, compared

crypto_1inch_pathfinder_quotes
Read-only

Best swap quote for a token pair on an EVM chain, compared across two public DEX aggregators (KyberSwap and Velora/ParaSwap): amount out, USD values, estimated gas in USD, price impact against the input's USD value and the pools/DEXes used, plus which aggregator gives more. Chains: Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain, Avalanche. Indicative quotes, not executable orders. 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>",
      "amount": "<amount>"
    },
    "name": "crypto_1inch_pathfinder_quotes"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoethereum, base, arbitrum, optimism, polygon, bsc or avalanche (default ethereum)
amountYesAmount of tokenIn in whole units, e.g. 1.5
tokenInYesToken to sell: contract address, or native for the chain's coin
tokenOutYesToken to buy: contract address, or native

Output Schema

NameRequiredDescriptionDefault
bestNo
chainNo
quotesNo
sourceNo
tokenInNo
amountInNo
tokenOutNo
checkedAtNo
decimalsInNo
decimalsOutNo
spreadPercentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations it discloses commercial and operational behavior an agent needs: $0.002 per successful call via x402 (USDC on Base, Solana and 10 more networks) and no charge for failed calls. It also clarifies the quotes are indicative rather than executable, which is the key caveat for downstream decision-making.

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?

Information is front-loaded: purpose, aggregators covered, output fields, chains, then caveat and price. It is dense but each clause is substantive, though enumerating output fields is somewhat redundant given an output schema exists.

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?

For a multi-chain, paid, read-only quote tool this covers everything an agent needs: supported chains, required inputs' meaning, what is compared, that quotes are non-executable, and the cost model. The presence of an output schema means the return fields need not be exhaustively documented.

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 coverage is 100%, so the schema already explains chain, amount (whole units), tokenIn and tokenOut (address or native). The description adds little parameter-level meaning beyond restating the chain list and noting price impact is measured against the input's USD value. Baseline 3 is appropriate when the schema carries the semantics.

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 (best swap quote for a token pair on an EVM chain) and names the exact comparison set (KyberSwap and Velora/ParaSwap), which separates it from sibling quote tools such as crypto_sushiswap_route_quotes. It also lists the supported chains and the outputs produced, so an agent knows what it gets before opening the schema.

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 a clear context for use (indicative cross-aggregator comparison on seven named chains) and an explicit when-not constraint: these are indicative quotes, not executable orders. It does not, however, name a sibling when the agent actually needs an executable route, leaving that inference to the reader.

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