Skip to main content
Glama
Ethereum MCP
by ETHCF

get_protocol_tvl

Retrieve the total value locked (TVL) for a specified DeFi protocol, such as Aave, Uniswap, or Lido, to assess its on-chain liquidity and scale.

Instructions

Get TVL for a specific DeFi protocol (e.g., 'aave', 'uniswap', 'lido')

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

Input Schema

NameRequiredDescriptionDefault
protocolYesProtocol name (e.g., 'aave', 'uniswap', 'lido')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it says nothing about the unit or currency of the returned TVL, its recency (latest snapshot vs. any timestamp), or what happens for an unknown protocol name. For a read tool this is a modest but real gap; only the read-only nature is implied by the verb 'Get'.

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 wasted clauses; the resource and scope appear immediately. Minor redundancy: the example list duplicates the input schema's parameter description verbatim.

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?

With one required parameter, high schema coverage, and no output schema, the definition is close to adequate, but it omits what the number represents (USD-denominated TVL), its freshness, and failure behavior for invalid protocol names. These are the few things the structured fields cannot convey.

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?

There is a single parameter with 100% schema description coverage, and the parameter description already gives the same examples ('aave', 'uniswap', 'lido') that the tool description repeats. The description adds no new meaning such as slug casing, whether names or slugs are accepted, or error behavior for unrecognized names, 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 ('Get') and a specific resource ('TVL') scoped to 'a specific DeFi protocol', which is clearly distinct from chain-level or historical TVL work. It does not, however, name or contrast itself with the existing siblings get_chain_tvl or get_historical_tvl, so the differentiation is only implicit.

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 phrase 'for a specific DeFi protocol' implies the use case (protocol-level aggregate TVL rather than chain or time-series), but there is no explicit when-to-use, when-not-to-use, or named alternative. An agent must infer the boundary with get_chain_tvl and get_historical_tvl from the description's wording alone.

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