Skip to main content
Glama

defi protocols

defi_protocols
Read-only

Every DeFi protocol ranked by TVL (DefiLlama): filter by category (Lending, Dexs, Liquid Staking, Bridge, Yield...) or chain, sort by TVL or 1d / 7d change, with market cap, token, audits, listing date and TVL by category. Costs $0.003 USDC per call (x402).

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": "defi_protocols"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
sortNotvl (default), change_1d, change_7d
chainNo
limitNo
categoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds non-obvious behavioral context the annotations cannot: a per-call cost of $0.003 USDC via x402, plus the set of fields returned (market cap, token, audits, listing date, TVL by category). It still omits pagination/limit behavior and any payment/auth prerequisites.

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 dense sentence that front-loads purpose, then filters, then return fields, then cost. Every clause carries information, though the return-field enumeration is the longest and least actionable part.

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

Completeness3/5

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

With no output schema and 5 parameters at 20% coverage, the description does useful work by enumerating returned fields and the cost. It still leaves two parameters (q, limit) and any pagination/result-count semantics unexplained, so an agent cannot fully predict the response shape.

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 only 20% (just 'sort'), so the description has to compensate. It does clarify category values (Lending, Dexs, Liquid Staking, Bridge, Yield), the chain filter, and sort keys, but leaves 'q' and 'limit' entirely undocumented in both schema and description.

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 resource and scope: 'Every DeFi protocol ranked by TVL (DefiLlama)', with the data source named. That is far more specific than a restated title. However, it never distinguishes itself from siblings like defi_tvl, defi_chains, or defi_dexs, which an agent must choose between.

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?

It implies usage by naming filter dimensions (category, chain) and sort keys, so an agent can infer how to narrow results. But there is no explicit when-to-use-this-vs-defi_tvl guidance and no exclusions, leaving the sibling selection ambiguous.

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.

Resources