Skip to main content
Glama

DeFi Trading Agent MCP Server

by edkdev

get_top_pools_by_token

Identify top liquidity pools for a specific token by contract address. Filter by network, include token attributes, and sort by volume or transaction count for precise DeFi trading decisions.

Instructions

Get top pools for a specific token by contract address

Input Schema

NameRequiredDescriptionDefault
includeNoAttributes to include: 'base_token', 'quote_token', 'dex' (comma-separated)
networkYesNetwork ID (e.g., 'eth', 'bsc', 'polygon_pos')
pageNoPage number for pagination (optional, default: 1)
sortNoSort by: 'h24_volume_usd_liquidity_desc', 'h24_tx_count_desc', 'h24_volume_usd_desc' (optional, default: 'h24_volume_usd_liquidity_desc')
tokenAddressYesToken contract address

Input Schema (JSON Schema)

{ "properties": { "include": { "description": "Attributes to include: 'base_token', 'quote_token', 'dex' (comma-separated)", "type": "string" }, "network": { "description": "Network ID (e.g., 'eth', 'bsc', 'polygon_pos')", "type": "string" }, "page": { "description": "Page number for pagination (optional, default: 1)", "type": "integer" }, "sort": { "description": "Sort by: 'h24_volume_usd_liquidity_desc', 'h24_tx_count_desc', 'h24_volume_usd_desc' (optional, default: 'h24_volume_usd_liquidity_desc')", "enum": [ "h24_volume_usd_liquidity_desc", "h24_tx_count_desc", "h24_volume_usd_desc" ], "type": "string" }, "tokenAddress": { "description": "Token contract address", "type": "string" } }, "required": [ "network", "tokenAddress" ], "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