Skip to main content
Glama

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

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources