Skip to main content
Glama

Osmosis MCP Server

prepare-exit-pool

Generate an unsigned transaction to exit a liquidity pool on Osmosis by specifying the pool ID, sender address, LP shares amount, and minimum token outputs.

Instructions

Prepares an unsigned transaction to exit a pool

Input Schema

NameRequiredDescriptionDefault
poolIdYesThe ID of the liquidity pool
senderYesThe sender's Osmosis address
shareInAmountYesAmount of LP shares to redeem
tokenOutMinsYesMinimum amounts of each 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" }, "shareInAmount": { "description": "Amount of LP shares to redeem", "type": "string" }, "tokenOutMins": { "description": "Minimum amounts of each token to receive", "items": { "properties": { "amount": { "description": "Minimum amount to receive", "type": "string" }, "denom": { "description": "Token denomination", "type": "string" } }, "required": [ "denom", "amount" ], "type": "object" }, "type": "array" } }, "required": [ "poolId", "sender", "shareInAmount", "tokenOutMins" ], "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