Skip to main content
Glama

dex_token_data

Read-only

$0.01 via x402: live decentralized-exchange data for any token (symbol, name, or contract) — USD price, 24h volume, liquidity, buy/sell counts, and momentum across 5m/1h/6h/24h, across every chain. For crypto trading, sniping, and research agents. Live from Dexscreener.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "dex_token_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesToken symbol, name, or contract address
x_paymentNosigned x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / x_payment / description
      Added value: +"signed x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms"
  2. Added
  3. Removed
  4. Added
  5. Removed
  6. Added
  7. Removed
  8. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true and openWorldHint=true, and the description is consistent with that while adding real value beyond them: a concrete cost ($0.01 via x402), the payment handshake requirement, that data is live from Dexscreener, and that coverage spans every chain. It omits rate limits, failure modes when a token is unknown, and freshness/latency guarantees, so it is not exhaustive.

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?

The pricing and data payload are front-loaded in the first sentence, followed by a short audience note and provenance. Three sentences with little waste, though the mid-sentence metric list is dense and "Live from Dexscreener" partially repeats the earlier "live" claim.

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?

With no output schema, the description carries the return-value burden and discharges it by enumerating the metrics and time windows returned. Combined with the explanation of the paid-call flow, an agent has enough to invoke this correctly; only edge behavior (invalid token, payment rejection, rate limits) is unaddressed.

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%, so both q and x_payment are already documented, and the description's restatement of "symbol, name, or contract" duplicates q's schema text. The one addition of substance is the protocol hint that x_payment is the X-PAYMENT value for terms returned by a prior call, which is why this sits at the baseline rather than below it.

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?

The description names the resource precisely (live DEX data for any token identified by symbol, name, or contract) and enumerates exactly what comes back: USD price, 24h volume, liquidity, buy/sell counts, and momentum over 5m/1h/6h/24h. It does not name any sibling tool or state how it differs from chain_token_identity or chain_token_supply, which keeps it 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 Guidelines4/5

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

It gives clear context for when to reach for it ("crypto trading, sniping, and research agents") and, importantly, explains the two-step call flow: omit x_payment to get the price and terms, then supply the signed payload. It does not state when NOT to use it or point to an alternative for identity/supply questions, so it stops short of explicit routing.

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.