Skip to main content
Glama

Crypto & Macro Market Data (Tanod)

compare_stablecoin_transfer_fees

Read-onlyIdempotent

chainpeek: Compare USDC or USDT transfer fees on Base, Polygon, Ethereum, BNB, Arbitrum and Solana. For peg status use check_stablecoin_peg. Returns the fee of one USDC or USDT transfer on each chain, cheapest first; Solana adds lamport fees and new-token-account rent. Gas units are the standard 65,000, not measured. Cached 15 s. A chain that fails is listed last with an error; all failing is a 502 (not charged). Bad input is a 422 (not charged). Typically 1-5 s. Price: USD 0.002. Free: 10 chain reads per IP per UTC day. Docs: https://tanod.dev/learn/gas-price-api.html

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "compare_stablecoin_transfer_fees"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNoUSDC (default) or USDT.USDC
amountNoTransfer size. Informational only: an ERC-20 or SPL transfer fee does not depend on the amount.
chainsNoChains to compare: base, polygon, ethereum, bnb, arbitrum, solana. Default: all six.

Output Schema

NameRequiredDescriptionDefault
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
tokenNo
amountNo
resultsNo
cheapestNo
fetched_atNo
amount_noteNo
assumptionsNo
cached_for_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / amount / description
      Previous value: -"Transfer size (default 100). Informational only: an ERC-20 or SPL transfer fee does not depend on the amount."New value: +"Transfer size. Informational only: an ERC-20 or SPL transfer fee does not depend on the amount."
    • removedInput schema / properties / amount / title
      Removed value: -"Amount"
    • removedInput schema / properties / chains / default
      Removed value: -null
    • removedInput schema / properties / chains / title
      Removed value: -"Chains"
    • removedInput schema / properties / token / title
      Removed value: -"Token"
    • removedInput schema / title
      Removed value: -"compare_stablecoin_transfer_feesArguments"
    • removedOutput schema / properties / assumptions / items
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / results / items
      Removed value: -{
      -  "properties": {
      -    "base_fee_gwei": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "chain": {
      -      "enum": [
      -        "base",
      -        "polygon",
      -        "ethereum",
      -        "bnb",
      -        "arbitrum",
      -        "solana",
      -        null
      -      ],
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "chain_id": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    },
      -    "decimals": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    },
      -    "error": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "fee_native": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "fee_usd": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "gas_price_gwei": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "gas_units": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    },
      -    "name": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "native_symbol": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "native_usd": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "native_usd_source": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "priority_fee_gwei": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "rank": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    },
      -    "solana": {
      -      "properties": {
      -        "ata_note": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "base_fee_lamports": {
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        },
      -        "compute_unit_limit": {
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        },
      -        "priority_fee_lamports": {
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        },
      -        "priority_micro_lamports_per_cu": {
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        },
      -        "recipient_ata_rent_lamports": {
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        },
      -        "recipient_ata_rent_sol": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "recipient_ata_rent_usd": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "total_fee_lamports": {
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        }
      -      },
      -      "type": [
      -        "object",
      -        "null"
      -      ]
      -    },
      -    "token": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "token_contract": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": [
      -    "object",
      -    "null"
      -  ]
      -}
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: return ordering (cheapest first), Solana-specific lamport and token-account rent additions, fixed 65,000 gas-unit assumption rather than measurement, 15 s caching, partial-failure behavior (failed chain listed last with an `error`), 502 vs 422 semantics, and that errors are not charged. Annotations already cover the read-only/safe profile, and the description adds latency and billing context on top.

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?

Front-loaded with purpose then progressively narrower operational facts, with no filler sentences. It is dense — pricing, free tier and a docs link share one paragraph — but each clause carries actionable information.

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 three-optional-param comparison tool with an output schema, the description covers scope, defaults, ordering, edge-case failure handling, cost and latency. Nothing needed to invoke or interpret a successful call is missing.

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 100%, so the enum, default and bounds are already documented. The description reinforces that the figure is the fee for one transfer regardless of size, but adds little beyond the schema's own note that amount is informational; baseline 3 applies.

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 USDC or USDT transfer fees") and enumerates the exact chains covered. It explicitly routes peg questions to check_stablecoin_peg, so an agent can distinguish this from its closest sibling without opening either 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?

Names one alternative (check_stablecoin_peg) with the condition that selects it, and clarifies default scope (all six chains) and that amount is informational. It does not discuss the related get_protocol_fees or transfer_preflight-style workflows, so guidance is clear but not exhaustive.

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.