Skip to main content
Glama

protocol_tvl

Rounded TVL for one DeFi protocol by its DeFiLlama slug (e.g. "aave-v3", "uniswap-v3", "aerodrome"). The exact figure is a paid lookup.

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": {
      "protocol": "<protocol>"
    },
    "name": "protocol_tvl"
  }
}

Input Schema

NameRequiredDescriptionDefault
protocolYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two real behavioral traits: the returned value is rounded and precision is gated behind a paid lookup. It does not mention error behavior for unknown slugs, freshness/update cadence of the data, or whether a missing protocol returns an empty result or a failure.

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?

Two short sentences, front-loaded with the core operation and followed by the pricing caveat. No filler, no restatement of the tool name, and the examples are packed inline rather than in a separate sentence.

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?

An output schema exists, so return-value shape needs no explanation, and the description covers identity, input format, and the rounding limitation. What is missing is modest but real: behavior on unrecognized slugs and whether the TVL spans all chains or a default chain.

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 description coverage is 0% for the single 'protocol' parameter, so the description must compensate, and it does: it names the argument's accepted format (DeFiLlama slug) and supplies three concrete examples including a hyphenated versioned slug. That is meaningfully more than the schema's bare string type.

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 (TVL) with explicit scope 'one DeFi protocol' and a precise identifier convention (DeFiLlama slug), which implicitly separates it from the chain-level siblings like chain_tvl and base_tvl. It stops short of naming any sibling directly, so an agent must infer the boundary from the words 'one DeFi protocol'.

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?

The line 'The exact figure is a paid lookup' signals when this tool is the cheap option versus a premium lookup, which is genuine usage context. However, there is no explicit statement of when to prefer this over protocol_info, chain_tvl, or base_tvl, and no guidance on what happens with an invalid slug.

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