Skip to main content
Glama

defillama_dex_summary

Read-only

Fetch one DEX protocol volume summary by slug such as uniswap and return total24h, total7d, totalAllTime totals, metadata, and the chain breakdown. Use defillama_dexs to list venues first.

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": {
      "slug": "<slug>"
    },
    "name": "defillama_dex_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesDefiLlama DEX protocol slug, e.g. uniswap.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and idempotentHint=false, so the safety profile is covered. The description adds that only one protocol is returned and that a chain breakdown is included, but it does not explain why the call is non-idempotent (time-varying snapshot data) or what happens with an invalid slug.

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?

Two sentences, front-loaded with the primary action, no filler. The trailing enumeration of return fields (total24h, total7d, totalAllTime, metadata, chain breakdown) is slightly redundant given the tool has an output schema.

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 an output schema present and annotations covering safety, the description need not document return shapes, yet it remains complete enough to call correctly: scope, one required argument, and a discovery path via defillama_dexs. A minor gap is the absence of any note about snapshot freshness or error behavior for unknown slugs.

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 coverage is 100% and the single 'slug' parameter is already documented and exemplified ('e.g. uniswap') in the schema. The description's 'by slug such as uniswap' restates the schema rather than adding format or validation meaning, so the baseline 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?

States a specific verb and resource ('Fetch one DEX protocol volume summary by slug'), names a concrete example, and explicitly distinguishes itself from defillama_dexs, which lists venues rather than returning a single protocol's summary. An agent can tell exactly which tool to pick.

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?

'Use defillama_dexs to list venues first' gives a clear prerequisite and points at the right sibling for slug discovery. It stops short of stating when NOT to use this tool (e.g., for fee or options data, which the siblings defillama_fee_summary/defillama_options_summary cover).

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.