Skip to main content
Glama
buildwithgrove

Grove's MCP Server for Pocket Network

list_endpoints

Discover available Pocket Network endpoints across 70+ blockchain networks. Filter by category to find specific endpoints for Ethereum, Solana, Cosmos, Sui, and other chains.

Instructions

List all available Pocket Network endpoints, optionally filtered by category

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoOptional category to filter endpoints

Implementation Reference

  • Handler function for the 'list_endpoints' tool. Extracts optional category filter from input arguments, retrieves endpoints from EndpointManager (filtered or all), and returns them as a formatted JSON text response.
    case 'list_endpoints': {
      const category = args?.category as string | undefined;
      const endpoints = category
        ? endpointManager.getEndpointsByCategory(category)
        : endpointManager.getAllEndpoints();
    
      return {
        content: [
          {
            type: 'text',
            text: JSON.stringify(endpoints, null, 2),
          },
        ],
      };
    }
  • Tool registration object defining the 'list_endpoints' tool's name, description, and input schema for optional category filtering. Returned by registerEndpointHandlers for inclusion in the server's tool list.
    {
      name: 'list_endpoints',
      description: "List all available Pocket Network endpoints, optionally filtered by category",
      inputSchema: {
        type: 'object',
        properties: {
          category: {
            type: 'string',
            description: 'Optional category to filter endpoints',
          },
        },
      },
    },
  • Input schema for the 'list_endpoints' tool, defining an optional 'category' string property for filtering endpoints.
    inputSchema: {
      type: 'object',
      properties: {
        category: {
          type: 'string',
          description: 'Optional category to filter endpoints',
        },
      },
    },
  • src/index.ts:96-96 (registration)
    Invocation of registerEndpointHandlers in the main server setup, adding endpoint tools including 'list_endpoints' to the server's tools array.
    ...registerEndpointHandlers(server, endpointManager),
  • src/index.ts:122-122 (registration)
    Dispatch to handleEndpointTool in the central tool execution handler, routing 'list_endpoints' calls to its specific implementation.
    (await handleEndpointTool(name, args, endpointManager)) ||
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions the filtering capability but fails to describe critical behaviors such as pagination, rate limits, authentication requirements, error handling, or the format of the returned data. For a list operation with zero annotation coverage, this leaves significant gaps in understanding how the tool behaves.

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 front-loads the core functionality ('List all available Pocket Network endpoints') and adds the optional filtering detail without any wasted words. It's appropriately sized for a simple tool with one parameter.

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

Completeness2/5

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

Given the lack of annotations and output schema, the description is incomplete. It doesn't address the return format, pagination, error cases, or authentication needs, which are essential for an agent to use this tool effectively. While the purpose is clear, the behavioral and output details are missing, making it inadequate for full contextual understanding.

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

Parameters3/5

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

The schema description coverage is 100%, with the single parameter 'category' fully documented in the input schema. The description adds minimal value by mentioning the optional filtering by category, but doesn't provide additional context like valid category values or examples. With high schema coverage, the baseline score of 3 is appropriate.

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 clearly states the tool's purpose with a specific verb ('List') and resource ('all available Pocket Network endpoints'), making it easy to understand what the tool does. However, it doesn't explicitly differentiate itself from sibling tools like 'get_endpoint_details' or 'list_categories', which would require a 5.

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

Usage Guidelines3/5

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

The description implies usage through the phrase 'optionally filtered by category', suggesting it can be used for both unfiltered listing and filtered queries. However, it provides no explicit guidance on when to use this tool versus alternatives like 'list_categories' or 'get_endpoint_details', nor does it mention any prerequisites or exclusions.

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