Skip to main content
Glama

protocol_tvl

Total value locked of one DeFi protocol by its DefiLlama slug (aave, uniswap, jupiter, lido...). 0.002 USDC per call via x402.

Input Schema

NameRequiredDescriptionDefault
protocolYesDefiLlama protocol slug, e.g. aave
paymentProofNoPayment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It does disclose a non-obvious behavioral trait — the 0.002 USDC x402 per-call cost — which is genuinely useful. However, it does not explain that the first call returns a 402 challenge (left to the schema), nor does it state that the operation is read-only or describe what the response contains.

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 compact sentences with the resource and identifier front-loaded, followed by the pricing constraint. Nothing is redundant or padded.

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 no output schema, the description should say what comes back — a USD-denominated number for current TVL, whether timestamped, and units. The payment mechanics are covered by the schema, but the return shape and the implicit read-only nature are not addressed.

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 coverage is 100%, so both protocol and paymentProof are already documented, including the full 402 payment flow. The description only repeats the slug examples already present in the schema, adding no new semantics; baseline 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 resource (one DeFi protocol's TVL) and identifies the required identifier (DefiLlama slug) with concrete examples. The phrase 'of one DeFi protocol' implicitly separates it from the chain-level sibling chain_tvl, but that sibling is never named.

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 implied by the resource: call this when you need a protocol's TVL. There is no explicit when-to-use framing, no mention that chain_tvl is the alternative for chain-level TVL, and no guidance on handling the payment handshake beyond what the schema already says.

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.