Skip to main content
Glama

get_search_discovery_endpoints

Retrieve all endpoints in the Search & Discovery category for cryptocurrency search, trending analysis, token discovery, new coin listings, and market-wide search capabilities.

Instructions

Get all endpoints in the "Search & Discovery" category. Endpoints for cryptocurrency search functionality, trending analysis, coin categorization, token discovery, new coin listings, comprehensive search capabilities across coins, categories, and markets, event categorization and labeling systems.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Dynamically generates the MCP tool 'get_search_discovery_endpoints' (when processing ToolRegistry entry for Search & Discovery category). Defines empty input schema, tool metadata, and handler that lists available tools in the category by fetching via getAllToolsInCategory, mapping to name/description, and formatting as text content.
    // Create category-specific endpoints that act as list functionality const categoryTools = ToolRegistry.map(category => { const categorySchema = z.object({}); const categoryEndpointName = category.name; return { metadata: { resource: 'dynamic_tools', operation: 'read' as const, tags: ['category'], }, tool: { name: categoryEndpointName, description: `Get all endpoints in the "${category.category}" category. ${category.description}`, inputSchema: zodToInputSchema(categorySchema), }, handler: async ( args: Record<string, unknown> | undefined, ): Promise<any> => { const toolsInCategory = getAllToolsInCategory(category.category); return asTextContentResult({ category: category.category, description: category.description, tools: toolsInCategory.map((tool ) => ({ name: tool.name, description: tool.description })), }); }, }; }); return [getEndpointTool, callEndpointTool, ...categoryTools];
  • Registry entry defining 'get_search_discovery_endpoints' as the discovery tool name for the Search & Discovery category, listing the specific tools it exposes.
    { "category": "Search & Discovery", "name": "get_search_discovery_endpoints", "description": "Endpoints for cryptocurrency search functionality, trending analysis, coin categorization, token discovery, new coin listings, comprehensive search capabilities across coins, categories, and markets, event categorization and labeling systems.", "tools": [ "search_browser", "search_trending_browser", "coins_categories_browser", "coins_list_browser", "new_coins_list_browser", "coins_categories_market_data", "exchanges_list_simple", "derivatives_exchanges_list", "event_labels_list" ] },
  • Helper function called by the tool handler to retrieve the full tool definitions for the category by matching names from registry against supportedTools.
    export function getAllToolsInCategory(category: string){ let categoryUsed = ToolRegistry.find(tool => tool.category === category); if(!categoryUsed){ return [] } const allWrappedTools = supportedTools // return all the tools from wrapped tools that are in the category (name match) let toolsInCategory = []; for (const tool of categoryUsed.tools){ const wrappedTool = allWrappedTools.find(wrappedTool => wrappedTool.name === tool); if(wrappedTool){ toolsInCategory.push(wrappedTool); } else console.log(`Tool ${tool} not found in wrapped tools`); } return toolsInCategory; }
  • Maps category index 8 (Search & Discovery) to HTTP MCP endpoint '/hive_search_discovery/mcp' (though HTTP server code is currently commented out).
    8: "/hive_search_discovery/mcp", // Search & Discovery 9: "/hive_social_sentiment/mcp" // Social Media & Sentiment Analytics

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/hive-intel/hive-crypto-mcp'

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