Skip to main content
Glama

defillama_protocol

Read-only

Fetch the public DefiLlama protocol detail record, including id, name, chains, chain TVL history, and category, for one slug such as uniswap. Use defillama_protocols to discover slugs, defillama_fees for fee and revenue data, or defillama_tvl for only the current TVL number.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slug": "<slug>"
    },
    "name": "defillama_protocol"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesDefiLlama protocol slug, e.g. uniswap.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, so the safety profile is covered. The description adds that chain TVL history is included (implying a potentially large historical payload) but says nothing about rate limits, auth needs, or invalid-slug behavior, and does not address the unusual idempotentHint=false on a pure read. With annotations doing the heavy lifting, this is adequate but not rich.

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?

Two sentences, zero waste, with the payload description front-loaded before the sibling routing. Every clause earns its place by either defining output or directing to an alternative.

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?

An output schema exists, so return values need not be explained, and alternatives plus the single required parameter are all covered. The only gap is error/edge behavior for a nonexistent slug, which is minor for a read-only public-data fetch.

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 there is only one parameter, so the schema already documents slug fully. The description adds only that exactly one slug is expected and gives "uniswap" as an example, which is minimal added meaning beyond the schema's own example. Baseline 3 is correct here.

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?

States a specific verb ("Fetch") plus the exact resource ("public DefiLlama protocol detail record"), enumerates the payload fields (id, name, chains, chain TVL history, category), and pins scope to a single slug with a concrete example. An agent can distinguish it from the other protocol-related siblings without opening any schema.

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?

Explicitly routes the agent: defillama_protocols to discover slugs, defillama_fees for fee/revenue data, defillama_tvl for just the current TVL number. Each alternative is paired with the condition that selects it, which is exactly the when-to-use guidance this dimension rewards.

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.