Skip to main content
Glama

Beggar Bot

yield_for_token

Where to earn yield on a token: all DefiLlama pools for an underlying token address or symbol, TVL-weighted APY, chains, sorted by APY or TVL. 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_for_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoapy|tvl
chainNochain
limitNorows (25)
tokenNoaddress or symbol
min_tvlNomin TVL USD (1M)
projectNoproject slug
stablecoinNotrue|false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the load. It usefully discloses the data source (DefiLlama), the APY weighting methodology, and the paid cost ($0.02 USDC via x402), but says nothing about result size, ordering defaults, or what happens on an unknown token.

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?

One dense sentence, front-loaded with the resource and data source, followed by sorting and payment details. Nothing is wasted, though the phrasing 'Where to earn yield on a token: all DefiLlama pools...' is slightly fragmented.

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?

Given seven all-optional parameters, full schema coverage, and no output schema, the description covers purpose, source, sizing/sorting behavior, and the payment model sufficiently for an agent to call it. Return shape remains unclear but is partly outside the description's job.

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%, so the terse schema field descriptions already document all seven parameters; the description only reinforces that the token can be an address or symbol and that sorting is by APY or TVL. That is a marginal addition, so baseline 3 applies.

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 purpose: surfacing DefiLlama yield pools for an underlying token, with TVL-weighted APY and chain info. It clearly differs from siblings like yield_by_chain or yield_by_project by scoping to a single token, though it never names those alternatives explicitly.

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 'for an underlying token address or symbol,' which tells the agent what input shape is expected, but there is no explicit when-to-use vs when-not, and no mention of nearby pool-exploration tools such as yield_pools as alternatives.

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.