Skip to main content
Glama

defillama_fee_summary

Read-only

Fetch one protocol fee and revenue summary by slug and return per-metric totals, methodology, audit fields, and 24h/7d/all-time values, optionally for one data_type such as dailyHoldersRevenue. Use defillama_fees to list protocols 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_fee_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesDefiLlama protocol slug, e.g. uniswap.
data_typeNoFee metric: dailyFees, dailyRevenue, dailyHoldersRevenue, dailyProtocolRevenue, dailyUserFees, dailySupplySideRevenue, dailyBribesRevenue, dailyTokenTaxes, dailyAppFees, or dailyAppRevenue.

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 safety and freshness behavior is covered. The description adds useful scope behavior — one protocol per call, single-metric narrowing via data_type — but says nothing about rate limits, missing-data behavior, or whether methodology/audit fields can be null. With annotations doing the heavy lifting, this is additive but modest.

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 packed sentence, front-loaded with the verb and resource, followed by the sibling routing hint. It is efficient, though the enumeration of return fields is somewhat redundant given an output schema exists, costing a little tightness.

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 2-parameter read-only lookup with a full output schema and full annotation coverage, the description supplies what an agent needs to call it correctly: the key, the optional filter, and the discovery prerequisite. Listing return fields duplicates the output schema rather than adding missing information, but nothing essential is absent.

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%: slug's format and the full data_type enumeration are already documented in the schema. The description only restates that data_type is optional and gives one example value (dailyHoldersRevenue), which is marginal added meaning over the structured field. Baseline 3 applies when the schema carries the semantics.

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 protocol fee and revenue summary by slug') plus the exact payload shape returned (per-metric totals, methodology, audit fields, 24h/7d/all-time values). It also distinguishes itself from the sibling list tool by scoping to a single protocol, so an agent can tell it apart from defillama_fees without opening either schema.

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?

Explicitly routes the agent: 'Use defillama_fees to list protocols first,' which gives both the prerequisite step and the alternative for discovery. It stops short of stating when NOT to use this tool (e.g., for chain-level or DEX-level metrics covered by other summary siblings), so it is clear context rather than a full decision tree.

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.