Skip to main content
Glama

DEX volumes

dex_volumes
Read-only

Fetch DEX trading volume by protocol for 24h, 7d, or 30d and market totals, optionally filtered by chain and limit, to compare decentralized exchange activity.

Instructions

DEX trading volume by protocol (24h/7d/30d) plus market totals (DefiLlama nightly).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNo
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-data traits are covered. The description usefully adds the data source and refresh cadence ('DefiLlama nightly'), which tells the agent the data may be up to a day stale — genuine context beyond the annotations. It does not describe pagination, sorting, or the shape of the response.

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 compact sentence with the resource front-loaded and the time windows and source appended. No filler, though the parenthetical source note is somewhat compressed.

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

Completeness3/5

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

No output schema exists, so the description should ideally describe return structure, and it does convey the metrics included (24h/7d/30d plus market totals). However, the undocumented chain and limit parameters leave a real gap for a two-parameter query tool.

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

Parameters2/5

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

Both parameters (chain, limit) have 0% schema description coverage, so the description carries the full burden and fails: it never mentions that results can be scoped by chain or capped by limit, nor what 'limit' bounds (protocols vs rows). An agent would have to guess the semantics of both arguments.

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?

States a specific resource (DEX trading volume), the dimensions returned (24h/7d/30d), the aggregation level (by protocol plus market totals), and the upstream source. An agent can tell this is a volume-metrics lookup, though it does not explicitly distinguish itself from siblings like top_defi_protocols or protocol_fees.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus the many adjacent DeFi-metrics siblings (top_defi_protocols, chains_tvl, protocol_fees). No prerequisites, no exclusions, no routing cues — the agent must infer selection from the name alone.

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