Skip to main content
Glama

SiteCheck Crypto & Finance

Current total value locked of one DeFi protocol

crypto_defillama_tvl_oracle
Read-only

Current total value locked (TVL, USD) of one DeFi protocol from DefiLlama, by protocol slug (e.g. aave, uniswap-v3). Returns the single current TVL number only; chain breakdown and history are not included. Related tools on this server, for a different need: crypto_defillama_yields when you need DeFi pool APY, TVL, 7/30-day APY change; crypto_defillama_stablecoins when you need stablecoin market cap, 1/7/30-day circulating change, peg. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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

Input Schema

NameRequiredDescriptionDefault
protocolYesDefiLlama protocol slug, lowercase letters, digits and dashes

Output Schema

NameRequiredDescriptionDefault
sourceNo
tvlUsdNo
protocolNo
checkedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered; the description adds genuinely non-structured behavior: a $0.002 per-call price, x402/USDC payment across multiple chains, and that failed calls are not charged. That billing detail materially affects invocation decisions. It stops short of describing freshness/caching of the TVL figure, which for a 'current' metric is the one behavioral trait still missing.

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 metric and scope, then exclusions, then alternatives, then price — a sensible order with no filler. The pricing sentence is long and could be trimmed, but each clause (cost, payment rail, failed-call policy) carries distinct information.

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?

For a one-parameter read tool with an output schema, everything an agent needs is present: what it returns, what it does not return, which sibling to prefer for other needs, the identifier format, and the cost model. Nothing essential is deferred to the schema or left to inference.

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% and already specifies the slug grammar, so the baseline is 3. The description goes slightly beyond by supplying real slug examples (aave, uniswap-v3), which concretely anchor the format an agent should pass. No further syntax, case-sensitivity caveats, or slug-resolution behavior is added.

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 metric, unit and scope ("Current total value locked (TVL, USD) of one DeFi protocol from DefiLlama") and pins the identifier format with concrete examples (aave, uniswap-v3). It also bounds the result ("single current TVL number only"), so the agent can distinguish it from aggregate or history-style tools without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly rules out adjacent needs ("chain breakdown and history are not included") and routes to named alternatives with their conditions: crypto_defillama_yields for APY/TVL-change work, crypto_defillama_stablecoins for stablecoin supply and peg. It never states the positive rule ("use this when you want a protocol's current TVL"), but that is strongly implied by the purpose sentence.

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