Skip to main content
Glama

Rank DefiLlama yield pools

defi-intelligence_pools_yields
Read-onlyIdempotent

Highest-yield DeFi pools from the public DefiLlama yields API, filterable by chain, project, symbol, stablecoin flag, and min TVL. Docs: https://www.brainiac.software/api/defi-intelligence/pools-yields Keywords: defi yield, APY, yield pools, TVL, DefiLlama, highest yield, base APY, reward APY, chain filter, project filter, stablecoin, min TVL, ranked pools, delayed series.

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

Input Schema

NameRequiredDescriptionDefault
chainNochain, string, length 1 to 100. Optional.
limitNolimit, integer, from 1 to 25. Required.
sortByNosortBy, string, one of apy, tvl. Required.apy
symbolNosymbol, string, length 1 to 40. Optional.
projectNoproject, string, length 1 to 100. Optional.
minTvlUsdNominTvlUsd, number, from 0 to any. Required.
stablecoinNostablecoin, boolean. Optional.

Output Schema

NameRequiredDescriptionDefault
dataNodata. Object.
statusNostatus. String.
sourcesNosources. Array.
progressNoprogress. Object.
nextCursorNonextCursor. Null.
limitationsNolimitations. Array.
missing_itemsNomissing_items. Array.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • removedOutput schema / properties / asOf
      Removed value: -{
      -  "description": "asOf. String.",
      -  "type": "string"
      -}
    • addedOutput schema / properties / data
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "data. Object.",
      +  "properties": {
      +    "asOf": {
      +      "description": "asOf. String.",
      +      "type": "string"
      +    },
      +    "limitation": {
      +      "description": "limitation. String.",
      +      "type": "string"
      +    },
      +    "pools": {
      +      "description": "pools. Array.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "item. Object.",
      +        "properties": {
      +          "apy": {
      +            "description": "apy. Number.",
      +            "type": "number"
      +          },
      +          "apyBase": {
      +            "description": "apyBase. Number.",
      +            "type": "number"
      +          },
      +          "apyReward": {
      +            "description": "apyReward. Null.",
      +            "type": "null"
      +          },
      +          "chain": {
      +            "description": "chain. String.",
      +            "type": "string"
      +          },
      +          "pool": {
      +            "description": "pool. String.",
      +            "type": "string"
      +          },
      +          "project": {
      +            "description": "project. String.",
      +            "type": "string"
      +          },
      +          "stablecoin": {
      +            "description": "stablecoin. Boolean.",
      +            "type": "boolean"
      +          },
      +          "symbol": {
      +            "description": "symbol. String.",
      +            "type": "string"
      +          },
      +          "tvlUsd": {
      +            "description": "tvlUsd. Number.",
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "sourceUrl": {
      +      "description": "sourceUrl. String.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • removedOutput schema / properties / limitation
      Removed value: -{
      -  "description": "limitation. String.",
      -  "type": "string"
      -}
    • addedOutput schema / properties / limitations
      Added value: +{
      +  "description": "limitations. Array.",
      +  "items": {
      +    "description": "Item. String.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / nextCursor
      Added value: +{
      +  "description": "nextCursor. Null.",
      +  "type": "null"
      +}
    • removedOutput schema / properties / pools
      Removed value: -{
      -  "description": "pools. Array.",
      -  "items": {
      -    "additionalProperties": {},
      -    "description": "item. Object.",
      -    "properties": {
      -      "apy": {
      -        "description": "apy. Number.",
      -        "type": "number"
      -      },
      -      "apyBase": {
      -        "description": "apyBase. Number.",
      -        "type": "number"
      -      },
      -      "apyReward": {
      -        "description": "apyReward. Null.",
      -        "type": "null"
      -      },
      -      "chain": {
      -        "description": "chain. String.",
      -        "type": "string"
      -      },
      -      "pool": {
      -        "description": "pool. String.",
      -        "type": "string"
      -      },
      -      "project": {
      -        "description": "project. String.",
      -        "type": "string"
      -      },
      -      "stablecoin": {
      -        "description": "stablecoin. Boolean.",
      -        "type": "boolean"
      -      },
      -      "symbol": {
      -        "description": "symbol. String.",
      -        "type": "string"
      -      },
      -      "tvlUsd": {
      -        "description": "tvlUsd. Number.",
      -        "type": "number"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / progress
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "progress. Object.",
      +  "properties": {
      +    "processed": {
      +      "description": "processed. Number.",
      +      "type": "number"
      +    },
      +    "scannedRange": {
      +      "description": "scannedRange. Null.",
      +      "type": "null"
      +    },
      +    "total": {
      +      "description": "total. Null.",
      +      "type": "null"
      +    },
      +    "unit": {
      +      "description": "unit. String.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • removedOutput schema / properties / source
      Removed value: -{
      -  "description": "source. String.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / sourceUrl
      Removed value: -{
      -  "description": "sourceUrl. String.",
      -  "type": "string"
      -}
    • addedOutput schema / properties / sources
      Added value: +{
      +  "description": "sources. Array.",
      +  "items": {
      +    "description": "Item. String.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so safety is covered. The description adds the data source and the keyword tag 'delayed series,' hinting at data staleness, but does not elaborate on caching, rate limits, or what happens when filters match nothing.

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 substantive content is front-loaded in one dense sentence covering source and filters. The trailing docs link and keyword list are padding that doesn't add actionable meaning, though they are compact.

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?

An output schema exists, so return values needn't be explained, and annotations carry the safety profile. However, for a 7-parameter ranking tool with an enum sort option and a 'delayed series' caveat, the description leaves filter semantics and data freshness under-explained.

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 coverage is 100%, so the schema already documents each parameter's type, bounds, and defaults. The description's filter enumeration (chain, project, symbol, stablecoin, min TVL) maps to the schema but adds no syntax, matching behavior, or examples beyond it. Baseline 3 is appropriate.

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?

States a specific verb (rank) and resource (DeFi yield pools) with the data source (DefiLlama yields API) and filterable dimensions. It distinguishes itself from siblings like chains_tvl and protocols_search, though it doesn't explicitly name them as alternatives.

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?

Implies usage via the filter list and 'highest-yield' framing, but gives no explicit when-to-use/when-not guidance or direction to sibling tools for chain TVL or protocol profiles. The agent must infer that this tool is for pool-level APY ranking.

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