Skip to main content
Glama

defi_yields

DeFi yield pools across 500+ protocols and 100+ chains, filtered and ranked: APY split into base (fees, interest) and reward tokens, 30-day mean APY, 1/7-day APY change, TVL, impermanent-loss risk and DefiLlama's trend prediction, plus flags such as mostly-reward-tokens, above-30d-average or falling-7d. Filter by chain, token symbol, project, stablecoin-only, no IL, min TVL and max APY; sort by APY, TVL or base APY. Pools of $1M+ TVL, refreshed every 2 hours. Costs $0.003 USDC on Base via x402.

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
sortNoOrder (default apy)
chainNoChain: Base, Ethereum, Arbitrum, Solana... (default all)
limitNoPools returned, 1-50 (default 20)
no_ilNotrue: pools without impermanent-loss risk only
symbolNoToken in the pool: USDC, ETH, WBTC... (matches whole parts of USDC-WETH)
max_apyNoLeave out pools above this APY % (default 1000)
min_tvlNoMinimum TVL in USD (default and floor 1000000)
projectNoDefiLlama project slug: aave-v3, morpho-blue, pendle...
stablecoinNotrue: stablecoin pools only
include_outliersNotrue: keep DefiLlama's statistical outliers

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does so well: it discloses the $1M+ TVL data floor, a 2-hour refresh cadence, DefiLlama outlier handling via include_outliers, and an explicit price of $0.003 USDC on Base via x402. That cost and payment context is exactly the operational detail annotations would otherwise supply. It does not state result ordering guarantees or whether the read is idempotent, but for a paid read endpoint this is substantial disclosure.

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?

Two dense sentences that front-load the resource, then the returned fields, then the filters and the commercial terms. Nearly every clause carries information; the field enumeration is long but necessary given there is no output schema. Minor redundancy between the ranked-fields list and the sort options, but no filler.

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?

This is a 10-parameter tool with no output schema, so the description must describe both filters and returns, and it does: APY split into base and rewards, 30-day mean, 1/7-day change, TVL, impermanent-loss risk, trend prediction and boolean flags. Combined with freshness, data floor, pricing and defaults, an agent knows enough to invoke it and interpret results without further context.

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 every parameter already has its own description and enum values, setting the baseline at 3. The description groups the filters into a readable set and restates the sort options, but adds little beyond what the schema already says, and the default values (apy, 20, 1000, 1000000) are already documented there. It clarifies the overall filter surface without teaching new parameter semantics.

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 and scope: DeFi yield pools across 500+ protocols and 100+ chains, with per-pool ranking and filtering. An agent can tell this is a yield-discovery tool rather than a pool-creation or chain-specific query tool. It stops just short of a crisp verb-plus-resource phrasing and never explicitly contrasts itself with a sibling, so it is clear but not maximally differentiated.

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?

Usage is implied through the filter list (chain, symbol, project, stablecoin-only, no IL, min TVL, max APY) rather than stated as a when-to-use rule. There is no explicit exclusion such as when to prefer a chain-specific alternative or a general market tool, and no prerequisite guidance beyond the cost note. An agent can infer the appropriate scenario but must do the reasoning itself.

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