Skip to main content
Glama

Cross-chain DeFi real-yield & liquidity matrix

get_defi_yield_pools
Read-onlyIdempotent

Screen real-yield DeFi liquidity pools across Aave, Aerodrome, Uniswap and more, filtering by chain, asset and minimum TVL to rank pools by APY, base yield and rewards.

Instructions

Screen real-yield DeFi liquidity pools across Aave, Aerodrome, Uniswap, and other protocols. Pass optional chain (default base; use all for multi-chain pools >= $5M TVL), asset filter (e.g. USDC, WETH), and min_tvl_usd. Returns ranked pools[] with project, symbol, apy, apy_base, apy_reward, and tvl_usd. Do not use for prediction markets (use get_polymarket_markets) or token security checks (use check_evm_token_risk). 1 free try per IP, then HTTP 402 ($0.005 USDC).

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

Input Schema

NameRequiredDescriptionDefault
chainNoTarget chain (e.g. 'base', 'ethereum', 'arbitrum', 'solana', or 'all')base
timeout_msNoOptional deadline in ms. If the local LLM would exceed it, the response comes back fast with "degraded": true and non-LLM/cached data
session_tokenNoOptional prepaid x402s_... session token from open_agent_session or https://apix402data.com/pay used after the 1 free try rolls over to HTTP 402.

Output Schema

NameRequiredDescriptionDefault
chainNo
poolsNo
cachedNo
degradedNo
endpointNo
pool_countNo
min_tvl_usdNo
schema_versionNo
average_net_apyNo
strategic_adviceNo
top_opportunity_poolNo
risk_adjusted_rankingsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv5.6.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, and non-destructive behavior, so the description does not need to restate safety. It adds important non-annotation behavior: one free try per IP, then HTTP 402 at $0.005 USDC, plus the $5M TVL threshold for chain='all'. It does not explain session-token auth flow, but the schema documents that parameter.

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 description is front-loaded and reasonably compact, moving from purpose to filters to return shape to exclusions and pricing. It has minor redundancy by listing return fields despite an output schema, and the nonexistent parameter mentions reduce clarity, but the structure itself is efficient.

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?

The tool has an output schema, so the return-field list is optional, and annotations cover safety. The description covers purpose, alternatives, return shape, and payment/rate-limit behavior, but it references `asset` and `min_tvl_usd` as if they were valid parameters when they are absent from the schema. That gap can directly lead an agent to make invalid calls.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline would be 3. The description adds useful meaning for chain='all' with a >= $5M TVL threshold, but it also tells callers to pass `asset` and `min_tvl_usd`, which are not in the schema and would be rejected because additionalProperties is false. That makes part of the parameter guidance actively incorrect.

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 verb and resource: 'Screen real-yield DeFi liquidity pools' across named protocols Aave, Aerodrome, and Uniswap. It also distinguishes the tool from adjacent sibling categories by explicitly excluding prediction markets and token security checks.

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 when-not-to-use guidance and names the alternatives: use get_polymarket_markets for prediction markets and check_evm_token_risk for token security checks. The first sentence also makes the intended screening use case clear.

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