Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

get_protocol_tvl

Read-onlyIdempotent

Retrieve a protocol or chain's total value locked with 1-day and 7-day change, plus its chain breakdown or largest protocols, from cached DefiLlama data.

Instructions

chainpeek: Get protocol or chain TVL with 1d and 7d change. For fees and revenue use get_protocol_fees; for DEX volume use get_dex_volume. Returns the TVL of a protocol or chain with 1d and 7d change, the protocol's chains or the chain's largest protocols, or the largest chains and protocols, from Tanod's cache of DefiLlama data. Cached DefiLlama data (refreshed every few hours), never live; as_of shows its age; an unknown name is a 422 with suggestions and a missing or over-2-day-old cache a 503 (neither charged). Informational only. Typically under 1 s (a local cache read). Price: USD 0.004. Free: 10 chain reads per IP per UTC day. Docs: https://tanod.dev/learn/defi-data-api.html

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_protocol_tvl"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoChain name, e.g. Ethereum, Base, Solana, BSC, Arbitrum (common aliases such as bnb and eth work). With protocol: that protocol's TVL on the chain. Alone: the chain and its largest protocols.
limitNoRows in a ranking or a breakdown.
protocolNoProtocol name or slug, e.g. aave, uniswap-v3, lido (a parent such as aave sums its versions). Omit for a chain or the overview. An unknown name is a 422 with suggestions.

Output Schema

NameRequiredDescriptionDefault
noteNo
as_ofNo
chainNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
scopeNo
staleNo
reasonNo
sourceNo
protocolNo
top_chainsNo
other_matchesNo
top_protocolsNo
cache_age_hoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive/openWorld, and the description goes well beyond them: cached DefiLlama data refreshed every few hours and never live, `as_of` exposing staleness, 422 on unknown names with suggestions, 503 on missing or stale cache, neither charged, sub-second latency, and the price. This is exactly the extra context an agent needs before calling.

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 action and siblings, then operational details, so all sentences earn their place. There is mild redundancy between the opening 'Get protocol or chain TVL with 1d and 7d change' and the later 'Returns the TVL of a protocol or chain with 1d and 7d change', plus the compressed run-on listing of return shapes.

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?

An output schema exists, so return values need no explanation, and the description still covers caching freshness, error codes, cost, rate limits, and latency. Nothing an agent needs to decide whether to call or to interpret a failure is missing.

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 the baseline is 3; the description adds value by explaining the combinations — protocol alone yields the protocol's chains, chain alone yields the chain and its largest protocols, neither yields the overview with largest chains and protocols. It does not address `limit` semantics in the prose, but the schema documents that.

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 verb and resource (get TVL for a protocol or chain with 1d/7d change) and distinguishes itself from siblings by naming get_protocol_fees for fees/revenue and get_dex_volume for DEX volume. The agent can route correctly without opening any 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?

Explicitly tells when to use other tools instead ('For fees and revenue use get_protocol_fees; for DEX volume use get_dex_volume'), establishing both when-to-use and when-not-to-use. The inclusion of the free tier and the informational-only caveat further frames appropriate use.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools