Skip to main content
Glama

SiteCheck Crypto & Finance

DeFi pool APY, TVL, 7/30-day APY change

crypto_defillama_yields
Read-only

DeFi pool APY (total, base, reward), TVL, 7/30-day APY change and impermanent-loss estimate (il7d, ilRisk) from DefiLlama. Filter by project, chain and symbol; returns up to 20 pools by TVL. APY is DefiLlama's estimate, not a guaranteed return. Related tools on this server, for a different need: crypto_defillama_stablecoins when you need stablecoin market cap, 1/7/30-day circulating change, peg; crypto_defillama_tvl_oracle when you need current total value locked of one DeFi protocol. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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

Input Schema

NameRequiredDescriptionDefault
chainNoChain name as DefiLlama writes it, e.g. Ethereum, Base, Arbitrum
symbolNoToken symbol or pair text, e.g. USDC or WETH-USDC
projectNoDefiLlama project slug, e.g. aave-v3, curve-dex, uniswap-v3

Output Schema

NameRequiredDescriptionDefault
countNo
poolsNo
sourceNo
checkedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint it discloses the result cap (up to 20 pools, ranked by TVL), a data-quality caveat (APY is an estimate, not a guaranteed return), and the billing model ($0.002 per successful call via x402, failures not charged). Those are exactly the traits an agent needs before deciding to spend a paid call.

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?

Front-loaded with the returned fields, then filters, then the APY caveat, then sibling routing and price — a sensible ordering with no filler sentences. The sibling-routing clause is dense but each clause carries distinct routing value, so it stops just short of being verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return shape need not be described, and the description still covers scope, filters, result cap, data caveat, cost, and alternatives. Nothing material for correct invocation is missing.

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% and each parameter already carries an example, so the baseline is 3. The description only restates that project, chain and symbol act as filters and that results are ranked by TVL; it does not clarify combination semantics (AND vs. any) or whether omitting all filters returns the global top 20.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence names a specific resource (DeFi pools) and enumerates exactly what is returned: total/base/reward APY, TVL, 7/30-day APY change, and il7d/ilRisk. It also states the data source (DefiLlama) and differentiates itself from two named siblings, so an agent can separate it from crypto_defillama_tvl_oracle and crypto_defillama_stablecoins without opening any schema.

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

Usage Guidelines5/5

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

It gives explicit routing: use crypto_defillama_stablecoins for stablecoin market cap/peg and crypto_defillama_tvl_oracle for a single protocol's TVL, each tied to the need that selects it. It also states the operating context (filter by project/chain/symbol, capped at 20 pools by TVL), leaving little to inference.

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.

Resources