Skip to main content
Glama

MAD Synapse · Chain

Chain TVL

chain_tvl
Read-onlyIdempotent

Total value locked on every blockchain right now, ranked — or one chain's daily TVL history. DefiLlama chain TVL. Without "chain": ranking of all chains with token symbol. With "chain": daily TVL history for up to 365 days plus 7 d / 30 d / 90 d change. When to use: For chain-level TVL; for protocols use defi_rankings. Price: free. Errors: returns isError with a message for invalid input or an upstream failure (not charged).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoDays of daily TVL history (only when a single chain is requested). Range 7-365. Default 90.
chainNoe.g. Solana, Ethereum, Base (optional)
limitNoHow many chains to return in the ranking. Range 1-200. Default 30.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rankNo
chainNo
historyNo
tvl_usdNo
change_7d_pctNo
change_30d_pctNo
change_90d_pctNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the bar is lower. The description still adds real behavioral context: pricing ('free') and error semantics ('returns isError... not charged'), plus what the two modes return. It does not discuss pagination or rate limits, but the mode behavior and charge model are useful additions.

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 dual behavior before the DefiLlama attribution and usage routing. Dense and mostly waste-free, though the attribution line ('DefiLlama chain TVL') is mildly redundant with the opening sentence.

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

Completeness5/5

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

Covers the two operating modes, the parameters that switch them, pricing, and error behavior, and an output schema exists so return values need no explanation. An agent has everything needed to invoke this 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?

Schema coverage is 100%, so baseline is 3. The description goes beyond it by mapping the 'chain' parameter to an output mode, explaining that 'days' yields up to 365 days of history plus 7d/30d/90d change metrics, and clarifying the ranking scope. Only 'limit' semantics are left entirely to the schema.

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 a specific resource and scope: total value locked per chain, ranked, or a single chain's daily history. It explicitly distinguishes itself from defi_rankings (protocols) and from other TVL tools, so an agent can pick it without opening the schema.

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?

Gives explicit mode-selection rules ('Without "chain": ranking... With "chain": daily TVL history') and names the alternative for a different use case ('for protocols use defi_rankings'). Nothing about when to use it versus alternatives is left to inference.

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