Skip to main content
Glama

defi_llama_tvl_ranking

Read-onlyIdempotent

Request a top count from 1 to 200, default 50, to rank valid DefiLlama protocol records by reported TVL in USD. Includes source-universe counts, discarded rows and capture time. The provider universe can include centralized exchanges. Observation time is unavailable; TVL is not an attestation of reserves or solvency. [x402: 0.01 USDC per call on Base]

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 50
    },
    "name": "defi_llama_tvl_ranking"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNotop N, default 50, max 200

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "limit": 50
      +  }
      +]
    • removedInput schema / properties / input
      Removed value: -{
      -  "description": "product parameters (JSON or text). Example: {\"limit\": 50}",
      -  "type": "string"
      -}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "top N, default 50, max 200",
      +  "examples": [
      +    50
      +  ],
      +  "type": "integer"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"product parameters (JSON or text). Example: {\"input\": \"{\\\"limit\\\": 50}\"}"New value: +"product parameters (JSON or text). Example: {\"limit\": 50}"
  3. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"product parameters (JSON or text). Example: {\"limit\": 50}"New value: +"product parameters (JSON or text). Example: {\"input\": \"{\\\"limit\\\": 50}\"}"
  4. Added
  5. Removed
  6. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and open-world traits, yet the description adds substantial context beyond them: the response includes source-universe counts, discarded rows and capture time, observation time is unavailable, TVL is not an attestation of reserves, and each call costs 0.01 USDC via x402. The payment requirement and data-quality caveats are exactly the kind of disclosure annotations cannot carry.

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-loads the core action and count range, then layers caveats and cost in a compact block. Dense but every clause carries information; only the repeated default/range slightly overlaps the schema.

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?

With no output schema, the description compensates by naming what the response contains (counts, discarded rows, capture time) and flagging the observation-time gap. For a one-parameter read tool this is close to complete, though it could state ordering direction explicitly.

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% and the single limit parameter is fully documented in the schema, so the description's restatement of the 1-200 range and default 50 adds no new meaning. Baseline 3 applies when the schema does the heavy lifting.

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 verb and resource: rank DefiLlama protocol records by reported TVL in USD, with the count parameter bounded. An agent can distinguish this from siblings like defi_yields or stablecoin_supply 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 Guidelines3/5

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

Gives the parameter's operating range and default (1-200, default 50) and warns that the provider universe may include centralized exchanges, which is useful scoping. However, it never says when to choose this tool over alternatives or what conditions make it inappropriate, so usage is only implied.

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.