Skip to main content
Glama

EVM MCP Server

by JamesANZ

eth_getBlockByNumber

Retrieve detailed block information from EVM-compatible blockchains using block number or special tags like 'latest'. Get transaction data, timestamps, and other block metadata for blockchain analysis.

Instructions

Returns information about a block by block number

Input Schema

NameRequiredDescriptionDefault
blockNumberYesBlock number (hex) or 'latest', 'earliest', 'pending'
includeTransactionsNoInclude full transaction objects

Input Schema (JSON Schema)

{ "properties": { "blockNumber": { "description": "Block number (hex) or 'latest', 'earliest', 'pending'", "type": "string" }, "includeTransactions": { "default": false, "description": "Include full transaction objects", "type": "boolean" } }, "required": [ "blockNumber" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JamesANZ/evm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server