Skip to main content
Glama

evm_get_block_number

Fetches the current block number from a chosen EVM chain, enabling AI agents to check network height and state.

Instructions

Get the latest block number from the blockchain

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>"
    },
    "name": "evm_get_block_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and mostly doesn't meet it. It implies a read but never states read-only semantics, does not say whether 'latest' means head or finalized, and says nothing about behavior on an unsupported chain or what the response contains.

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?

One short, front-loaded sentence with no filler. It is efficient, though so terse that conciseness comes at the cost of disclosure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (one enum param, no output schema, no annotations), so minimal description is defensible. Still, the required 'chain' argument and the returned value type are never acknowledged, leaving small but avoidable gaps.

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

Parameters2/5

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

Schema description coverage is 0% and the single required parameter is not mentioned in the description at all. The enum values are self-explanatory, but the description adds no meaning about chain selection or whether multi-chain support affects the result.

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 a specific verb and resource ('Get the latest block number') and the scope ('from the blockchain'), which is enough to distinguish it from evm_get_block (fetch a specific block) and evm_get_block_gas_limit. However, it does not explicitly name or contrast with those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: nothing tells the agent to prefer this over evm_get_block when it needs a specific height, nor any prerequisites. The only implied usage comes from the word 'latest', which is inference rather than stated direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools