Skip to main content
Glama

get_network_infrastructure_endpoints

Retrieve endpoints for blockchain network and infrastructure data, including network health, gas prices, mempool monitoring, transaction analysis, and exchange infrastructure status across major platforms.

Instructions

Get all endpoints in the "Network & Infrastructure" category. Endpoints for blockchain network information, network health monitoring, gas price tracking, network statistics, asset platform data, infrastructure metrics across different blockchain networks, real-time mempool monitoring, pending transaction analysis, transaction status simulation, MEV detection and protection, gas fee optimization, arbitrage opportunity identification, comprehensive blockchain activity monitoring, community-contributed insights and annotations, data platform system updates monitoring, centralized exchange (CEX) infrastructure including system status monitoring, server time synchronization, available trading markets/pairs browsing, and supported currencies listing across major exchanges.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler implementation for the 'get_network_infrastructure_endpoints' tool. This shared handler for category endpoint tools calls getAllToolsInCategory to retrieve the list of tools in the 'Network & Infrastructure' category and formats them into a response listing tool names and descriptions.
    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 })), }); },
  • Tool registry entry defining the name, description, and list of underlying tools for 'get_network_infrastructure_endpoints'.
    { "category": "Network & Infrastructure", "name": "get_network_infrastructure_endpoints", "description": "Endpoints for blockchain network information, network health monitoring, gas price tracking, network statistics, asset platform data, infrastructure metrics across different blockchain networks, real-time mempool monitoring, pending transaction analysis, transaction status simulation, MEV detection and protection, gas fee optimization, arbitrage opportunity identification, comprehensive blockchain activity monitoring, community-contributed insights and annotations, data platform system updates monitoring, centralized exchange (CEX) infrastructure including system status monitoring, server time synchronization, available trading markets/pairs browsing, and supported currencies listing across major exchanges.", "tools": [ "onchain_networks_browser", "list_blockchain_networks", "check_network_health", "fetch_network_metrics", "get_gas_prices", "asset_platforms_browser", "community_notes_data", "monitor_system_updates", "exchange_system_status", "exchange_server_time", "exchange_markets_browser", "exchange_currencies_browser" ]
  • Tool schema definition (empty input schema since no parameters required) for category endpoint tools including 'get_network_infrastructure_endpoints'.
    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),
  • Helper function getAllToolsInCategory used by the tool handler to resolve tool names in the category to full tool objects from 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; }

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