Skip to main content
Glama
buildwithgrove

Grove's MCP Server for Pocket Network

list_blockchain_services

Discover available blockchain networks supported by Grove to select the right service for your Web3 development needs across multiple chains.

Instructions

List all available blockchain services/networks supported by Grove

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoOptional category filter (e.g., "evm", "layer2", "non-evm")

Implementation Reference

  • The handler function's switch case that implements the 'list_blockchain_services' tool. It extracts the optional category from args and calls the appropriate method on blockchainService to retrieve the list of services, then returns the JSON stringified result.
    case 'list_blockchain_services': { const category = args?.category as string | undefined; const services = category ? blockchainService.getServicesByCategory(category) : blockchainService.getAllServices(); return { content: [ { type: 'text', text: JSON.stringify(services, null, 2), }, ], }; }
  • The tool definition object that registers the name, description, and input schema (optional category filter) for the 'list_blockchain_services' tool.
    { name: 'list_blockchain_services', description: 'List all available blockchain services/networks supported by Pocket Network', inputSchema: { type: 'object', properties: { category: { type: 'string', description: 'Optional category filter (e.g., "evm", "layer2", "non-evm")', }, }, }, },
  • src/index.ts:88-101 (registration)
    Collects all tools including those from registerBlockchainHandlers (which includes 'list_blockchain_services') into the tools array used for ListToolsRequestHandler.
    const tools: Tool[] = [ ...registerBlockchainHandlers(server, blockchainService), ...registerDomainHandlers(server, domainResolver), ...registerTransactionHandlers(server, advancedBlockchain), ...registerTokenHandlers(server, advancedBlockchain), ...registerMultichainHandlers(server, advancedBlockchain), ...registerContractHandlers(server, advancedBlockchain), ...registerUtilityHandlers(server, advancedBlockchain), ...registerEndpointHandlers(server, endpointManager), ...registerSolanaHandlers(server, solanaService), ...registerCosmosHandlers(server, cosmosService), ...registerSuiHandlers(server, suiService), ...registerDocsHandlers(server, docsManager), ];
  • src/index.ts:115-115 (registration)
    In the CallToolRequestHandler, dispatches to handleBlockchainTool first, which handles 'list_blockchain_services' execution.
    (await handleBlockchainTool(name, args, blockchainService)) ||

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/buildwithgrove/mcp-pocket'

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