Skip to main content
Glama

Beggar Bot

yield_by_chain

DeFi yield aggregated by chain: pool count, TVL, TVL-weighted APY, stablecoin TVL share, project count and best pool (DefiLlama). 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": "yield_by_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNotvl|apy|pools
limitNorows
min_tvlNomin TVL USD (1M)
stablecoinNotrue|false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose two valuable facts: the data source (DefiLlama) and that the call is paid at $0.02 USDC via x402. It says nothing about pagination, default sort/limit behavior, or what happens when min_tvl excludes all rows.

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?

Two short sentences with zero filler; the aggregation scope and output fields are front-loaded, with the payment note following as secondary detail. Every clause contributes information.

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 read-only aggregation tool with four optional params and no output schema, the description is nearly sufficient: it names the metrics returned and flags the payment requirement. It falls short only on pagination/defaults, which an agent would need to call correctly.

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 all four optional parameters are already documented in the schema; baseline 3 applies. The description's metric list loosely maps to the sort options (tvl, apy, pools) but adds no format or unit detail beyond what the schema provides.

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 verb+resource: DeFi yield aggregated by chain, then enumerates the returned metrics (pool count, TVL, TVL-weighted APY, stablecoin share, project count, best pool). The 'by chain' grouping implicitly distinguishes it from yield_by_project, but the description never names that sibling explicitly.

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?

No when-to-use or when-not guidance is given beyond the implicit 'by chain' aggregation framing. There is no mention of when to prefer yield_by_project, yield_pools, or yield_risk_adjusted, and no stated prerequisites for the aggregation.

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.