Skip to main content
Glama

Quote a transfer

quote_transfer
Read-only

Price every route between from and to at this size, across P2P venues, payment rails, withdrawal networks and swap providers. Returns the best route with each leg's cost, up to four alternatives, the all-in cost in bps against mid-market, and a confidence level. Needs an API key.

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
toYesWhat should arrive, same notation: "USDC:base", "NGN:bank"…
fromYesWhat is sent: "KES", "KES:mpesa", "USDT:tron"…
amountYesAmount of `from`
maxAdsNoMost P2P counterparties to split across (default 25; 1 forces a single ad)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, so safety is covered, and the description adds genuinely new context: the auth prerequisite ('Needs an API key') and the shape of the result — best route, per-leg cost, up to four alternatives, all-in bps against mid-market, confidence. It omits quote validity/expiry and any rate-limit or error behavior, which matters given lock_rate exists as a sibling.

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 tight sentences, front-loaded with what is priced, then what comes back, then the prerequisite. Given there is no output schema, the return-value enumeration is doing real work rather than padding.

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?

With no output schema, the description responsibly covers the return contract and the API-key requirement. It leaves a meaningful gap for a quoting tool: whether quotes are binding, how long they hold, and how they relate to lock_rate before execution.

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%, including notation examples for `from`/`to` and the maxAds default, so the schema carries the parameter burden and baseline 3 applies. The description adds only the notion of sizing ('at this size') and does not clarify the P2P-splitting behavior controlled by maxAds.

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?

Specific verb ('Price every route') plus resource (transfer between `from` and `to`) and an explicit enumeration of what is searched: P2P venues, payment rails, withdrawal networks and swap providers. An agent can tell this apart from quote_swap or price_carry by the transfer framing, but no sibling is named outright, which keeps it out of the top band.

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?

Usage is implied (this is the pre-execution pricing step for a transfer), but there is no explicit when-to-use vs when-not, and nothing routes the agent between this and siblings such as quote_swap, lock_rate or vault_deposit_route. 'at this size' hints that the size materially affects results but the implication is never spelled out.

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