Skip to main content
Glama
Ethereum MCP
by ETHCF

get_l2_chain

Retrieve detailed metrics for a specified Layer 2 chain, such as Arbitrum, Optimism, or Base, to analyze network performance and usage.

Instructions

Get detailed metrics for a specific Layer 2 chain

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": {
      "chain": "<chain>"
    },
    "name": "get_l2_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesL2 chain name (e.g., 'arbitrum', 'optimism', 'base', 'zksync era')

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 does not meet it. It does not state whether the call is read-only (implied by "Get" but unconfirmed), what happens for an unknown or unsupported chain name, whether results are cached or rate-limited, or what the response contains.

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 no filler or redundancy. It is efficiently written, though the efficiency comes partly from omitting information rather than from tight phrasing of complete information.

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 is the only channel for explaining what 'detailed metrics' means and how it relates to the many sibling L2 metric tools. It says nothing about return content or format, leaving a real gap for a tool whose value depends entirely on which metrics it returns.

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 description coverage is 100% and the single chain parameter already documents itself with example values ('arbitrum', 'optimism', 'base', 'zksync era'). The description adds no further meaning about naming conventions, case sensitivity, or fallback behavior, so the baseline of 3 applies.

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?

States a verb ("Get") and a resource ("detailed metrics for a specific Layer 2 chain"), so the general intent is legible. But "detailed metrics" is not specified, and siblings such as get_l2_all_metrics, get_l2_overview, get_l2_fees and get_l2_activity all plausibly return metrics for an L2 chain, so the description gives no basis for telling this tool apart from them.

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 and no mention of alternatives or prerequisites. An agent cannot infer from the text whether this is the aggregate-detail tool, whether get_l2_all_metrics supersedes it, or what inputs beyond the chain name are expected.

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