Skip to main content
Glama

EVM MCP Server

by chulanpro5

get_block_by_number

Retrieve a specific block by its block number from EVM-compatible blockchain networks using a unified interface, with optional network specification. Supports Ethereum mainnet by default.

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/chulanpro5/evm-mcp-server'

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