Skip to main content
Glama

DeFi Trading Agent MCP Server

by edkdev

get_token_price

Fetch real-time token prices, market caps, 24-hour volumes, and price changes by contract addresses across multiple blockchains using the CoinGecko API. Supports Ethereum, Binance Smart Chain, Polygon, and more for DeFi trading analysis.

Instructions

Get token prices by contract addresses using CoinGecko API

Input Schema

NameRequiredDescriptionDefault
addressesYesToken contract addresses, comma-separated for multiple tokens
include_24hr_price_changeNoInclude 24hr price change (optional)
include_24hr_volNoInclude 24hr volume (optional)
include_market_capNoInclude market capitalization (optional)
include_total_reserve_in_usdNoInclude total reserve in USD (optional)
mcap_fdv_fallbackNoReturn FDV if market cap is not available (optional)
networkYesNetwork ID (e.g., 'eth', 'bsc', 'polygon_pos')

Input Schema (JSON Schema)

{ "properties": { "addresses": { "description": "Token contract addresses, comma-separated for multiple tokens", "type": "string" }, "include_24hr_price_change": { "description": "Include 24hr price change (optional)", "type": "boolean" }, "include_24hr_vol": { "description": "Include 24hr volume (optional)", "type": "boolean" }, "include_market_cap": { "description": "Include market capitalization (optional)", "type": "boolean" }, "include_total_reserve_in_usd": { "description": "Include total reserve in USD (optional)", "type": "boolean" }, "mcap_fdv_fallback": { "description": "Return FDV if market cap is not available (optional)", "type": "boolean" }, "network": { "description": "Network ID (e.g., 'eth', 'bsc', 'polygon_pos')", "type": "string" } }, "required": [ "network", "addresses" ], "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