Skip to main content
Glama

DeFi Trading Agent MCP Server

by edkdev

get_gasless_quote

Obtain a gasless token swap quote with EIP-712 signature data for secure, zero-gas transactions across select blockchains. Input chain ID, token addresses, and sell amount to generate executable quotes for DeFi trades.

Instructions

Get executable quote for a gasless token swap with EIP-712 signature data

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 (required for gasless quotes, uses USER_ADDRESS from env if not provided)

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 (required for gasless quotes, uses USER_ADDRESS from env if not provided)", "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