Skip to main content
Glama

Block Info

chain.block
Read-onlyIdempotent

Get latest or specific block data including gas, transactions, and timestamps. Use for exact latest or historical block facts on one chain, including block number, gas, transactions, and timestamps. Do not use it for an aggregate chain health view; use chain.health or oracle.chain_status instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
blockNoBlock number (omit for latest)
chainNoEVM chain (default: base)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hashYes
sizeYes
chainYesBlockchain queried
minerYes
numberYes
gasUsedYes
gasLimitYes
fetchedAtYesUnix timestamp ms
timestampYes
parentHashYes
timestampISOYes
baseFeePerGasYes
transactionCountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already fully cover the safety profile (readOnly, idempotent, non-destructive, openWorld). The description adds the single-chain vs aggregate scoping distinction, which is modestly useful behavioral context, but says nothing about return shape, pagination, or failure behavior. With rich annotations carrying the burden, a 3 is appropriate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and readable, but the field list 'including gas, transactions, and timestamps' is stated twice in consecutive sentences, so the description is more redundant than necessary. The second sentence largely restates the first plus routing.

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?

An output schema exists, so return values need not be explained, and purpose, usage, and alternatives are all present. The remaining gap is the redundant phrasing rather than missing information, so it is nearly complete for a 2-param read tool.

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 both parameters (block, chain) are already documented with pattern and default. The description mentions 'block number' but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Get latest or specific block data') plus the fields returned (gas, transactions, timestamps), and explicitly separates itself from chain.health and oracle.chain_status. An agent can distinguish it from siblings without opening any schema.

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?

Explicitly says when to use it ('exact latest or historical block facts on one chain') and when not ('Do not use it for an aggregate chain health view'), routing to named alternatives. Nothing is left to inference.

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