Skip to main content
Glama

defi fees

defi_fees
Read-only

What crypto protocols earn: daily fees or revenue (type=revenue) for every protocol and chain, ranked, or one protocol's 24h / 7d / 30d / all-time totals. Fundamental data for valuing tokens. Costs $0.003 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNofees (default) or revenue
chainNo
limitNo
protocolNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=true, openWorldHint=true), so the description's job is to add beyond that, and it does: it discloses a concrete per-call cost of $0.003 USDC via x402, a real behavioral constraint an agent must account for. It does not mention rate limits, pagination, or the response envelope, keeping it below 5.

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 dense sentences plus a short cost line, with the core purpose front-loaded and no filler. The time-window enumeration (24h / 7d / 30d / all-time) is slightly list-heavy but informative rather than wasteful.

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 no output schema, the description carries the return-value burden and does so reasonably: it describes what is returned (fees or revenue, ranked, or per-protocol totals over four windows). Missing pagination/limit behavior and any mention of response format, so not fully complete for a 4-parameter tool.

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 only 25% (only 'type' is documented), so the description must compensate. It clarifies type=revenue and maps the two query modes onto the protocol/chain/limit parameters implicitly, but limit and chain are never explained and no format or default details are added beyond the schema.

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 states a specific resource (protocol fees/revenue) and the two query modes (ranked list across protocols/chains vs. a single protocol's time-window totals), which clearly distinguishes it from data siblings like defi_tvl, defi_dexs, and defi_yields. It does not name any sibling explicitly, so it stops short of a 5.

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 two modes are implied by the wording ('for every protocol and chain, ranked, or one protocol's totals'), which hints at when each parameter shape applies, and 'fundamental data for valuing tokens' gives a use context. But there is no explicit when-to-use vs. alternative guidance or statement of prerequisites.

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