Skip to main content
Glama

debank_get_protocols

Retrieve DeFi protocol information including total value locked and supported chains. Filter by protocol ID, chain, or get all protocols.

Instructions

Get DeFi protocol information from DeBank.

This tool retrieves comprehensive information about DeFi protocols, including TVL (Total Value Locked), supported chains, and protocol metadata.

Args: protocol_id: Optional specific protocol ID (e.g., 'uniswap', 'aave', 'compound', 'curve', 'lido', 'makerdao') chain_id: Optional filter by chain (e.g., 'eth', 'bsc', 'polygon') all_chains: If True, get all protocols across all chains

Returns: Protocol object(s) with the following structure: { "id": "uniswap", "name": "Uniswap", "chain": "eth", "logo_url": "https://...", "tvl": 5234567890, "portfolio_item_list": [...] }

Examples: - Get all protocols on Ethereum: debank_get_protocols(chain_id="eth") - Get specific protocol: debank_get_protocols(protocol_id="uniswap") - Get all protocols: debank_get_protocols(all_chains=True) - Get Aave on Polygon: debank_get_protocols(protocol_id="aave", chain_id="polygon")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chain_idNo
all_chainsNo
protocol_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

The description returns the output structure but lacks disclosure of behavioral traits such as authentication requirements, rate limits, error conditions, or side effects. Since no annotations are provided, the description carries full burden but omits these details, though it is clear that the operation is read-only.

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 well-structured with a clear one-line summary followed by Args, Returns, and Examples sections. It is front-loaded with purpose, each section earns its place, and there is no wasted text. It is concise yet comprehensive.

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?

Given the presence of an output schema, the description still provides the output structure, which is helpful. It covers all parameters and use cases. However, it could be more complete by addressing edge cases or behavioral constraints (e.g., empty results, pagination). For a simple get tool with optional params, it is nearly complete.

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?

With 0% schema coverage, the description fully compensates by explaining each parameter (protocol_id with examples like 'uniswap', chain_id with chain abbreviations, all_chains as boolean) and providing meaningful examples. This adds significant value beyond the bare schema types.

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 tool retrieves DeFi protocol information from DeBank, listing TVL, supported chains, and metadata. It effectively distinguishes from sibling tools like debank_get_user_protocols (user-specific) and debank_get_chains (only chains), making its purpose unambiguous.

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 provides multiple examples showing different query patterns (by protocol, by chain, all chains), which implies usage contexts. However, it does not explicitly state when to use this tool over alternatives (e.g., when to use debank_get_user_protocols instead), nor does it provide when-not or prerequisite guidance.

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/caiovicentino/debank-mcp-server'

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