Skip to main content
Glama

evm_block

Latest block and gas price on Ethereum, Base, Arc or BNB Chain: block number, time and age in seconds, gas price and base fee in gwei, transaction count, chain id. $0.001 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for the terms, sign them with your own wallet, call again with payment.

Input Schema

NameRequiredDescriptionDefault
chainNoethereum (default), base, arc or bnb
paymentNoa signed x402 payment (the base64 payload you would put in PAYMENT-SIGNATURE). Pass it and the purchase completes inside this tool call.

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?

With no annotations, the description carries the full burden and discloses genuinely non-obvious behavior: a $0.001 per-call x402 charge, accepted payment assets/networks, and the fact that omitting `payment` returns terms rather than block data. It is silent on latency, caching, or failure modes if payment is rejected, so not quite 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?

Two sentences, front-loaded with the resource and return payload; the payment mechanics follow. The second sentence is dense (currency/network list plus call sequence) but each clause carries information the agent needs.

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 compensates by listing the returned fields, and it fully specifies the paid-invocation protocol. What remains missing is routing context relative to gas-related siblings like evm_gas_estimate, which an agent would need to choose correctly.

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 real context for `payment` — that passing it completes the purchase inside this call — and confirms the default chain is ethereum. That goes beyond restating the schema field descriptions.

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?

Opens with a specific verb+resource ('Latest block and gas price') and enumerates the returned fields (block number, time/age, gas price, base fee, tx count, chain id), so an agent knows exactly what it gets. It does not explicitly distinguish itself from the overlapping sibling evm_gas_estimate, which is the one gap keeping it from a 5.

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 second sentence gives an explicit call sequence: call once without `payment` to get terms, sign with your own wallet, call again with `payment` to complete the purchase. That is actionable when-to-use guidance for the paid flow. It stops short of naming when to prefer this over evm_gas_estimate or evm_call.

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.