Skip to main content
Glama

DEX token and pair data

dex_token
Read-only

Fetch near-live on-chain token market data across 80+ chains and DEXes, including price, liquidity, volume, buys/sells, market cap, and pair age by name, ticker, or contract address.

Instructions

Near-live (up to 60 s old) on-chain market data for tokens on 80+ chains and DEXes (Uniswap, Raydium, PancakeSwap, Aerodrome...): price, liquidity, 24h volume, buys vs sells, market cap and pair age. Search by name/ticker or look up a contract address. Costs $0.001 per call.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dex_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoChain to look on with an address, e.g. "base", "ethereum", "solana", "bsc". Default: all.
limitNoNumber of pairs. Default 5, most liquid first.
queryNoToken name or ticker, e.g. "PEPE". Use this or address.
addressNoToken contract address (EVM 0x... or Solana mint).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With readOnlyHint already declaring the safety profile, the description adds genuinely useful context beyond annotations: data freshness (up to 60 s stale), the 80+ chain scope, named DEX integrations, and a per-call cost of $0.001. Cost disclosure is particularly valuable for an agent deciding whether to call repeatedly. Doesn't cover rate limits or failure behavior, so not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences with zero filler: coverage and freshness first, then fields, then lookup modes, then price. Every clause conveys information an agent needs before calling.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Enumerating the returned fields effectively substitutes for the absent output schema, and the read-only annotation plus cost note cover the operational picture for a zero-required-parameter lookup tool. Only edge behavior (no matches, invalid address) is left unaddressed, which is a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with examples, defaults, and max values for all four parameters, so the schema carries the semantics. The description only restates that query and address are alternative lookup paths, adding no syntax or disambiguation detail (e.g., what happens if both are supplied) beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific resource (on-chain market data for tokens across 80+ DEXes) and enumerates the payload fields: price, liquidity, 24h volume, buys vs sells, market cap, pair age. The two retrieval modes (name/ticker vs contract address) are stated. It does not explicitly differentiate itself from sibling tools like token_report, token_security, or crypto_price, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies when to use it via 'Search by name/ticker or look up a contract address,' giving the two entry paths. However, there is no explicit when-not guidance and no comparison against the closely named siblings (token_report, token_security, crypto_price, defi_tvl), leaving the agent to infer which token tool to pick.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.