Skip to main content
Glama
buildwithgrove

Grove's MCP Server for Pocket Network

get_endpoint_details

Retrieve detailed information about specific blockchain endpoints to understand their capabilities and configuration for accessing blockchain data across multiple networks.

Instructions

Get detailed information about a specific endpoint

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endpointIdYesThe ID of the endpoint to retrieve

Implementation Reference

  • Tool registration object defining the name, description, and input schema for 'get_endpoint_details'.
    { name: 'get_endpoint_details', description: 'Get detailed information about a specific endpoint', inputSchema: { type: 'object', properties: { endpointId: { type: 'string', description: 'The ID of the endpoint to retrieve', }, }, required: ['endpointId'], }, },
  • Input schema specifying the required 'endpointId' string parameter for the tool.
    inputSchema: { type: 'object', properties: { endpointId: { type: 'string', description: 'The ID of the endpoint to retrieve', }, }, required: ['endpointId'],
  • Handler function that retrieves the endpoint details by ID from the EndpointManager and returns them as JSON, or an error if not found.
    case 'get_endpoint_details': { const endpointId = args?.endpointId as string; const endpoint = endpointManager.getEndpointById(endpointId); if (!endpoint) { return { content: [ { type: 'text', text: `Endpoint not found: ${endpointId}`, }, ], isError: true, }; } return { content: [ { type: 'text', text: JSON.stringify(endpoint, null, 2), }, ], }; }
  • src/index.ts:96-96 (registration)
    Call to registerEndpointHandlers which includes the get_endpoint_details tool in the server's tools list.
    ...registerEndpointHandlers(server, endpointManager),
  • src/index.ts:122-122 (registration)
    Invocation of the endpoint tool handler in the main tool dispatcher, routing calls to get_endpoint_details to its case.
    (await handleEndpointTool(name, args, 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