Skip to main content
Glama

Agent Data Hub

DeFi protocol TVL & rankings

crypto_defi_tvl
Read-onlyIdempotent

Total value locked (TVL) for DeFi protocols. Look up one protocol by name/slug (aave, uniswap, lido…) or rank the top protocols, optionally filtered by chain (TVL on that chain) and category (Dexs, Lending, Liquid Staking, Bridge, CDP, Yield, Derivatives, RWA…). Returns tvl_usd, 1d/7d change %, category, chains, top chains by TVL, market cap, website. DefiLlama data, cached 10 min. Price: $0.002 per call (USDC on Base via x402); the first 10 calls per day are free.

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

Input Schema

NameRequiredDescriptionDefault
chainNoOptional chain name, e.g. Ethereum, Base, Solana, Arbitrum
limitNoMax results 1-50 (default 10)
categoryNoOptional category, e.g. Lending, Dexs, Liquid Staking
protocolNoOptional protocol name or slug, e.g. aave, uniswap, lido

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, open-world. Description adds real value: data source (DefiLlama), 10-minute cache, return fields, and unusual pricing/auth detail (x402 USDC payment on Base, 10 free calls/day, $0.002 per call). Missing: behavior when protocol not found, and pagination/limit interaction.

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?

Front-loaded with the core concept, then modes, then return fields, then operational facts. Dense but well organized; the parenthetical category list is long but useful given no enum in schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers purpose, modes, filters, return fields, data freshness, and cost — enough to call correctly without an output schema. Lacks guidance on mutually exclusive behavior when both protocol and limit/ranking are supplied, and on error cases.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; description adds semantic meaning for chain ('TVL on that chain' — a chain-scoped TVL rather than a filter) and enumerates category values beyond the schema examples. limit and protocol semantics largely restated.

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?

States specific verb+resource: TVL lookup and ranking for DeFi protocols, with two modes (single protocol by name/slug, or ranking top protocols) and filtering dimensions. Distinguishes from sibling crypto_chain_tvl by being protocol-level rather than chain-level.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explains the two usage modes (lookup one protocol vs rank top protocols) and how chain/category filters change meaning ('TVL on that chain'). Does not explicitly name alternatives (e.g., use crypto_chain_tvl for overall chain TVL), so differentiation is implied rather than stated.

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