Skip to main content
Glama

chain_block_number

Latest block height (chain tip) plus safe/finalized heights and head age in seconds, via eth_blockNumber/eth_getBlockByNumber. Base/Ethereum/Arbitrum/Optimism/Polygon. Example: {chain:"base"}. $0.001 USDC.

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

Input Schema

NameRequiredDescriptionDefault
chainNo

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?

No annotations are supplied, so the description carries the full burden and does reasonably well: it names the upstream RPC methods (eth_blockNumber/eth_getBlockByNumber), lists supported chains, gives a call example, and discloses the $0.001 USDC cost. It omits freshness/caching semantics and whether payment or auth setup is required before the call.

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

Conciseness5/5

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

One dense sentence plus a terse example and price tag. Return payload is front-loaded, no filler, and every clause contributes information an agent would otherwise have to probe for.

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?

With no output schema, the description usefully enumerates the returned values (tip, safe, finalized, head age) and the supported chain set, which is enough to call it correctly. The one material gap is default-chain behavior for an optional parameter, plus no mention of response units/format beyond seconds for age.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single 'chain' parameter is an unconstrained string, so the description must compensate — and it does by enumerating Base/Ethereum/Arbitrum/Optimism/Polygon plus a concrete example {chain:"base"}. It does not say what happens when chain is omitted, even though the parameter is optional, leaving an ambiguity an agent must guess at.

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 resource and verb-equivalent: latest block height (chain tip) plus safe/finalized heights and head age in seconds. An agent knows exactly what comes back. It stops short of 5 because it never distinguishes itself from the sibling block_lookup, which an agent could easily confuse with a block-height tool.

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

Usage Guidelines3/5

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

Usage is implied by the returned fields (tip, safe/finalized, head age) but there is no explicit when-to-use or when-not-to-use statement, and no routing away from block_lookup or chain_network_info. The multi-chain scope is stated, which helps selection at the chain level.

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