Skip to main content
Glama
dewanshparashar

Arbitrum MCP Server

arb_latest_validated

Retrieve validated global state information from Arbitrum networks using admin API for monitoring chain health and node operations.

Instructions

Get the latest validated global state information (requires admin API)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rpcUrlNoThe RPC URL of the Arbitrum node (optional if default is set)
chainNameNoChain name (e.g., 'Xai', 'Arbitrum One') - will auto-resolve to RPC URL

Implementation Reference

  • MCP tool handler for 'arb_latest_validated'. Resolves RPC URL from args or chain name, creates NitroNodeClient instance, calls getLatestValidated() method, formats and returns the result as JSON text content.
    case "arb_latest_validated": { const rpcUrl = await this.resolveRpcUrl( (args.rpcUrl as string) || (args.chainName as string) ); const nodeClient = new NitroNodeClient(rpcUrl); const validated = await nodeClient.getLatestValidated(); return { content: [ { type: "text", text: JSON.stringify(validated, null, 2), }, ], }; }
  • src/index.ts:1149-1169 (registration)
    Tool registration in getAvailableTools() method, including name, description, and input schema definition for the listTools MCP request.
    { name: "arb_latest_validated", description: "Get the latest validated global state information (requires admin API)", inputSchema: { type: "object" as const, properties: { rpcUrl: { type: "string", description: "The RPC URL of the Arbitrum node (optional if default is set)", }, chainName: { type: "string", description: "Chain name (e.g., 'Xai', 'Arbitrum One') - will auto-resolve to RPC URL", }, }, required: [], }, },
  • NitroNodeClient helper method implementing the core RPC call to 'arb_latestValidated' which retrieves the latest validated global state information from the Arbitrum node.
    async getLatestValidated(): Promise<any> { try { return await this.makeRpcCall("arb_latestValidated", []); } catch (error) { return { error: `Latest validated state not supported on this RPC endpoint: ${ (error as Error).message }`, }; } }

Latest Blog Posts

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/dewanshparashar/arbitrum-mcp'

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