Skip to main content
Glama

Defi Dex Volume

defi_dex_volume
Read-only

A DEX's trading volume for 24 hours, 7 days and 30 days, with the change over the last day and the chains it trades on. Attribution: Data: DefiLlama. Information only, not financial advice. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.

Input Schema

NameRequiredDescriptionDefault
protocolYesDefiLlama protocol slug, e.g. uniswap-v3

Output Schema

NameRequiredDescriptionDefault
chainsNo
sourceNo
volumeNo
protocolNo
checkedAtNo
disclaimerNo
attributionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the per-call price ($0.002 USDC via x402 on Base/Solana/Arc) and, crucially, that failed calls are not charged, which affects invocation risk and retry behavior.

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 core data description is front-loaded in one dense sentence, followed by attribution and pricing. Everything present earns its place, though the attribution/legal boilerplate is slightly less essential than the metric scope.

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?

An output schema exists and the description still summarizes the returned metrics, so return values are well covered. For a one-param read tool with annotations, cost, and attribution stated, the only real gap is sibling differentiation.

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 the single 'protocol' param documented as a DefiLlama slug with an example. The description adds no parameter-level detail beyond the schema, so the baseline 3 applies.

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 (a DEX's trading volume) and specifies the exact metrics returned (24h/7d/30d volume, day-over-day change, chains), which is more specific than a tautology. However, it never distinguishes itself from close siblings like defi_tvl or dex_pools, so an agent must infer the boundary.

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 explicit when-to-use or when-not-to-use guidance, and no alternatives are named. The metric list implies it is the tool for DEX volume data, but the agent gets no help choosing it over defi_tvl or dex_pools.

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