Skip to main content
Glama

swap_create

Create a non-custodial cross-chain swap order. 3 providers: changenow (1288+ assets, returns payinAddress), simpleswap (400+ assets, returns payinAddress), heleket (XMR-optimised 5-6 conf, returns redirectUrl to payment page). Omit provider for auto-select.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesDestination asset ticker (e.g. xmr, btc, sol)
fromYesSource asset ticker (e.g. sol, btc, eth, usdt)
toNetNoDestination network override
amountYesAmount to send
addressYesDestination address to receive swapped funds
fromNetNoSource network override (e.g. arbitrum, base, tron)
providerNochangenow=1288+ assets; simpleswap=400+ assets; heleket=XMR-optimised payment page
refundAddressNoOptional refund address for failed swaps

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations indicate mutation (readOnlyHint=false) and non-destructive (destructiveHint=false). The description adds provider-specific return details (payinAddress vs redirectUrl), which goes beyond annotations.

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?

Two sentences with no wasted words. The main purpose is front-loaded, and every phrase adds value.

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?

No output schema exists, but the description explains return types for each provider. It covers all required parameters indirectly and mentions optional refundAddress. For a multi-provider cross-chain swap tool, it is sufficiently complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds meaningful context for the provider parameter (enum values with asset counts and return types), elevating the score.

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 clearly states 'Create a non-custodial cross-chain swap order' and provides specific details about three providers, distinguishing it from sibling tools like evm_swap or sol_swap.

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 guidance on when to use each provider (e.g., heleket for XMR-optimised, changenow for broad asset coverage) and notes that omitting provider triggers auto-select. It does not explicitly exclude use cases, but the sibling tool list implies this is for cross-chain swaps.

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