Skip to main content
Glama

market_get_dex_volume

Read-onlyIdempotent

Retrieve 24-hour trading volume for decentralized exchanges from DefiLlama. Get ranked DEX volumes with daily and total figures, filterable by chain or protocol.

Instructions

Fetch 24-hour trading volume data for decentralized exchanges from DefiLlama. Returns a ranked list of DEXes with their daily and total volume figures.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoFilter by chain name
protocolNoFilter by protocol name
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior. The description adds useful context about the data source (DefiLlama), the ranking of results, and the specific volume figures included, which are not present in the annotations. No contradictions found.

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

Conciseness5/5

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

The description is two sentences, front-loading the main action and output format. Every word contributes to understanding the tool's purpose, with no unnecessary filler.

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 simple read-only tool with two optional filters and no output schema, the description adequately specifies the return value (ranked list with daily and total volume) and the data source. It doesn't cover edge cases like unfiltered requests, but given the tool's low complexity, this is sufficient.

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?

Both parameters (chain and protocol) are fully described in the schema with clear descriptions. The tool description doesn't add additional parameter semantics beyond what the schema already provides, so the baseline of 3 applies given 100% schema coverage.

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?

The description clearly states the tool fetches 24-hour trading volume data for decentralized exchanges from DefiLlama, specifying it returns a ranked list with daily and total volume figures. This distinguishes it from sibling tools like market_get_exchange_rankings or market_get_cex_fund_flows.

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?

The description implies usage for DEX volume data but does not explicitly state when to use this tool over alternatives or mention exclusions. It provides context (source and metrics) but lacks direct guidance on choosing between this and similar market tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Apegurus/web3agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server