Skip to main content
Glama

chain_tvl

TVL preview for any chain by name (e.g. "Ethereum", "Solana", "Arbitrum"): its TVL rank and a rounded TVL. Exact figures are a paid lookup. Source: DeFiLlama.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "<chain>"
    },
    "name": "chain_tvl"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: the output is a preview containing a rank and a rounded value, precision is deliberately limited, and the data source is DeFiLlama. It omits what happens for an unrecognized chain name or any rate/credit limits, but the precision limitation is the key trait an agent needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence covering purpose, output shape, examples, and the paid-lookup caveat, followed by two short attributive clauses. Nothing is redundant and the most decision-relevant information comes first.

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?

For a single-parameter lookup with an output schema already defined, the description supplies enough context to call it correctly and to know the values are rounded. The only real gap is failure behavior for an invalid chain name, which is minor at this complexity.

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 0% for the single required 'chain' parameter, so the description must compensate, and it does by specifying that the value is a chain name and giving three concrete examples spanning different ecosystems. It still leaves casing/alias conventions and unknown-name behavior unspecified.

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 resource (chain TVL) and scope (any chain, by name), plus what comes back: TVL rank and a rounded TVL. It implicitly separates itself from protocol-level and list-level siblings by insisting on a single chain by name, but never names an alternative explicitly.

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?

Gives a real usage constraint — this is a free preview with rounded values, and exact figures require a paid lookup — which tells the agent when the tool is sufficient and when it is not. It offers no guidance on choosing between this and sibling tools such as base_tvl, protocol_tvl, or top_chains_tvl.

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