Skip to main content
Glama
ymylive
by ymylive

list_protocols

Retrieve DeFi protocols sorted by TVL, 1d/7d change, or market cap. Filter by chain (e.g., Ethereum). Get protocol summaries including name, slug, TVL, changes, and market cap.

Instructions

List DeFi protocols ranked by TVL (or 1d/7d change, or market cap).

Use this for "what are the biggest DeFi protocols?", "which protocols had the largest TVL inflows/outflows today?", or to find a protocol's slug before calling get_protocol_tvl. Far more granular than CoinGecko's get_global_defi, which only returns aggregate DeFi market cap.

Args: limit: Number of protocols to return after sorting (1..500). sort_by: Metric to rank by, descending. "tvl" = current TVL, "change_1d"/"change_7d" = TVL change %, "mcap" = token market cap. chain: Optional chain name filter (e.g. "Ethereum", "Solana", "Base", "Arbitrum"). Matches against each protocol's chains array, case-insensitive. Empty string disables the filter.

Returns: Array of protocol summaries with name, slug, symbol, category, chain, chains, tvl, change_1h, change_1d, change_7d, mcap, url.

Note: chain (when non-empty) is validated against ^[a-z0-9][a-z0-9._-]{0,127}$.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
sort_byNotvl
chainNo
Behavior4/5

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

With no annotations, the description carries full burden. It explains sorting behavior, filtering by chain, and specifies return fields. While it doesn't explicitly state side effects (e.g., mutability), the action is inherently read-only and the description is thorough.

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?

The description is well-structured with Args and Returns sections and is front-loaded. However, it includes some redundancy (e.g., repeated field list) and could be slightly more concise while remaining clear.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 3 parameters, no output schema, and no annotations, the description is comprehensive. It covers full parameter behavior, return fields, and includes a validation note. The agent has all necessary information to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description fully compensates by explaining each parameter: limit range (1..500), sort_by options (tvl, change_1d, etc.), and chain filter with validation regex. This adds significant meaning beyond the bare schema.

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 'List DeFi protocols ranked by TVL (or 1d/7d change, or market cap).' It specifies the verb 'list' and the resource 'DeFi protocols', and distinguishes itself from sibling tools like get_global_defi and get_protocol_tvl, which is explicit differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description provides explicit when-to-use examples: 'Use this for "what are the biggest DeFi protocols?"...' and contrasts with get_global_defi, stating 'Far more granular than CoinGecko's get_global_defi, which only returns aggregate DeFi market cap.' This gives clear guidance on alternatives.

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/ymylive/coin-mcp'

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