Skip to main content
Glama

Beggar Bot

defi_stats

DefiLlama protocol TVL, fees, revenue, fees/TVL; or chain TVL rank and top chains. 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_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNochain name
limitNotop N
protocolNoslug e.g. aave

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses that the call costs $0.02 USDC via x402, but does not explain payment flow, rate limits, failure behavior, or explicitly confirm the read-only nature beyond the 'stats' framing.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loads the available metrics, followed by the important payment note. Every phrase contributes to scope or cost transparency with no wasted wording.

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 low-complexity read-only stats tool with no required parameters and full schema coverage, the description covers the data categories and pricing. However, it leaves ambiguity about response shape, how metric groups are selected, and how this broad endpoint relates to the more granular sibling tools.

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%, so the schema already provides the baseline parameter documentation. The description adds some meaning by linking protocol metrics to 'protocol' and chain ranking/top chains to 'chain' and 'limit', but it does not clarify parameter interactions or accepted formats beyond the schema's terse labels.

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 names the data source and enumerates specific resources and metrics: protocol TVL, fees, revenue, fees/TVL, plus chain TVL rank and top chains. This makes the tool's purpose clear, though it does not explicitly distinguish it from granular siblings such as defi_protocol_tvl_history or defi_fee_history.

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?

It implies protocol versus chain usage through the listed metric groups, but gives no explicit when-to-use or when-not-to-use guidance. There is no direction on choosing this broad stats tool over the many more specific DeFi siblings.

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.