Skip to main content
Glama

Saros MCP Server

swap_quote

Calculate token exchange details including price impact, fees, and minimum output amount with slippage tolerance for informed trading decisions.

Instructions

Get swap quote for token exchange including price impact, fees, and minimum output amount with slippage.

Input Schema

NameRequiredDescriptionDefault
amountYesAmount to swap (in token decimals)
fromMintYesSource token mint address
poolAddressYesPool address for the swap
slippageNoSlippage tolerance (0-100, default 0.5)
toMintYesDestination token mint address

Input Schema (JSON Schema)

{ "properties": { "amount": { "description": "Amount to swap (in token decimals)", "type": "number" }, "fromMint": { "description": "Source token mint address", "type": "string" }, "poolAddress": { "description": "Pool address for the swap", "type": "string" }, "slippage": { "default": 0.5, "description": "Slippage tolerance (0-100, default 0.5)", "type": "number" }, "toMint": { "description": "Destination token mint address", "type": "string" } }, "required": [ "poolAddress", "fromMint", "toMint", "amount" ], "type": "object" }

Other Tools from Saros 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/Pavilion-devs/saros-mcp-server'

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