Skip to main content
Glama

Beggar Bot

yearn_vaults

Yearn vaults on a chain: asset, TVL, net APR, fees, price per share, risk level; filter by asset, sort by apr/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": "yearn_vaults"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNosort
assetNoasset
chainNochain
limitNolimit
min_tvlNomin_tvl

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/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 two genuinely valuable traits: the output fields and the paid access model ($0.02 USDC via x402). It omits read-only confirmation, pagination/limit behavior, and default chain handling, which for a payment-gated query tool are notable gaps but less critical than the pricing disclosure.

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?

It is a single front-loaded sentence listing outputs and then filters, followed by the payment note — no filler. The heavy use of semicolon-delimited fragments makes it dense but still parseable, and nothing is repeated.

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 5-parameter, no-output-schema, no-annotation tool, the description does compensate by enumerating return fields and access cost. However, it leaves default behavior (chain, limit) and result-set size undefined, which an agent needs to call it correctly without surprises.

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 nominally 100%, but every param description is just a restatement of the name ("sort", "asset", "chain"), so the schema adds little. The prose contributes real meaning by specifying allowed sort keys (apr/tvl) and that asset is a filter, though it says nothing about limit units, min_tvl formatting, or whether chain is required.

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 specific resource (Yearn vaults) and enumerates the returned fields (asset, TVL, net APR, fees, price per share, risk level), which makes the operation unambiguous. It implicitly differentiates from siblings like beefy_vaults or morpho_vaults by naming the protocol, but never states the operation verb (list/query) 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?

It hints at usage ("filter by asset, sort by apr/tvl") so an agent can infer how to narrow results, but there is no when-to-use vs. when-not guidance and no pointer to alternative vault tools for other protocols or for transaction-building (yearn_vault_tx).

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.