Skip to main content
Glama

block_number

Latest eth_blockNumber for Base and/or Ethereum, optional block timestamp. Cached ~2s. Price $0.001 via x402.

Input Schema

NameRequiredDescriptionDefault
chainsNo
request_idNoOptional idempotency key. Echoed back; a credit-pack redemption with the same request_id and body is charged once.
include_timestampNoWhen true, also fetch eth_getBlockByNumber for the tip timestamp

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses caching (~2s) and a per-call price ($0.001 via x402, implying payment/auth), but omits return shape, error behavior, and what happens when multiple chains are requested.

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?

Two compact sentences, front-loaded with the core purpose, then caching and cost. Every clause carries operational information with zero filler.

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?

With three optional params, no annotations, and no output schema, the description should clarify the return structure (e.g., one block number per requested chain). It covers cost and caching but leaves output shape ambiguous.

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 67%, and the description maps to two of three params ('Base and/or Ethereum' for chains, 'optional block timestamp' for include_timestamp). It adds little beyond the schema and says nothing about request_id, so it neither compensates fully nor adds much value.

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 verb and resource ('Latest eth_blockNumber for Base and/or Ethereum'), which is clearly distinguishable from siblings like gas_price or tx_status. The scope (which chains) is explicit, though sibling differentiation is only implicit.

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?

The description implies it returns the current tip block number, but offers no explicit when-to-use guidance or alternatives. There is no statement of when a caller should choose this over gas_price or tx_status, leaving routing 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