Skip to main content
Glama
Ethereum MCP
by ETHCF

get_protocol_fees

Retrieve detailed fee and revenue data for a specified DeFi protocol by slug, enabling on-chain protocol financial analysis.

Instructions

Get detailed fees and revenue for a specific protocol

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": {
      "protocol": "<protocol>"
    },
    "name": "get_protocol_fees"
  }
}

Input Schema

NameRequiredDescriptionDefault
protocolYesProtocol slug (e.g., 'uniswap', 'aave', 'lido')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing about the time window (24h, 7d, all-time), units/currency of the fee and revenue figures, or data source. For a metrics tool where the returned numbers are the whole product, that omission is significant.

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 front-loaded sentence with zero padding. It is efficient, though the brevity edges toward under-specification rather than maximal information density.

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?

For a one-parameter read tool with a fully described schema, the missing pieces are the shape and meaning of the returned metrics, which no output schema covers. Adequate to invoke correctly, but not enough to interpret the result.

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 the schema itself supplies slug examples ('uniswap', 'aave', 'lido'), so parameter meaning is fully documented. The description adds no further semantics such as slug source, case sensitivity, or error behavior for unknown protocols; baseline 3 is appropriate.

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 verb ('Get') and resource ('detailed fees and revenue') scoped to a single protocol, so the agent knows this is a per-protocol lookup rather than an aggregate. It stops short of naming how it differs from siblings like get_fees, get_l2_fees, or get_protocol_tvl.

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 phrase 'for a specific protocol' implies this is the per-protocol path, but there is no explicit when-to-use guidance, no mention of when to prefer get_fees or get_protocol_tvl, and no stated prerequisites.

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

Deploy Server

Other Tools