Skip to main content
Glama

Osmosis MCP Server

join-swap-share-amount-out

Calculate the required token amount to join a liquidity pool and receive exact LP shares, ensuring precise asset allocation on the Osmosis blockchain.

Instructions

Join pool by specifying exact LP shares to receive

Input Schema

NameRequiredDescriptionDefault
gasNoGas limit (default: auto-estimate)
gasPriceNoGas price (default: 0.025uosmo)
memoNoTransaction memo
mnemonicYesBIP-39 mnemonic phrase for signing the transaction
poolIdYesPool ID to join
shareOutAmountYesExact LP shares to receive
tokenInDenomYesDenomination of token to swap in
tokenInMaxAmountYesMaximum token amount to swap in

Input Schema (JSON Schema)

{ "properties": { "gas": { "description": "Gas limit (default: auto-estimate)", "type": "string" }, "gasPrice": { "description": "Gas price (default: 0.025uosmo)", "type": "string" }, "memo": { "description": "Transaction memo", "type": "string" }, "mnemonic": { "description": "BIP-39 mnemonic phrase for signing the transaction", "type": "string" }, "poolId": { "description": "Pool ID to join", "type": "string" }, "shareOutAmount": { "description": "Exact LP shares to receive", "type": "string" }, "tokenInDenom": { "description": "Denomination of token to swap in", "type": "string" }, "tokenInMaxAmount": { "description": "Maximum token amount to swap in", "type": "string" } }, "required": [ "mnemonic", "poolId", "tokenInDenom", "shareOutAmount", "tokenInMaxAmount" ], "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