Skip to main content
Glama

EVM Wallet & Token Due-Diligence (x402)

evm_block

Read-only

$0.002 (x402). Block header facts on Ethereum, Base, Arbitrum, Optimism, Polygon or BSC: by number, latest, or by timestamp (unix or ISO; returns the last block at or before that time via binary search). Number, hash, time, tx count, gas used, base fee.

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

Input Schema

NameRequiredDescriptionDefault
chainNoethereum|base|arbitrum|optimism|polygon|bsc
numberNoblock number or latest
timestampNounix seconds or ISO date

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

readOnlyHint already declares the safety profile, yet the description adds genuinely new behavior: a per-call price of $0.002 via x402 (a payment/auth prerequisite the agent must know) and the fact that a timestamp lookup returns the last block at or before the given time via binary search. It does not say what happens if number and timestamp are both supplied, leaving one behavioral ambiguity.

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?

Front-loads the cost/payment note, then the resource and lookup modes, then a compact list of return fields — no filler. The trailing noun fragment 'Number, hash, time, tx count, gas used, base fee.' is telegraphic but readable and earns its space by standing in for the absent output schema.

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 zero required parameters and no output schema, the description does the necessary work by listing return fields and defining the timestamp rule. It omits what happens when both number and timestamp are passed, and what the default is when neither is given, which matters for a tool where all parameters are optional.

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 100%, so the baseline is 3, but the description adds meaning the schema does not: the accepted timestamp formats (unix or ISO) resolve ambiguity, and the 'last block at or before that time' rule defines the semantics of the timestamp parameter. The chain and number parameters are only restated, not enriched.

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 ('Block header facts'), lists the six supported chains, and enumerates the three lookup modes (number, latest, timestamp) plus the returned fields. Sibling tools cover balances, code, nonces, and tx decoding, so block-header retrieval is clearly differentiated.

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?

The three lookup modes and the enumerated chain list give clear context for when this tool applies, and the timestamp mode's binary-search semantics tell the agent what to expect. It stops short of naming alternatives or stating exclusions, so it lands just under the top.

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