Skip to main content
Glama
buildwithgrove

Grove's MCP Server for Pocket Network

list_categories

Retrieve all available blockchain endpoint categories to access data across 70+ networks including Ethereum, Solana, Cosmos, and Sui for token analytics, transaction inspection, and multi-chain comparisons.

Instructions

List all available endpoint categories

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The execution handler for the 'list_categories' tool. Retrieves categories using endpointManager.getCategories() and returns them as JSON-formatted text content.
    case 'list_categories': { const categories = endpointManager.getCategories(); return { content: [ { type: 'text', text: JSON.stringify(categories, null, 2), }, ], }; }
  • Tool definition and registration in the endpoints tools array, including name, description, and schema.
    { name: 'list_categories', description: 'List all available endpoint categories', inputSchema: { type: 'object', properties: {}, }, },
  • Input schema definition for the list_categories tool, specifying an empty object (no input parameters required).
    inputSchema: { type: 'object', properties: {}, },
  • Supporting method in EndpointManager class that returns the list of configured categories from the server config.
    /** * Get all available categories */ getCategories(): string[] { return this.config.categories; }
  • src/index.ts:96-96 (registration)
    Invocation of registerEndpointHandlers to include endpoint tools, such as list_categories, in the server's tool list.
    ...registerEndpointHandlers(server, endpointManager),

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