defi_tvl
Retrieve Total Value Locked for a DeFi protocol or compare top 10 protocols by TVL, including 1h, 1d, and 7d changes, chains, and category.
Instructions
DeFi protocol Total Value Locked from DeFiLlama. Returns top 10 or a specific protocol.
Use when: You need the Total Value Locked in a specific DeFi protocol or want to compare the top protocols by TVL. Not for: you want the best yield for a token — yield_scanner; protocol revenue or custom metrics — dune_query. Returns: tvl, change_1h, change_1d, change_7d, chains[], category for the protocol (or top 10 list) Example response: {"protocol": "aave", "tvl": 23800000000.0, "change_1h": 0.12, "change_1d": -1.43, "change_7d": 3.21, "chains": ["Ethereum", "Polygon", "Avalanche", "Base"], "category": "Lending", "source": "defillama"}
Price: free. Read-only live public data; no API key, nothing signed or spent. Fails with an error message on an unknown symbol or an unreachable upstream source.
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_tvl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protocol | No | Protocol name or slug, e.g. 'uniswap', 'aave', 'lido'. Leave empty for top 10. |