Skip to main content
Glama

evm_block

Block number on Base: the latest block height, timestamp, age, base fee, gas used and transaction count. Use it when an agent needs the current block number or the chain head. Price: 0.001 USDC per call over x402 on Base or Solana.

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
chainNoExample: base

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does disclose meaningful traits: this is a latest-state read, it lists the exact returned fields, and it states the metered cost of 0.001 USDC per call over x402 on Base or Solana. What it omits is failure/rate-limit behavior or whether historical blocks can be requested.

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?

Three short sentences, front-loaded with the returned payload before the usage hint and the pricing line. No filler; the only mild redundancy is repeating 'Base' in both the first and third sentences.

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?

For a zero-required-param, single-output read with no output schema, the description is sufficient: an agent knows what data comes back and what it costs. The only gap is chain-value handling, minor given the one optional parameter.

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 the lone optional 'chain' parameter is already documented with an example value. The description reinforces that Base is the expected target ('Block number on Base' plus the Base/Solana payment rails), but adds no semantics about accepted chain values or defaults. Baseline 3 applies.

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?

States the resource (block number on Base) and enumerates exactly what is returned: height, timestamp, age, base fee, gas used, tx count. The 'latest/chain head' framing distinguishes it from a lookup-by-number tool, though it never names the near-neighbour siblings like evm_gas or evm_tx that also surface chain state.

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?

'Use it when an agent needs the current block number or the chain head' gives a concrete triggering condition rather than leaving usage implicit. It stops short of exclusions — it does not say to prefer evm_gas for fee-only queries or evm_tx for specific transaction data.

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.