Skip to main content
Glama

Preview fees for a USDC transfer (no funds move)

quote_transfer
Read-only

Price moving USDC from one chain to another, or to someone else on the same chain: sendstables fee (covers all gas), Circle's fee, what arrives (estimate and guaranteed minimum), and delivery method. sendstables' cross-chain fee is a service charge of 0.05% of the amount (minimum $0.10, no cap), plus estimated sponsored gas, wallet and relaying costs with a 30% margin. Circle fees are separate. Same-chain sends (no bridging) pay no percentage: only the transfer's estimated cost plus margin, or the minimum fee if that's higher. Same chain (from = to): needs a recipient; delivery is "same_chain_transfer" (one USDC transfer, no Circle fee). Returns an UNSIGNED preview plus a prefilled swap_link; it can't be executed. Show the summary to the user.

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": {
      "from": "<from>",
      "to": "<to>",
      "amount": "<amount>"
    },
    "name": "quote_transfer"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesDestination chain slug, e.g. "solana"; the same as `from` for a same-chain send (then `recipient` is required).
refNoOptional attribution tag for the link (letters, digits, - or _).
fromYesSource chain slug, e.g. "base".
amountYesUSDC amount the user pays, fees included, as a decimal string, e.g. "50" or "10.5".
recipientNoDestination address on `to` (0x… EVM, base58 Solana, G… Stellar). Omit to move funds to the user's own wallet on `to`. Required when `from` and `to` are the same chain (a same-chain send to someone else). Only use an address the user gave you.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses the exact fee model (0.05% with a $0.10 minimum and no cap, plus sponsored gas and a 30% margin), that Circle fees are separate, and that same-chain sends carry no percentage fee. It also states the output is an unsigned, non-executable preview with a prefilled swap_link, which is precisely the behavioral context an agent needs.

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?

Purpose and the key constraint (no funds move, cannot execute) are front-loaded, and the fee breakdown is grouped logically. There is some repetition: same-chain fee behavior and the recipient requirement are stated twice in slightly different forms.

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 5-parameter, no-output-schema preview tool, it covers the fee model, the same-chain branch, and the returned artifacts (unsigned preview, swap_link, summary) with an instruction to show the summary to the user. Only the handoff to an execution tool is left unstated.

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 schema already documents from, to, amount, recipient, and ref. The description reinforces the same-chain/recipient dependency and that amount includes fees, but adds little semantic detail beyond what the schema states, so the baseline of 3 applies.

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 opens with a specific verb and resource: "Price moving USDC from one chain to another, or to someone else on the same chain," and enumerates the fee components returned. It clearly scopes the tool to pricing/preview rather than execution, though it never names the sibling create_swap_link as the execution path.

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?

It gives clear conditions for the two modes: cross-chain versus same-chain (from = to), and states that same-chain sends require a recipient and use the "same_chain_transfer" delivery method. It does not explicitly say to call create_swap_link when the user actually wants to move funds, so the alternative is only implied by "it can't be executed."

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