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.

Instructions

List all available endpoint categories

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler implementation for 'list_categories'. Retrieves categories via endpointManager and returns formatted JSON response.
    case 'list_categories': {
      const categories = endpointManager.getCategories();
    
      return {
        content: [
          {
            type: 'text',
            text: JSON.stringify(categories, null, 2),
          },
        ],
      };
    }
  • Tool registration definition for 'list_categories', including name, description, and empty input schema (no parameters). Returned by registerEndpointHandlers for server registration.
    {
      name: 'list_categories',
      description: 'List all available endpoint categories',
      inputSchema: {
        type: 'object',
        properties: {},
      },
    },
  • Input schema validation for list_categories tool (accepts empty object).
    inputSchema: {
      type: 'object',
      properties: {},
    },
  • Helper method in EndpointManager that provides the list of categories from server configuration, called by the tool handler.
    /**
     * Get all available categories
     */
    getCategories(): string[] {
      return this.config.categories;
    }
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. While 'List all' suggests a read-only operation that returns comprehensive data, it doesn't specify whether this is a simple enumeration or involves filtering, pagination, rate limits, or authentication requirements. The description is minimal and lacks operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that communicates the essential purpose without any wasted words. It's appropriately sized for a simple enumeration tool and gets straight to the point with no unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a parameterless tool with no output schema, the description provides the basic purpose but lacks important context about what 'endpoint categories' means in this system, what format the output takes, or how this tool relates to others. While adequate for a simple listing function, it leaves significant gaps about the tool's role and behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters with 100% schema description coverage, so the schema already fully documents the parameter situation. The description appropriately doesn't discuss parameters since none exist, maintaining focus on the tool's purpose. This meets the baseline expectation for parameterless tools.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'List all available endpoint categories' clearly states the verb ('List') and resource ('endpoint categories'), making the tool's purpose immediately understandable. It doesn't specifically differentiate from sibling tools like 'list_endpoints' or 'list_blockchain_services', but the focus on 'categories' provides reasonable distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'list_endpoints' or 'get_endpoint_details'. There's no mention of prerequisites, typical use cases, or relationships to other tools in the system.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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