Skip to main content
Glama

MCPFax Macro & Market Intelligence

DeFi yield pools

defi_yields
Read-onlyIdempotent

Screen DefiLlama's yield-pool universe by chain, project, token symbol, minimum TVL and stablecoin-only, ranked by APY, returning each pool's stable pool_id, chain, project, symbol, TVL in USD, total/base/reward APY, 30-day mean APY, impermanent-loss risk and exposure. Use it to find where a given asset earns yield. An unpublished APY stays null, never zero. Costs $0.008 USDC per call via x402 on Base; an unpaid call returns the payment challenge instead of data, and a call that returns no data is never settled so it costs nothing. Equivalent HTTP route: GET /defi/yields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoOnly pools on this chain Example: 'Base'.
limitNoHow many to return, 1-100 (default 20) Example: '20'.
symbolNoToken symbol substring Example: 'USDC'.
projectNoOnly pools from this DefiLlama project Example: 'aave-v3'.
min_tvl_usdNoMinimum pool TVL in USD (default 1000000) Example: '1000000'.
stablecoin_onlyNoOnly stablecoin pools Example: 'true'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / chain / examples
      Added value: +[
      +  "Base"
      +]
    • addedInput schema / properties / limit / examples
      Added value: +[
      +  20
      +]
    • addedInput schema / properties / min_tvl_usd / examples
      Added value: +[
      +  1000000
      +]
    • addedInput schema / properties / project / examples
      Added value: +[
      +  "aave-v3"
      +]
    • addedInput schema / properties / stablecoin_only / examples
      Added value: +[
      +  true
      +]
    • addedInput schema / properties / symbol / examples
      Added value: +[
      +  "USDC"
      +]
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already indicate readOnly, idempotent, and non-destructive behavior. The description adds valuable behavioral detail beyond that, including the $0.008 USDC cost via x402, the payment-challenge response for unpaid calls, the no-settlement-when-no-data rule, and the null-never-zero APY convention. This is strong transparency for a paid API.

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?

The description is front-loaded with the core purpose and filters, then covers output fields, use case, APY null semantics, cost/payment behavior, and an HTTP equivalent. Every sentence adds useful information without padding or repetition.

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?

Despite having no output schema, the description lists the returned fields (pool_id, chain, project, symbol, TVL, APYs, IL risk, exposure). It also covers payment behavior and the no-data cost rule, making it complete enough for an agent to invoke the tool and interpret results correctly.

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?

The input schema already documents all six parameters at 100% coverage, so the schema carries the parameter definition burden. The description reinforces the filter categories (chain, project, symbol, min TVL, stablecoin-only) and adds the ranking-by-APY context, but it does not add much meaning beyond what the schema already provides.

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 description states a specific action ('Screen DefiLlama's yield-pool universe') with explicit filters and output fields, so an agent knows exactly what the tool does. It is clearly distinct from siblings like defi_protocols or defi_chains because it focuses on yield pools and APY ranking.

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?

The description provides a clear use case: 'Use it to find where a given asset earns yield.' It does not explicitly name alternative tools or give when-not-to-use guidance, but the context is specific enough for an agent to select it appropriately among the siblings.

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