Skip to main content
Glama
NU-AquaLab

The Aleph MCP

by NU-AquaLab

thealeph_asn_hints

Retrieve geographic and network intelligence for Autonomous System Numbers to analyze network infrastructure and connectivity patterns.

Instructions

Get geographic and network hints for an ASN

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asnYesAutonomous System Number

Implementation Reference

  • Main handler function that extracts ASN parameter, calls client.getASNHints, formats the response with geographic hints or error message.
    async asnHints(params) { try { const { asn } = params; const result = await this.client.getASNHints(asn); let response = `💡 Geographic Hints for ASN ${asn}\n\n`; if (typeof result === 'object' && Object.keys(result).length > 0) { for (const [key, value] of Object.entries(result)) { response += `**${key}:** ${JSON.stringify(value, null, 2)}\n`; } } else { response += 'No hints available for this ASN.'; } return response; } catch (error) { return `❌ Failed to retrieve ASN hints: ${error.message}`; }
  • Input schema definition requiring 'asn' as string.
    name: 'thealeph_asn_hints', description: 'Get geographic and network hints for an ASN', inputSchema: { type: 'object', properties: { asn: { type: 'string', description: 'Autonomous System Number' } }, required: ['asn'] }
  • src/tools.js:242-243 (registration)
    Tool registration in the executeTool switch statement dispatching to asnHints handler.
    case 'thealeph_asn_hints': return this.asnHints(params);
  • API client helper that performs HTTP GET to /api/asn/{asn}/hints endpoint.
    * Get hints by ASN */ async getASNHints(asn) { return this.makeRequest('GET', `/api/asn/${asn}/hints`); }

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/NU-AquaLab/thealeph-mcp'

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