Skip to main content
Glama

Beggar Bot

defi_fee_history

Daily fees, revenue or holder revenue history for one DeFi protocol (DefiLlama): series up to 365d, avg/max, totals and per-chain 30d split. Paid: $0.02 USDC via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "defi_fee_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNodays (30)
typeNodailyFees|dailyRevenue|dailyHoldersRevenue
protocolNoDefiLlama slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does disclose meaningful behavior: data source (DefiLlama), maximum lookback of 365 days, what aggregates are returned (avg/max, totals, 30d per-chain split), and a paid x402 cost of $0.02 USDC. It still omits error behavior for invalid slugs and response format, but the payment and range constraints are unusually helpful.

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 dense sentence plus a short payment note, front-loaded with what the tool returns before the cost caveat. Every clause carries information; only the parenthetical '(DefiLlama)' is arguably redundant with the parameter 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?

For a 3-optional-parameter read tool with no output schema or annotations, the description covers source, time range, returned metrics, and payment requirement. The remaining gap is default behavior when protocol or type is omitted, which is minor.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, and the description adds real constraints beyond the schema: the 365-day cap on the days parameter and the 'one protocol' scoping for the slug, which the schema's bare 'DefiLlama slug' does not convey.

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?

States a specific resource and verb: daily fees/revenue/holder-revenue history for a single DeFi protocol, sourced from DefiLlama. The 'one DeFi protocol' scoping implicitly separates it from category-level or aggregate siblings, though no sibling is named.

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?

Usage is implied by the scoping ('for one DeFi protocol', series up to 365d), but there is no explicit guidance on when to pick this over defi_fee_categories, fee_history, or defi_user_fees, and no stated prerequisites beyond payment.

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.