Skip to main content
Glama

Beggar Bot

block_hash_reorg_check

Block hash and reorg check: hash, parent, timestamp, tx count, confirmations and finalized flag for up to 20 blocks (or latest/safe/finalized), and verify a recorded hash still matches the canonical c Paid: $0.02 USDC via x402.

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

Input Schema

NameRequiredDescriptionDefault
hashNooptional 0x hash to verify
chainNobase|ethereum|...
blocksNocsv numbers or latest|safe|finalized

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 behavioral burden and does disclose non-obvious traits: a hard cap of 20 blocks, accepted block selectors, the returned fields, and that the call is paid ($0.02 USDC via x402) — payment cost is genuinely useful context rarely captured elsewhere. It loses a point for the truncated clause ('matches the canonical c') and for saying nothing about error or not-found behavior when a hash fails the reorg check.

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

Conciseness3/5

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

It is a single front-loaded sentence with no filler, which is good, but the sentence is a run-on that breaks off mid-word at 'canonical c' and then jams the x402 price tag into the same clause. The payment detail is useful, yet its placement and the truncation make the definition read as damaged rather than deliberate.

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?

There is no output schema, so the description must describe returns — and it does, listing all six fields plus the finalized flag. Combined with the block limit, selectors, and payment disclosure, an agent has enough to call it, with only chain defaulting and failure semantics left unclear.

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 description coverage is 100%, so hash, chain, and blocks are already documented in the input schema, and the description largely restates them. It adds one real constraint — the 20-block ceiling on the blocks parameter — but does not clarify the chain values ('base|ethereum|...') or what happens if chain is omitted.

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 opens with a specific verb+resource pairing ('Block hash and reorg check') and enumerates exactly what is returned (hash, parent, timestamp, tx count, confirmations, finalized flag). It implicitly separates itself from time-based siblings like block_at_time and from per-chain siblings like btc_block/sol_block by framing the tool around hash identity and reorg verification, though it never names an alternative directly.

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: 'verify a recorded hash still matches the canonical chain' hints at the reorg-check scenario, and 'up to 20 blocks (or latest/safe/finalized)' hints at batch lookups. There is no explicit statement of when to prefer this over block_at_time or block_at_timestamp, and no exclusions or prerequisites.

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.