Skip to main content
Glama

MCP-ODOS

by IQAIcom

ODOS_GET_QUOTE

Retrieve a token swap quote for decentralized exchanges, specifying blockchain, input/output tokens, and amount, with optional formatting for clarity.

Instructions

Get a quote for a swap or exchange operation

Input Schema

NameRequiredDescriptionDefault
amountYesThe amount of tokens to swap, in wei.
chainNoThe blockchain network to execute the transaction on. uses fraxtal as defaultfraxtal
fromTokenYesThe token to swap from (address).
prettyFormatNoWhether to pretty format the quote.
toTokenYesThe token to swap to (address).

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "amount": { "description": "The amount of tokens to swap, in wei.", "pattern": "^\\d+$", "type": "string" }, "chain": { "default": "fraxtal", "description": "The blockchain network to execute the transaction on. uses fraxtal as default", "type": "string" }, "fromToken": { "description": "The token to swap from (address).", "type": "string" }, "prettyFormat": { "default": true, "description": "Whether to pretty format the quote.", "type": "boolean" }, "toToken": { "description": "The token to swap to (address).", "type": "string" } }, "required": [ "fromToken", "toToken", "amount" ], "type": "object" }

Other Tools from MCP-ODOS

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/IQAIcom/mcp-odos'

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