Skip to main content
Glama

DEX token and pair data

dex_token
Read-only

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 (pairs whose base token matches come first) 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. Changed1 schema field changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

With readOnlyHint=true already covering safety, the description adds genuinely useful context the annotations lack: a data-freshness bound (up to 60 s old), coverage breadth (80+ chains and named DEXes), result ordering, and an explicit cost of $0.001 per call. This is real behavioral disclosure, not repetition.

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

Conciseness4/5

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

A single dense sentence that front-loads the freshness and coverage claim before the access modes and the price. Every clause carries information; only the DEX parenthetical list is slightly expendable.

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?

For a read-only, four-parameter lookup with no output schema, the description covers the important ground: what fields come back, how fresh the data is, both query modes, and the per-call cost. Only the when-to-use boundary against sibling token tools is left unstated.

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 coverage is 100%, with each of the four parameters already documented including examples and defaults, so the baseline is 3. The description adds only marginal meaning beyond that — the base-token-first ranking and the two lookup modes — without elaborating on limit ordering or chain behavior when an address is given.

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?

Specific verb and resource: near-live on-chain market data for tokens, with the exact metrics returned (price, liquidity, 24h volume, buys vs sells, market cap, pair age) and the 80+ chain/DEX coverage. It does not, however, differentiate itself from siblings such as token_report or token_security, which sound closely related.

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?

It gives two invocation modes — search by name/ticker or look up a contract address — and notes that base-token matches rank first. But it never states when to choose it over token_report or token_security, nor any exclusions or prerequisites, leaving the agent to infer the boundary.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources