Skip to main content
Glama

Agent Data Tools: Full list (every tool as its own definition)

DeFi pool APY history

defi_yield_history
Read-only

Daily APY and TVL history of one DeFi pool (a poolId from /defi/yields or a DefiLlama pool URL): up to 365 days with APY base and reward, plus the average, min, max and latest APY over the window. Source: DefiLlama. Use to check whether a yield is steady or a short spike before an agent deposits. Not investment advice. Example: pool=747c1d2a-c668-4682-b9f9-296708a3dd90. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "pool": "<pool>"
    },
    "name": "defi_yield_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoDays of history (1-365, default 30)
poolYesDefiLlama pool id (UUID) or pool URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.