Skip to main content
Glama

SwapEazi

On-chain dollar liquidity at a ticket size

onchain_liquidity
Read-only

Finds where a stablecoin payment of this size can be filled on-chain, and at what cost: for USDC and USDT (and ZARP, cNGN as to_asset), executable depth and cost at the amount on Ethereum, Tron, Solana, Base, BNB Chain, Arbitrum and Polygon, from keyless DEX aggregator quotes (KyberSwap, ParaSwap, Jupiter): price impact against a USD 100 quote, cost against par with gas and stated fees, and each network's published time to finality. Bridge cost and time between chains from Across, Circle CCTP and LI.FI. Each chain's network fee model (EIP-1559 base fee plus tip, BNB gas price, Solana's fixed fee plus priority fee, Tron energy; HyperEVM labelled unconfirmed) with the fee for one transfer in USD and in bps of the ticket, and its 24-hour range from stored reads. The hourly reads at USD 10k, 100k, 1m and 5m for the pair, each with its age. With destination (two-letter country), the documented facts on whether suppliers there take stablecoins directly (not established where we hold no source) and the off-ramp venues SwapEazi reads in its currency. Every figure has its source, time and a Rate Receipt; each failure keeps its reason. Figures, not advice; never ranked. SwapEazi never holds or moves money and never asks for a wallet signature. Same as GET/POST /api/v1/onchain-liquidity. Free within the daily allowance.

Input Schema

NameRequiredDescriptionDefault
amountYesThe ticket in US dollars (dollar stablecoins at par).
chainsNoAny of ethereum, tron, solana, base, bsc, arbitrum, polygon. Default all.
to_assetNoUSDC, USDT, ZARP or cNGN (ZAR and NGN map to ZARP and cNGN). Default: the other dollar coin.
access_keyNoA router key (rk_...), if not sent as a Bearer header: shows exchange and P2P venue names in the destination block.
from_assetNoUSDC or USDT. Default USDC.
destinationNoOptional supplier country, two letters (e.g. HK, CN, AE, NG, ZA, KE).

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?

Beyond readOnlyHint and openWorldHint, the description discloses the data provenance (KyberSwap, ParaSwap, Jupiter, Across, Circle CCTP, LI.FI), keyless access, that every figure carries a source, time and Rate Receipt, that failures retain their reason, that figures are never ranked, and the free daily allowance. It also states the no-custody and no-signature posture and the access_key gating of venue names, which are meaningful behavioral facts the annotations do not carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded, but the body is a single sprawling paragraph mixing purpose, data sources, fee models, hourly reads, destination behavior, guarantees and billing, several of it in fragment form ('The hourly reads at USD 10k, 100k, 1m and 5m for the pair, each with its age'). Much of it earns its place, yet the lack of structure makes the tool harder to scan than it needs to be.

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?

With no output schema, the description carries the full burden of describing returns, and it does: executable depth and cost, price impact against a USD 100 quote, per-chain fee models with 24-hour ranges, bridge cost and time, hourly reads with age, and destination facts with explicit 'not established' handling. Failure handling and receipt provenance are also covered, leaving nothing an agent needs in order to call it correctly.

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 the schema already documents all six parameters; the description's contribution is marginal but real. It adds conditional meaning for destination (triggers supplier acceptance facts and off-ramp venue reads), for access_key (venue names appear only when a router key is present), and confirms the ZAR/NGN to ZARP/cNGN mapping.

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 opening clause states a specific verb and resource: finding where a stablecoin payment of a given size can be filled on-chain and at what cost, and it enumerates the exact outputs (depth, price impact, network fees, bridge cost, hourly reads, destination facts). It never names a sibling such as check_provider_liquidity, liquidity_map or swapeazi_dex_cost, so differentiation from those tools is left to the agent, but the resource itself is unambiguous.

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 only implied through parameter conditionals: 'With destination (two-letter country), the documented facts on whether suppliers there take stablecoins directly' tells the agent when to supply destination, and the access_key note explains what enabling it changes. There is no explicit statement of when to choose this over check_provider_liquidity, swapeazi_dex_cost or get_corridor_rates, and no exclusions or prerequisites beyond 'Free within the daily allowance'.

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