Skip to main content
Glama

EVM MCP Server

by mcpdotdirect

get_block_by_number

Retrieve blockchain block details by specifying the block number and network using the EVM MCP Server. Supports Ethereum and other compatible networks for efficient data access.

Instructions

Get a block by its block number

Input Schema

NameRequiredDescriptionDefault
blockNumberYesThe block number to fetch
networkNoNetwork name or chain ID. Defaults to Ethereum mainnet.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "blockNumber": { "description": "The block number to fetch", "type": "number" }, "network": { "description": "Network name or chain ID. Defaults to Ethereum mainnet.", "type": "string" } }, "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/mcpdotdirect/evm-mcp-server'

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