Skip to main content
Glama

Blockscout Get Block

blockscout_get_block
Read-onlyIdempotent

"Block [N] details" / "what was in block [hash]" / "miner / proposer of block [X]", block detail by number or hash. Returns timestamp, gas used, transaction count, miner / validator, parent / next blocks. Use for chain forensics, block-time analysis.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "ethereum",
      "block_number_or_hash": "18000000"
    },
    "name": "blockscout_get_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYes
block_number_or_hashYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real value by enumerating the returned fields and noting that the identifier can be either a number or a hash, which is the main behavioral ambiguity an agent would have. It does not cover behavior on an unknown or pruned block, so it is not a 5.

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?

Dense and front-loaded: the query paraphrases appear first, followed by the identifier rule, then the return fields, then use cases. The slash-separated quote fragments read like search keywords rather than prose, which is slightly rough but wastes no sentences.

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

Completeness3/5

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

An output schema exists, so restating return fields is optional rather than necessary, and annotations cover the safety profile. The remaining gaps are material for a 2-required-parameter tool: no guidance on valid 'chain' values or formatting, and no statement of behavior when the block is not found. Adequate but with clear holes.

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 coverage is 0%, so the description must carry the load. It does clarify that block_number_or_hash accepts either a height or a hash, but the required 'chain' parameter is never explained in the description and its allowed values are only inferable from the schema examples ('ethereum', 'polygon'). Roughly half the parameter surface is covered.

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 names a specific verb and resource ('block detail by number or hash') and lists the exact contents returned (timestamp, gas used, tx count, miner/validator, parent/next blocks). The paraphrased user queries ('what was in block [hash]', 'miner / proposer of block [X]') make the resource unmistakable relative to address, token, and transaction siblings.

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?

It gives a clear use context ('chain forensics, block-time analysis') that tells the agent when this tool is the right pick. It stops short of naming alternatives or stating exclusions (e.g., use get_transaction for a tx hash), so it does not reach the top band.

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.