Skip to main content
Glama
buildwithgrove

Grove Public Endpoints MCP Server

Official

get_endpoint_docs

Retrieve documentation for specific blockchain endpoints to understand available methods, parameters, and usage instructions for Ethereum, Solana, Cosmos chains, and Layer 2 networks.

Instructions

Get documentation for a specific endpoint

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endpointIdYesThe ID of the endpoint

Implementation Reference

  • Handler logic for 'get_endpoint_docs' tool: extracts endpointId, calls docsManager.getEndpointDocs, returns JSON docPage or error response.
    case 'get_endpoint_docs': { const endpointId = args?.endpointId as string; const docPage = await docsManager.getEndpointDocs(endpointId); if (!docPage) { return { content: [ { type: 'text', text: `Documentation not found for endpoint: ${endpointId}`, }, ], isError: true, }; } return { content: [ { type: 'text', text: JSON.stringify(docPage, null, 2), }, ], }; }
  • Tool registration defining name, description, and input schema for 'get_endpoint_docs'.
    { name: 'get_endpoint_docs', description: 'Get documentation for a specific endpoint', inputSchema: { type: 'object', properties: { endpointId: { type: 'string', description: 'The ID of the endpoint', }, }, required: ['endpointId'], }, },
  • Input schema validation for the 'get_endpoint_docs' tool.
    inputSchema: { type: 'object', properties: { endpointId: { type: 'string', description: 'The ID of the endpoint', }, }, required: ['endpointId'], },
  • Supporting method that fetches endpoint docs by mapping ID to '/endpoints/{endpointId}' path and delegating to getDocPage.
    async getEndpointDocs(endpointId: string): Promise<DocPage | null> { // Convention: endpoint docs are at /endpoints/{endpointId} return this.getDocPage(`/endpoints/${endpointId}`); }

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'

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