Skip to main content
Glama

DeFi TVL and DEX Volume

defi_tvl
Read-only

DeFi data from DefiLlama in four modes. protocol: TVL, 1d/7d change, category, market cap and chain breakdown of a protocol (slug or name, e.g. aave, uniswap, lido). top: largest protocols by TVL, optional category (e.g. Lending, Dexs, Liquid Staking) and chain filter. chains: chains ranked by TVL with share. dex_volume: 24h/7d/30d DEX volume and top DEXes, optionally for one chain. Params: mode (protocol, top, chains, dex_volume; default top, or protocol if protocol is given), protocol, category, chain, limit (1 to 50, default 10). Price: $0.002 USDC per call, paid inside this MCP call via x402 (USDC on Base, Solana, Polygon or Arbitrum). x402 MCP clients such as @x402/mcp pay automatically. Free sample: call with the example input {"mode":"protocol","protocol":"aave"}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo
chainNoChain name, e.g. Base, Ethereum (modes top, dex_volume)
limitNo
categoryNoDefiLlama category (mode top)
protocolNoProtocol slug or name (mode protocol)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already carry readOnly/openWorld/non-destructive, but the description adds critical non-annotation behavior: a $0.002 USDC per-call cost, the x402 payment rails (Base, Solana, Polygon, Arbitrum), and that x402 MCP clients pay automatically. That payment disclosure is exactly the kind of context annotations cannot express. It stops at 4 because error/rate-limit behavior and failure modes are not addressed.

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 mode breakdown, then params, then pricing, and the free-sample call at the end is a practical touch. It is a dense single block rather than bulleted, which slightly hurts scannability, but every sentence carries information.

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?

With no output schema, the description correctly picks up the burden by describing what each mode returns (TVL plus 1d/7d change, category, market cap, chain breakdown; volume windows and top DEXes). Combined with full param coverage and payment details, an agent has enough to call it correctly.

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?

With only 60% schema coverage, the description compensates well: it explains all four mode values, gives concrete examples for protocol ('aave, uniswap, lido'), category, and chain, restates the limit range, and clarifies the non-obvious default logic. It adds real meaning beyond the enum-only schema for mode.

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?

States a specific verb+resource ('DeFi data from DefiLlama') and enumerates the four distinct data products (protocol TVL, top protocols, chain rankings, DEX volume), so an agent knows exactly what it returns. It does not, however, name or contrast with the closest sibling defi_yields, so it stops short of full sibling differentiation.

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?

Each mode is given a use case and example filters ('category (e.g. Lending, Dexs...)', 'optionally for one chain'), and the default-selection rule ('default top, or protocol if protocol is given') tells the agent how to invoke it without specifying mode. There is no explicit when-not-to-use or pointer to a sibling like defi_yields.

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