Skip to main content
Glama

ScorpTech x402 Tools

Evm Block

evm_block
Read-onlyIdempotent

One EVM block by number, tag (latest, safe, finalized, earliest, pending) or hash on Ethereum, Base, Arbitrum, OP Mainnet, Polygon or BNB Chain: timestamp and age, transaction count, gas used/limit and fill %, base fee (gwei), blob gas, fee recipient, size, withdrawals, parent hash, optional transaction hash list. Keyless public RPC, read-only. Returns JSON with: chain, chainId, number, hash, parentHash, timestamp, unix, ageSeconds. Price: $0.003 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/evm-block

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
blockNoBlock number (decimal or 0x hex), a tag (latest, safe, finalized, earliest, pending) or a 32-byte block hashlatest
chainNoeth (default), base, arbitrum, optimism, polygon or bsc (chain ids and common aliases accepted)
limitNoMax transaction hashes when transactions=true
transactionsNoInclude transaction hashes (first `limit`)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses the keyless public RPC model, the $0.003 USDC per-successful-call price via x402 (Base or Solana), and an equivalent HTTPS endpoint. It also names the concrete response fields, so the agent knows what a call returns without an output schema. That is substantial behavior context the annotations cannot convey.

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?

The core purpose and supported chains are front-loaded, and the field enumeration is packed efficiently. The trailing pricing and HTTPS-endpoint sentences are dense but each carries operational value; only minor tightening is possible, since the long comma-separated clauses require careful reading.

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 does the work of describing return contents and adds pricing, transport and chain coverage — enough for an agent to call it correctly. The return list appears truncated after a partial field enumeration ('Returns JSON with: chain, chainId, ... unix, ageSeconds'), leaving some advertised fields such as gas fill % and withdrawals unmapped to response keys.

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 100%, so all four parameters are already documented, and the description largely restates them (block tags, chain names, optional transaction hash list). It does not add new meaning such as how limit interacts with large blocks or the ordering of returned hashes, so the baseline of 3 applies.

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?

The description opens with a specific verb+resource — 'One EVM block by number, tag ... or hash' — and enumerates the six supported chains plus the exact data returned (timestamp/age, tx count, gas used/limit, base fee, blob gas, fee recipient, size, withdrawals, parent hash). An agent can distinguish this from evm_tx_info, evm_gas or evm_address_activity purely from the description, since it clearly scopes to whole-block retrieval.

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 implied by the data it returns (block-level fields, optional tx hash list) and by the 'keyless public RPC' framing, but there is no explicit statement of when to prefer this over evm_gas or evm_tx_info, nor any when-not guidance. The accepted tag values (latest, safe, finalized, earliest, pending) give the agent a hint about use cases such as finality checks, yet the choice between this tool and its siblings is left 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