Skip to main content
Glama

chain_block_stats

Read-only

Recent block statistics (5 EVM chains) — Analyze the latest 2-50 blocks on base, ethereum, arbitrum, optimism or polygon from public JSON-RPC: average/min/max block time, transactions per block, TPS, empty blocks, gas utilization and full blocks, base fee latest/min/avg/max with RISING/FALLING/STABLE trend, blob gas (Ethereum), top fee recipients (builders/sequencers) and a QUIET/NORMAL/BUSY/CONGESTED verdict. chain= required; blocks= optional (default 20, max 50). Price: $0.003 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
chainYesbase

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, open-world, and non-destructive behavior. The description adds payment cost ($0.003 USDC via x402), public JSON-RPC source, and specific metric coverage including trend/verdict labels; it does not discuss error or rate-limit behavior.

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?

Front-loaded with purpose and then compactly lists metrics; pricing and parameter constraints are included without repetition. The long metric sentence is dense but every item appears to earn its place; it could be more scannable but is not bloated.

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?

Given one required parameter, annotations for safety, and no output schema, the description covers data source, cost, chain options, and returned metric categories. The main incompleteness is the missing blocks schema and absence of response-structure details, but overall it is enough to call correctly.

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 schema has only chain; the description clarifies that chain is required and lists the five valid chain values, adding useful meaning. However, it also advertises a 'blocks' parameter (default 20, max 50) that is absent from the input schema, creating a potentially misleading invocation detail.

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 aggregation over recent blocks across five named EVM chains and enumerates the metrics returned. It does not explicitly contrast with sibling single-block tools like chain_block, but the 'statistics' framing makes the distinction fairly clear.

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

Usage Guidelines4/5

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

Provides clear context: analyze the latest 2-50 blocks on named chains, with chain required and blocks default/max described. It does not name when to choose this over chain_block or chain_block_by_time, so there are no explicit alternatives or exclusions.

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.

Resources