Skip to main content
Glama

Osmosis MCP Server

prepare-swap-transaction

Generates an unsigned transaction for swapping tokens on the Osmosis blockchain, specifying pool ID, sender address, input token, minimum output, and slippage tolerance for secure swaps.

Instructions

Prepares an unsigned transaction for token swap

Input Schema

NameRequiredDescriptionDefault
poolIdYesThe ID of the liquidity pool
senderYesThe sender's Osmosis address
slippageToleranceNoSlippage tolerance percentage (e.g., 0.01 for 1%)
tokenInYes
tokenOutMinAmountYesMinimum amount of output token to receive

Input Schema (JSON Schema)

{ "properties": { "poolId": { "description": "The ID of the liquidity pool", "type": "string" }, "sender": { "description": "The sender's Osmosis address", "type": "string" }, "slippageTolerance": { "description": "Slippage tolerance percentage (e.g., 0.01 for 1%)", "type": "number" }, "tokenIn": { "properties": { "amount": { "description": "Amount to swap", "type": "string" }, "denom": { "description": "Input token denomination", "type": "string" } }, "required": [ "denom", "amount" ], "type": "object" }, "tokenOutMinAmount": { "description": "Minimum amount of output token to receive", "type": "string" } }, "required": [ "poolId", "sender", "tokenIn", "tokenOutMinAmount" ], "type": "object" }

Other Tools from Osmosis MCP Server

Related Tools

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/MyronKoch-dev/osmosis-mcp-server'

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