Skip to main content
Glama

Osmosis MCP Server

MIT License

estimate-swap

Calculate token swap outcomes on Osmosis blockchain by specifying pool ID, input and output tokens, and swap amount. Ideal for precise transaction planning.

Instructions

Estimates the result of a token swap

Input Schema

NameRequiredDescriptionDefault
amountYesAmount to swap
poolIdYesThe ID of the liquidity pool
tokenInYesInput token denomination
tokenOutYesOutput token denomination

Input Schema (JSON Schema)

{ "properties": { "amount": { "description": "Amount to swap", "type": "string" }, "poolId": { "description": "The ID of the liquidity pool", "type": "string" }, "tokenIn": { "description": "Input token denomination", "type": "string" }, "tokenOut": { "description": "Output token denomination", "type": "string" } }, "required": [ "poolId", "tokenIn", "tokenOut", "amount" ], "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/MyronKoch-dev/osmosis-mcp-server'

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