Skip to main content
Glama

DeFi protocol TVL lookup ($0.001)

lookup_protocol
Read-only

PAID $0.001 USDC. DeFi protocol TVL in USD from our own on-chain reads, per-chain TVL, category and chains (1d/7d change once history builds). Examples: q=aave, q=uniswap. Refreshed about every 30 min. Returns JSON protocol TVL in USD, per-chain TVL, category, and chains.

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": {
      "q": "<q>"
    },
    "name": "lookup_protocol"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesDeFi protocol slug or name. Format: a lowercase slug or a name. Example: aave. Another example already in the tool text: aave-v3. Required.
api_keyNoOptional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment'].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • changedInput schema / properties / q / description
      Previous value: -"Protocol slug or name, e.g. aave-v3"New value: +"DeFi protocol slug or name. Format: a lowercase slug or a name. Example: aave. Another example already in the tool text: aave-v3. Required."
  2. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
    • changedInput schema / properties / q / description
      Previous value: -"DeFi protocol slug or name. Format: a lowercase slug or a name. Example: aave. Another example already in the tool text: aave-v3. Required."New value: +"Protocol slug or name, e.g. aave-v3"
  3. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • changedInput schema / properties / q / description
      Previous value: -"Protocol slug or name, e.g. aave-v3"New value: +"DeFi protocol slug or name. Format: a lowercase slug or a name. Example: aave. Another example already in the tool text: aave-v3. Required."
  4. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
    • changedInput schema / properties / q / description
      Previous value: -"DeFi protocol slug or name. Format: a lowercase slug or a name. Example: aave. Another example already in the tool text: aave-v3. Required."New value: +"Protocol slug or name, e.g. aave-v3"
  5. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • changedInput schema / properties / q / description
      Previous value: -"Protocol slug or name, e.g. aave-v3"New value: +"DeFi protocol slug or name. Format: a lowercase slug or a name. Example: aave. Another example already in the tool text: aave-v3. Required."
  6. Changed1 schema field changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
  7. Changed1 schema field changed
    • changedInput schema / properties / q / description
      Previous value: -"DefiLlama slug or name, e.g. aave"New value: +"Protocol slug or name, e.g. aave-v3"
  8. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only cover readOnlyHint and openWorldHint; the description adds materially useful behavior: a $0.001 USDC cost, self-sourced on-chain reads, ~30-minute refresh cadence, and a data-availability caveat that 1d/7d change metrics only appear once history builds. It does not restate the payment-retry mechanics, but that lives in the api_key schema description.

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?

Cost is front-loaded in the first two words, which is the right priority for a paid tool, and the freshness caveat is packed into one parenthetical. Minor waste: the return field list (TVL in USD, per-chain TVL, category, chains) is stated twice, once mid-sentence and again at the end.

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?

For a single-parameter paid lookup with no output schema, the description covers the essentials an agent needs: what is returned, freshness, cost, and data limitations. Repeated return-field enumeration is redundant but not harmful; nothing critical for correct invocation is missing.

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 q and api_key are already fully documented in the schema, including slug format and the x402 payment retry flow. The description's inline examples (q=aave, q=uniswap) merely reinforce the schema's own example, adding no new meaning. 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 and scope: DeFi protocol TVL in USD derived from in-house on-chain reads, including per-chain TVL, category, and chain list. The resource is clearly distinguishable from siblings like lookup_pool, lookup_yields, and lookup_coin, though no sibling is named explicitly.

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 context is implied by the examples (q=aave, q=uniswap) and the 30-minute refresh note, which tells an agent the data is near-real-time rather than historical. However, there is no when-to-use/when-not-to-use guidance and no routing to alternatives such as lookup_yields or lookup_pool, so the agent must infer scope.

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.