Skip to main content
Glama
Ethereum MCP
by ETHCF

get_l2_profitability

Compare Layer 2 profitability by subtracting costs from revenue to identify which networks operate at a profit and inform ecosystem or investment decisions.

Instructions

Compare L2 profitability (revenue - costs)

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_l2_profitability"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden: it implies a read-only metric calculation but says nothing about the data source, the time window covered, which L2 chains are included, or whether results are cached/sampled. The formula "revenue - costs" is the only behavioral detail offered, which is far short of what a zero-annotation tool needs.

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 short phrase with the core concept front-loaded and no filler. It is arguably too terse rather than too verbose, but nothing in it is wasted or padded.

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?

With no output schema and no annotations, the description should clarify what the comparison returns (per-chain rows? a ranking?, what time range, what currency/units). None of that is present, so an agent cannot predict the response shape or scope before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters, so there is nothing for the description to disambiguate beyond the schema; baseline 4 applies. The description does not need to explain input syntax because no inputs exist.

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 ("Compare") plus a specific resource ("L2 profitability") and even defines the metric as revenue minus costs, so the agent knows what is computed. It does not differentiate itself from siblings such as get_l2_fees or get_l2_overview, which also touch L2 revenue/cost figures, so the agent must guess which one returns profitability specifically.

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 statement of when to use this tool versus the many L2 siblings (get_l2_fees, get_l2_all_metrics, get_l2_metric_ranking). No prerequisites, no exclusions, and no indication of whether it compares chains against each other or a single chain over time.

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