Skip to main content
Glama

Get a swap estimate

get_quote
Read-onlyIdempotent

Estimate a crypto-to-crypto swap on HiddenSwap, a no-KYC crypto exchange. Returns the amount the person would receive after all fees, the rate, the minimum and maximum, the payout fee, the usual duration and a prefilled swap link. Uses a quote recorded in the last two hours when one matches the exact amount (floating rate only, labelled with its time), otherwise a live quote. Read-only: it creates no order and moves no funds. Coin ids come from search_coins (for example btc, xmr, usdttrc20). No account, no email and no ID needed to swap.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesThe coin received. Coin id from search_coins, for example btc, xmr or usdttrc20 (USDT on Tron).
fromYesThe coin sent. Coin id from search_coins, for example btc, xmr or usdttrc20 (USDT on Tron).
amountYesAmount of the coin sent, as a decimal string with a dot, for example "0.05".
rateTypeNofloat (default): the rate is set when the deposit is confirmed. fixed: a rate held once the swap is started on the site, when the pair offers one.float

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes
maxNo
minNo
fromYes
rateYesHow much of the received coin one unit of the sent coin buys, before the payout fee.
notesYes
sourceYes
swapUrlYesPrefilled swap page. The person reviews and starts the swap there.
amountToYesEstimated amount received, after all fees.
quotedAtYesWhen the quote was made (ISO 8601).
rateTypeYes
payoutFeeNoFee for sending the new coins, in the received coin. Already taken off amountTo.
amountFromYes
etaMinutesNoUsual duration in minutes: low and high.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already mark readOnly, idempotent, and non-destructive, and the description reinforces this with concrete language ('creates no order and moves no funds'). It adds valuable behavior beyond annotations: cached quotes up to two hours for floating rates only, live quotes otherwise, and the fact that no account/email/ID is needed.

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?

The description is front-loaded with the core purpose and return value, then covers behavioral caveats, read-only safety, and prerequisites. Every sentence contributes meaningful information, and it remains compact despite covering several non-obvious behaviors.

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?

Given the output schema and annotations, the description is complete: it explains what is returned, when stale quotes are reused, that the operation is safe, how to source coin IDs, and that no auth is required. An agent has everything needed to invoke the tool correctly and interpret its behavior.

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 baseline is 3. The description repeats the coin-id relationship with search_coins and examples already present in the schema, but adds little genuinely new parameter-level meaning. The rateType parameter is covered well in the schema, so no penalty is needed, but the description does not elevate it above baseline.

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?

The description opens with a specific verb and resource: 'Estimate a crypto-to-crypto swap' on HiddenSwap. It clearly separates this from siblings like get_order_status, get_pair_info, and search_coins by emphasizing that it returns a quote with fees, rate, limits, payout fee, duration, and a prefilled link.

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?

The description gives clear context for when to call the tool: when an estimate is needed, and it explicitly routes users to search_coins for valid coin IDs. It does not explicitly contrast against get_order_status or get_pair_info, but the purpose and prerequisite are clear enough for an agent choosing among siblings.

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.