Skip to main content
Glama

Tapp Exchange MCP Server

by tamago-labs

tapp_swap_clmm

Perform a token swap on a Concentrated Liquidity Market Maker (CLMM) pool using specified input amount, minimum output, direction, and target price. Execute trades efficiently within the Tapp Exchange ecosystem.

Instructions

Execute a swap on a CLMM (Concentrated Liquidity Market Maker) pool

Input Schema

NameRequiredDescriptionDefault
a2bYesDirection of the swap; true for token A to B, false for B to A
amountInYesThe input token amount for the swap
fixedAmountInNoIndicates whether amountIn is fixed (defaults to true)
minAmountOutYesThe minimum acceptable output amount
poolIdYesThe address of the CLMM pool
targetSqrtPriceYesThe target square root price

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "a2b": { "description": "Direction of the swap; true for token A to B, false for B to A", "type": "boolean" }, "amountIn": { "description": "The input token amount for the swap", "type": "number" }, "fixedAmountIn": { "description": "Indicates whether amountIn is fixed (defaults to true)", "type": "boolean" }, "minAmountOut": { "description": "The minimum acceptable output amount", "type": "number" }, "poolId": { "description": "The address of the CLMM pool", "type": "string" }, "targetSqrtPrice": { "description": "The target square root price", "type": "number" } }, "required": [ "poolId", "amountIn", "minAmountOut", "a2b", "targetSqrtPrice" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tamago-labs/tapp-exchange-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server