Skip to main content
Glama
dewanshparashar

Arbitrum MCP Server

list_chains

Retrieve and display all available Arbitrum Orbit chains and their names to identify networks for querying and monitoring interactions within the Arbitrum ecosystem.

Instructions

List all available Arbitrum Orbit chains and their names. Use this to see what chains are available for querying.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler for the 'list_chains' tool. Calls ChainLookupService.listChainNames() to retrieve chain names and returns them formatted as text content.
    case "list_chains": const chainNames = await this.chainLookupService.listChainNames(); return { content: [ { type: "text", text: `Available chains:\n${chainNames.join("\n")}`, }, ], };
  • src/index.ts:1038-1046 (registration)
    Tool registration entry in getAvailableTools() including name, description, and empty input schema (no parameters required).
    { name: "list_chains", description: "List all available Arbitrum Orbit chains and their names. Use this to see what chains are available for querying.", inputSchema: { type: "object" as const, properties: {}, }, },
  • Input schema for list_chains tool: empty object (no input parameters).
    inputSchema: { type: "object" as const, properties: {}, },
  • Core helper method listChainNames() in ChainLookupService that ensures data is loaded and returns sorted list of chain names from cached chainsData.
    async listChainNames(): Promise<string[]> { await this.ensureChainsData(); return this.chainsData.map(chain => chain.name).sort(); }

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