Skip to main content
Glama

calmlet-mcp

defi_protocol

Get a DeFi protocol's TVL with 1d/7d change and per-chain split (top 10 chains with share). Costs $0.002 USDC per call, paid via x402 on Base.

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": {
      "slug": "<slug>"
    },
    "name": "defi_protocol"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesDefiLlama protocol slug, e.g. aave, uniswap, lido

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that each call costs $0.002 USDC paid via x402 on Base — a critical, non-obvious behavioral constraint — and that results are capped at the top 10 chains with share. It does not cover failure behavior for invalid slugs or any rate limits.

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 dense sentences with zero filler: the return payload is front-loaded and the payment constraint follows. Every clause carries information an agent needs.

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?

There is no output schema, so the description must describe returns, and it does — TVL, 1d/7d change, per-chain split with share, top-10 cap — plus the payment model. Only error/edge-case behavior is unaddressed, which is minor for a single-parameter read tool.

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% with a single required 'slug' parameter already documented with examples (aave, uniswap, lido), so the schema does the heavy lifting. The description adds no further syntax or slug-resolution guidance, making the 3 baseline correct.

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 and resource — 'Get a DeFi protocol's TVL' — and enumerates the returned metrics (1d/7d change, per-chain split, top 10 chains). It is clearly distinguishable from the sibling defi_yields and defi_stablecoins_peg tools by metric, but it never explicitly names or contrasts an alternative.

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 only implied: an agent can infer this is the tool for protocol-level TVL queries, but there is no statement of when to prefer it over defi_yields or defi_stablecoins_peg, and no prerequisites or exclusions are given.

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.