Skip to main content
Glama

DeFiLlama TVL & Stablecoins MCP

Get blockchain TVL rankings

get_chain_tvl_rankings
Read-onlyIdempotent

Rank blockchain networks by Total Value Locked and percentage share across DeFi.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum chains to return (default 25).
queryNoOptional chain name or native token symbol filter (e.g. "Ethereum", "SOL", "Base").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so safety is fully covered. The description adds nothing further: it does not state sort direction (highest or lowest TVL first), tie-breaking, data freshness/caching, or how 'percentage share' is computed.

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?

A single front-loaded sentence with no filler; the ranking metric appears immediately. It is efficient but so terse that sizing is arguably under-specified rather than optimally sized.

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

Completeness3/5

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

This is a simple two-optional-parameter read tool, but with no output schema the description should explain what the ranked entries contain (rank, chain, TVL value, share) and in what order. It hints at those metrics but leaves return shape and ordering unspecified.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters (limit with min/max and default, query with example chain/token values) are already fully documented. The description adds no syntax or behavioral detail about how the optional name/token filter interacts with rankings, so the baseline of 3 applies.

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 and resource ('Rank blockchain networks') plus the ranking metric ('Total Value Locked and percentage share'), which separates it from protocol-level siblings like get_protocol_tvl and list_top_protocols. It does not name an alternative explicitly, so it falls short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool for a chain-level TVL leaderboard. There is no statement of when to choose it over get_protocol_tvl or list_top_protocols, and no prerequisites or exclusions are given.

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.