Skip to main content
Glama
Ethereum MCP
by ETHCF

get_fees

Retrieve protocol fee and revenue overviews across blockchains, optionally filtered by a specific chain, to compare on-chain earnings.

Instructions

Get protocol fees and revenue overview

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

Input Schema

NameRequiredDescriptionDefault
chainNoFilter by chain (e.g., 'ethereum', 'arbitrum')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.6/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, and it discloses almost nothing: not whether results are aggregated protocol-wide or per-chain, not whether a time range is required, not whether it is a read-only endpoint (implied but unstated), and not what the 'overview' contains. For a metrics tool with zero annotation coverage this is a substantial gap.

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?

One short, front-loaded sentence with no filler or redundancy. It is efficiently structured, though its brevity reflects under-specification rather than disciplined editing.

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

Completeness2/5

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

There is no output schema, so the description should convey at least the shape of the returned 'overview' (fees, revenue, per-chain breakdown), and it does not. Combined with the ambiguity against get_protocol_fees and get_l2_fees, an agent has to guess both what it gets back and when to call it.

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?

The single 'chain' parameter is fully documented in the schema with examples ('ethereum', 'arbitrum'), so the schema does the work here. The description adds no meaning about the parameter, such as whether omitting it returns all chains aggregated or a default chain. Baseline 3 applies given 100% schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource ('protocol fees and revenue overview') with the verb 'Get', which is more than a tautology. However, siblings get_protocol_fees and get_l2_fees overlap heavily with this scope, and the description gives no clue what distinguishes 'fees and revenue overview' from those two. An agent cannot confidently route between them from this text alone.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no indication of when this should be chosen over get_protocol_fees or get_l2_fees, no mention of what data scope or time window applies. The only usage hint is the implicit 'filter by chain' from the schema, which is not guidance about tool selection.

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