Skip to main content
Glama

SiteCheck Crypto & Finance

OP Mainnet recent blocks from the public RPC: transactions

crypto_optimism_recent_blocks
Read-only

OP Mainnet (Optimism) recent blocks from the public RPC: transactions per block, gas used per block, block time, and the transaction rate over the last N blocks (1 to 10). Sequencer revenue and Superchain-wide totals are not in this RPC and are not reported. Related tools on this server, for a different need: crypto_kaspa_recent_blocks when you need the most recent Kaspa blocks: hash, block timestamp, blue. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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

Input Schema

NameRequiredDescriptionDefault
blocksNoHow many latest blocks to read, 2 to 10 (default 5)

Output Schema

NameRequiredDescriptionDefault
blocksNo
sourceNo
checkedAtNo
txPerSecondNo
tipBlockNumberNo
avgBlockTimeSecNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

It provides crucial behavioral limitations, specifically stating that Sequencer revenue and Superchain-wide totals are not included in this RPC. This is essential contextual information not provided by the annotations. It also discloses operational constraints like cost per call.

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?

The tool definition is dense, combining functional scope, limitations, and operational metadata into one piece. While slightly long, the information is highly relevant and necessary for an agent to understand the full scope and limitations of the API before invocation.

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

Completeness5/5

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

The definition is exceptionally complete for a public data tool. It covers what is provided, what is excluded, pricing, and guidance on alternative tools, leaving very little ambiguity for the agent.

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?

Since the schema coverage is 100%, the schema dictates the parameter usage. The description provides little semantic value beyond framing the parameter's function (e.g., 'N blocks') within the overall purpose of the tool. A score of 3 reflects this necessary baseline contribution despite high schema coverage.

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

Purpose5/5

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

The description clearly states it provides block data for OP Mainnet, detailing specific metrics like transactions per block, gas usage, block time, and transaction rate. It is highly specific and distinguishes itself by focusing on these operational metrics within the context of the public RPC.

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

Usage Guidelines5/5

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

The description explicitly guides usage by contrasting its function with the sibling tool crypto_kaspa_recent_blocks. This provides clear instructions on when to use this tool versus when a related alternative should be chosen.

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