Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

get_dex_volume

Read-onlyIdempotent

Retrieve 24h, 7d, and 30d DEX trading volume by protocol, chain, or market total, with change figures, from cached DefiLlama data.

Instructions

chainpeek: Get DEX volume by protocol and chain. For TVL use get_protocol_tvl. Returns DEX volume over 24 hours, 7 days and 30 days with change: a DEX's chains, a chain's largest DEXs, a DEX on a chain, or the market total and the largest DEXs, from Tanod's cache of DefiLlama data. Cached DefiLlama data (refreshed every few hours), never live; as_of shows its age; chain tables cover the 25 chains with the most volume; an unknown name is a 422 with suggestions and a missing or over-2-day-old cache a 503 (neither charged). Informational only. Typically under 1 s (a local cache read). Price: USD 0.004. Free: 10 chain reads per IP per UTC day. Docs: https://tanod.dev/learn/defi-data-api.html

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": "get_dex_volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoChain name among the 25 chains with the most DEX volume, e.g. Solana, Ethereum, Base, BSC. With protocol: that DEX's volume on the chain. Alone: the chain and its largest DEXs.
limitNoRows in a ranking or a breakdown.
protocolNoDEX name or slug, e.g. uniswap, uniswap-v3, curve-dex, pancakeswap-amm (a parent such as uniswap sums its versions). Omit for a chain or the overview.

Output Schema

NameRequiredDescriptionDefault
noteNo
as_ofNo
chainNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
scopeNo
staleNo
marketNo
reasonNo
sourceNo
protocolNo
other_matchesNo
top_protocolsNo
cache_age_hoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: it discloses that data is cached DefiLlama data refreshed every few hours (never live), that `as_of` exposes staleness, that chain tables cover only the top 25 chains, and that unknown names return a 422 with suggestions while missing/stale cache returns a 503 — with neither charged. Latency (~1 s local cache read), price, and free-tier rate limits are all stated.

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?

Front-loads purpose, then the TVL alternative, then result shapes, then operational caveats — a sensible priority order. It is dense but mostly earns its length; minor redundancy exists between the opening line and the later enumeration of query shapes.

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

Completeness5/5

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

An output schema exists, so return values need no explanation, and the description still covers the remaining unknowns an agent needs: data freshness, chain coverage, error/charging behavior, latency, and cost. Nothing material is missing for a zero-required-parameter read tool.

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 string parameters are already fully documented, including the parent-slug summing behavior that the description repeats. The description's only genuinely additive parameter fact is the 25-chain coverage limit, and it says nothing about `limit` beyond what the schema states, so the baseline of 3 applies.

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

Purpose5/5

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

Opens with a specific verb and resource ('Get DEX volume by protocol and chain') and immediately names the sibling it is not ('For TVL use get_protocol_tvl'). It then enumerates the four query shapes the tool answers, so an agent can distinguish it from get_protocol_tvl or get_dex_price_candles without opening any schema.

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

Usage Guidelines5/5

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

Explicitly routes TVL queries to get_protocol_tvl and explains what each parameter combination returns (protocol alone = a DEX's chains; chain alone = the chain and its largest DEXs; both = a DEX on a chain; neither = market total). That is concrete when-to-use guidance tied to the actual invocation, not vague context.

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

Deploy Server

Other Tools