Skip to main content
Glama

DeFi yields (APY) across chains

defi_yields
Read-only

Find yield opportunities across 15,000+ DeFi pools by chain, protocol, token, or stablecoin. Compare APY, TVL, impermanent-loss risk, and trends to choose where to park USDC or compare lending rates.

Instructions

Best DeFi yields from DefiLlama's 15,000+ pools: filter by chain, protocol, token and stablecoin-only, with APY (base + rewards), 30-day mean, TVL, impermanent-loss risk and a trend outlook. Use it to find where to park USDC or compare lending rates. Costs $0.001 per call.

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_yields"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoDefault apy.
chainNoe.g. "Base", "Ethereum", "Arbitrum", "Solana".
limitNoDefault 20.
symbolNoToken in the pool, e.g. "USDC", "ETH".
projectNoDefiLlama project slug, e.g. "aave-v3", "morpho-blue", "compound-v3".
min_tvl_usdNoSkip pools smaller than this (default 100000).
stablecoins_onlyNoOnly stablecoin pools.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes the safety profile, so the bar is lower. The description still adds real value by disclosing the data source, the presence of derived metrics (30-day mean, IL risk, trend outlook), and a per-call cost of $0.001 — pricing is genuinely useful behavioral context. It does not cover pagination limits or rate limits, keeping it at a solid but not exceptional level.

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?

The definition is front-loaded with the core value proposition and filter capabilities, then closes with use cases and cost. Every sentence carries information; minor marketing flavor ("Best") is the only waste.

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?

With no output schema, the description carries the job of describing returns, and it does so by listing APY (base + rewards), 30-day mean, TVL, IL risk and trend outlook. Cost is disclosed and all parameters are schema-documented, leaving only minor gaps around result ordering and pagination.

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 documents all seven optional parameters, including examples and defaults. The description only restates the filter dimensions already present in the schema and adds no format or behavior detail for any 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?

The description names a specific resource (DeFi yield pools via DefiLlama, 15,000+ pools) and enumerates the filter dimensions and returned metrics, so the agent knows exactly what the tool produces. It does not explicitly contrast itself with the sibling defi_tvl, leaving that differentiation to inference.

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 it to find where to park USDC or compare lending rates" gives concrete usage contexts rather than none. There are no exclusions or named alternatives, so the agent must infer that TVL-only lookups belong to defi_tvl.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.