Skip to main content
Glama

chain_block

Read-only

EVM block details — Block by number (decimal, 0x hex, latest, safe or finalized): hash, parent, time, tx count, gas used/limit, base fee, miner/fee recipient, first tx hashes. Chains: base (default), ethereum, arbitrum, optimism, polygon via chain=. Price: $0.002 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "<chain>",
      "number": "<number>"
    },
    "name": "chain_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesbase
numberYeslatest

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?

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds genuinely non-structured behavior: the supported chain set and defaults, plus the pricing model ($0.002 USDC on Base via x402), which the agent needs to know before invoking a paid read. It does not cover rate limits or failure behavior, keeping it short of 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?

Front-loaded with the tool's identity and purpose, then compactly lists return fields, chain options, and price in a single dense passage with no filler. The comma-separated field list is slightly scan-hostile but every element carries information.

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 correctly takes on the burden of describing return values, and it covers chain scope, accepted parameter formats, defaults, and cost. Minor gaps remain around error cases and confirmations/finality caveats for 'latest' vs 'finalized', but nothing essential is missing for a correct call.

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

Parameters5/5

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

Schema coverage is nominally 100%, but the schema descriptions are only default stubs ('base', 'latest') and there are no enums. The description compensates substantially by spelling out that number accepts decimal, 0x hex, latest, safe, or finalized, and that chain accepts base/ethereum/arbitrum/optimism/polygon with base as default — meaning the agent would otherwise be unable to use these parameters correctly.

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?

The description gives a specific verb+resource ('EVM block details — Block by number') and enumerates the returned fields (hash, parent, time, gas used/limit, base fee, miner, first tx hashes), so the agent knows exactly what data this retrieves. It does not explicitly contrast itself with nearby siblings like chain_block_number or chain_receipt, so it stops short of full disambiguation.

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 only implied: 'Block by number' with accepted values tells the agent how to call it, and the chain= list shows multi-chain selection, but there is no explicit statement of when to prefer this over chain_receipt, chain_block_number, or chain_call. No exclusions or prerequisites are stated.

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