Skip to main content
Glama

ChangeNOW

Create a swap order

create_swap

Create a real swap order and return the deposit address the user has to send funds to. This call moves no money by itself, but the order is real: it exists in support, it can expire, and a fixed rate is locked against it. Quote the swap first, validate the recipient address, and confirm the amount and the address with the user before calling this. If the user has not explicitly approved both, use swap_link instead and let them confirm on the page. The answer names who executes the order, and that has to be relayed: some orders are routed to a partner aggregator rather than ChangeNOW.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesAsset the user receives, canonical id, for example "usdt.trx".
fromYesAsset the user sends, canonical id, for example "eth.eth".
memoNoMemo or destination tag for the recipient address, when the asset needs one.
addressYesAddress that receives the swapped asset. Check it with validate_address first; a wrong network here loses the funds.
rate_idNoThe rate_id from quote_swap with rate_type "fixed". Required for a fixed rate order, and it expires after about ten minutes.
amount_toNoAmount the user wants to receive. Requires rate_id from quote_swap.
promo_codeNoPromo code to apply, if the user has one.
amount_fromNoAmount the user sends. Pass this or amount_to, never both.
refund_memoNoMemo for the refund address.
contact_emailNoOptional email for status notifications about this order.
refund_addressNoWhere the deposit returns if the swap cannot complete. Strongly recommended: without it a failed swap needs support.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
toYes
fromYes
statusYes
providerYes
warningsYes
amount_toYes
rate_typeYes
track_urlYes
created_atYes
amount_fromYes
refund_memoYes
valid_untilYes
payin_addressYes
payin_extra_idYes
payout_addressYes
refund_addressYes
payout_extra_idYes

TDQS

A4.7/5.0
Behavior5/5

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

Beyond annotations, the description discloses key behavioral traits: 'moves no money by itself' but the order is real, can expire, and locks a fixed rate. It also warns that some orders are routed to a partner aggregator rather than ChangeNOW, which is essential context for the agent to relay. Annotations already indicate readOnly false, so this description complements rather than contradictions.

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?

While the description is longer than average, every sentence adds needed context: purpose, side-effect caveat, prerequisite workflow, alternative tool, and post-call relay requirement. Important warnings are front-loaded before workflow details, and there is no filler or repetition.

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 11 parameters with complete schema documentation and an output schema, the description covers the remaining decision-relevant context: when to use it, when to use swap_link, what to confirm with the user, and what to relay from the response. Nothing critical for correct invocation 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?

The input schema has 100% parameter description coverage, so the heavy lifting is already done there. The description adds workflow context around parameters (quote first, validate address) but does not introduce new field-level meaning beyond what the schema provides. Baseline 3 is appropriate.

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 states a specific verb and resource: 'Create a real swap order and return the deposit address.' It clearly distinguishes itself from the sibling swap_link by noting this version creates a real order that exists in support, can expire, and locks a fixed rate. An agent can immediately tell this apart from quote_swap and validate_address.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit workflow guidance: quote first, validate the recipient address, confirm both amount and address with the user, and only call this after explicit approval. It also names the alternative tool swap_link with the exact condition to prefer it, and instructs relaying the executor name from the response.

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.

TDQS

A4.6/5.0
Disambiguation5/5

Each tool targets a distinct stage or resource: asset discovery, quoting, validation, order creation, link generation, and status tracking. Even the overlapping swap-related tools are clearly separated by whether they compute, create, or hand off to the user.

Naming Consistency4/5

Most names follow a clear verb_noun pattern: list_assets, get_asset, quote_swap, create_swap, check_swap_status, validate_address. swap_link is the one outlier, as it reads as a noun rather than an action, slightly breaking the otherwise consistent pattern.

Tool Count5/5

Seven tools is well-scoped for a swap-focused exchange API. Each tool covers an essential part of the workflow without redundancy or bloat.

Completeness5/5

The set covers the full swap workflow: discover assets, get asset details, quote with rates and limits, validate recipient addresses, create or link a swap, and check the resulting order status. No critical missing operation is apparent for the stated purpose.

Resources