Skip to main content
Glama

Osmosis MCP Server

MIT License

get-pool-spot-price

Retrieve the current spot price between two tokens in a specified liquidity pool on Osmosis, using pool ID and asset denominations to fetch precise exchange rate data.

Instructions

Returns the current spot price between two tokens in a pool

Input Schema

NameRequiredDescriptionDefault
baseAssetDenomYesThe base asset denomination
poolIdYesThe ID of the liquidity pool
quoteAssetDenomYesThe quote asset denomination

Input Schema (JSON Schema)

{ "properties": { "baseAssetDenom": { "description": "The base asset denomination", "type": "string" }, "poolId": { "description": "The ID of the liquidity pool", "type": "string" }, "quoteAssetDenom": { "description": "The quote asset denomination", "type": "string" } }, "required": [ "poolId", "baseAssetDenom", "quoteAssetDenom" ], "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