Skip to main content
Glama

Beggar Bot

defi_treasury_revenue

DeFi protocol treasury revenue leaderboard (DefiLlama dailyProtocolRevenue): 24h/7d/30d/1y USD and period changes, optional chain. 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_treasury_revenue"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNochain name (all)
limitNorows (50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely important trait: the call costs $0.02 USDC via x402, which tells the agent this is a paid endpoint requiring a payment flow. It also reveals the data provenance and metric windows. It says nothing about ordering, row shape, rate limits, or whether the payment is per-call or metered, so the disclosure is partial.

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 clause, with the core identity and metrics front-loaded ahead of the cost note. No filler, though the parenthetical source name and the abbreviated time windows make it slightly denser than it needs to be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-optional-parameter read tool with no output schema and no annotations, the description covers the essentials: what is ranked, which periods, which currency, and the access cost. It omits sort direction, default limit behavior, and whether results are per-protocol aggregated, which leaves real ambiguity about the return payload.

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 both parameters already carry inline descriptions ('chain name (all)', 'rows (50)'), so the schema does the heavy lifting. The description adds only that chain is optional, which is already implicit from the empty required array; it does not clarify the limit's type (declared as string) or maximum.

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 concrete resource (DeFi protocol treasury revenue leaderboard), names the underlying source (DefiLlama dailyProtocolRevenue), and enumerates the metrics returned (24h/7d/30d/1y USD plus period changes). It does not distinguish itself from near-neighbors like protocol_revenue or holders_revenue, so an agent cannot tell from this text alone why it should pick this over those.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no named alternative among the fee/revenue siblings. 'Leaderboard' weakly implies a ranked cross-protocol comparison use case, but the agent must infer that rather than being told.

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.