Skip to main content
Glama

DeFiLlama TVL & Stablecoins MCP

List top DeFi protocols by TVL

list_top_protocols
Read-onlyIdempotent

List top DeFi protocols ranked by TVL, optionally filtered by category (e.g. "Lending", "Dexs") or chain (e.g. "Ethereum", "Solana").

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
chainNoOptional chain name filter (e.g. "Ethereum", "Solana", "Arbitrum").
limitNoMaximum protocols to return (default 20).
categoryNoOptional category substring filter (e.g. "Lending", "Liquid Staking", "Dexs").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is fully covered. The description adds the useful ordering trait ('ranked by TVL') that annotations do not convey, but says nothing about result shape or pagination beyond the limit parameter.

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?

A single front-loaded sentence with the primary ranking criterion first and filters second. Slightly redundant because the example filter values duplicate what the schema already shows.

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 simple read-only list tool with three optional parameters and no output schema, the description covers purpose, ranking, and filtering adequately. The only gap is a brief indication of what the returned entries contain, which no output schema supplies.

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 schema itself documents defaults (limit 20), bounds (1-100), and substring-filter semantics. The description's example values mainly echo the schema, adding little 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 verb (list), resource (DeFi protocols) and ranking dimension (TVL), plus optional filters. It does not explicitly distinguish itself from siblings like get_chain_tvl_rankings or get_protocol_tvl, so the agent must infer the boundary from names alone.

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?

The word 'optionally filtered' implies when the filters are useful, but there is no explicit when-to-use guidance and no named alternative for single-protocol or chain-level lookups. Usage is inferable but not stated.

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.