Skip to main content
Glama

AgentData — crypto market data with a checkable record

get_defi_yields

Top DeFi yields across protocols such as Aave, Compound, Morpho and Pendle, from DefiLlama ($0.003 USDC). Use to compare where stablecoins or majors earn yield. Not a risk assessment of those protocols.

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": "get_defi_yields"
  }
}

Input Schema

NameRequiredDescriptionDefault
paymentNoOptional. Base64 x402 payment payload you signed yourself (ERC-3009 TransferWithAuthorization, USDC on Base). Call without it once to receive the payment requirements, sign those, then call again with this argument. This server forwards the payload and never holds a key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / payment
      Added value: +{
      +  "description": "Optional. Base64 x402 payment payload you signed yourself (ERC-3009 TransferWithAuthorization, USDC on Base). Call without it once to receive the payment requirements, sign those, then call again with this argument. This server forwards the payload and never holds a key.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare openWorldHint and non-destructive behavior; the description adds useful context beyond them by disclosing the cost ($0.003 USDC) and the upstream provider (DefiLlama). However, the material behavioral trait for this tool — that the first call returns x402 payment requirements and a second call with a signed payload is needed — appears only in the schema, not the description, and the annotation readOnlyHint=false is not explained.

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?

Three short sentences: what it returns, when to use it, and what it is not. The identity and source are front-loaded, and no sentence is redundant or padded.

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?

There is no output schema, so the description carries the burden of conveying return shape, yet it only implies APY-style yield data without mentioning fields, sort order, protocol count, or pagination. For a simple zero-required-parameter tool it is adequate, but an agent cannot anticipate the result structure.

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% with a single optional `payment` parameter whose semantics (Base64 x402 ERC-3009 payload, two-step call pattern, server never holds a key) are already fully documented in the schema. The description adds nothing about this parameter, so the 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?

Names a concrete resource and scope ('Top DeFi yields across protocols such as Aave, Compound, Morpho and Pendle') with the data source (DefiLlama), so an agent knows exactly what it returns. It also carves out a boundary ('Not a risk assessment'), which helps distinguish it from risk-oriented siblings such as get_memecoin_risk, though no sibling is named directly.

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

Usage Guidelines4/5

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

'Use to compare where stablecoins or majors earn yield' gives a clear triggering context, and 'Not a risk assessment of those protocols' is an explicit exclusion. It stops short of naming an alternative tool for the excluded use case, so it is strong but not fully routing.

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.