Skip to main content
Glama

market_get_top_protocols

Read-onlyIdempotent

Get a ranked list of top DeFi protocols by TVL, including current TVL, 1-day change, chain, category, and slug. Filter by chain or category to focus on specific markets.

Instructions

Retrieve a ranked list of the top DeFi protocols by TVL from DefiLlama. Returns protocol name, current TVL, 1-day TVL change, first listed chain, category, and DefiLlama slug for each entry in the list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoFilter by chain name (e.g., 'Ethereum', 'Arbitrum')
limitNoMaximum number of results to return
categoryNoFilter by protocol category (e.g., 'Dexes', 'Lending')
Behavior3/5

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

Annotations already declare readOnly, idempotent, and non-destructive hints. The description adds the data source (DefiLlama) and return fields, but does not disclose other behavioral traits like caching, pagination, or rate limits. No contradictions with annotations.

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?

The description is two sentences, front-loaded with the action, and every word is informative. No fluff or redundancy.

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 list tool with full schema coverage and strong annotations, the description covers purpose, return fields, and available filters. It doesn't mention default limit or pagination behavior, but that's a minor gap.

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 description coverage is 100%, so the schema fully explains chain, limit, and category parameters. The tool description adds no additional parameter semantics, so baseline 3 is appropriate.

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?

The description clearly states the verb 'Retrieve' and the specific resource 'top DeFi protocols by TVL' from DefiLlama, and even enumerates the returned fields. This distinguishes it from sibling tools like market_get_top_tokens (tokens) and market_get_protocol_tvl (single protocol).

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 description implies usage for getting ranked protocol TVL data but does not explicitly mention when to use alternative tools, such as market_get_protocol_tvl for a single protocol. There is no 'when not to use' guidance, but the context is clear enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Apegurus/web3agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server