Skip to main content
Glama

DeFi Trading Agent MCP Server

by edkdev

get_gasless_price

Calculate the indicative price for gasless token swaps across multiple blockchains, enabling fee-free trading by specifying chain IDs, token addresses, and trade amounts.

Instructions

Get indicative price for a gasless token swap (no gas fees required)

Input Schema

NameRequiredDescriptionDefault
buyTokenYesContract address of token to buy
chainIdYesBlockchain ID (e.g., 8453 for Base)
sellAmountYesAmount of sellToken in base units
sellTokenYesContract address of token to sell
slippageBpsNoMaximum acceptable slippage in basis points (optional, min: 30)
takerNoAddress executing the trade (optional)

Input Schema (JSON Schema)

{ "properties": { "buyToken": { "description": "Contract address of token to buy", "type": "string" }, "chainId": { "description": "Blockchain ID (e.g., 8453 for Base)", "type": "integer" }, "sellAmount": { "description": "Amount of sellToken in base units", "type": "string" }, "sellToken": { "description": "Contract address of token to sell", "type": "string" }, "slippageBps": { "description": "Maximum acceptable slippage in basis points (optional, min: 30)", "type": "integer" }, "taker": { "description": "Address executing the trade (optional)", "type": "string" } }, "required": [ "chainId", "buyToken", "sellToken", "sellAmount" ], "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/edkdev/defi-trading-mcp'

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