Skip to main content
Glama

Realtap

Swap plan with every fee (no trade is made)

plan_swap
Read-onlyIdempotent

Plan a swap the way Realtap's own router places it: one order, or the amount split over several pools of Minswap V2, SundaeSwap V3 and WingRiders V2, with the expected and the minimum amount received at the given slippage, every fee in ADA (DEX batcher fees, interface fee, network fee), the refundable deposit, the price impact (percent) and the result net of fees. More exact than get_swap_quote (integer pool maths, fees included) but limited to those three DEXes. Nothing is built or signed: a person executes the plan at swapUrl; an agent that signs with its own key calls build_swap_transaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesAmount of tokenIn to sell, decimal-adjusted (100 = 100 ADA when tokenIn is ADA).
tokenInYesWhat is sold: a token unit, or "lovelace" / "ADA" for ADA.
tokenOutYesWhat is bought: a token unit, or "lovelace" / "ADA" for ADA.
maxOrdersNoMost orders the amount may be split over (1 = a single order).
slippagePctNoHow far the price may move against the trade before an order must not execute, in percent (1 = 1 %).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources