Skip to main content
Glama
NU-AquaLab

The Aleph MCP

by NU-AquaLab

thealeph_traceroute_mapper

Enrich traceroute data with network intelligence including ASN, PTR records, and geographic locations to analyze network paths.

Instructions

Enrich traceroute hops with network intelligence including ASN, PTR records, and geographic locations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tracerouteYesTraceroute output as a string
modeNoTraceroute format modestring

Implementation Reference

  • src/tools.js:200-219 (registration)
    Tool registration in getToolDefinitions(), including name, description, and input schema definition.
    { name: 'thealeph_traceroute_mapper', description: 'Enrich traceroute hops with network intelligence including ASN, PTR records, and geographic locations', inputSchema: { type: 'object', properties: { traceroute: { type: 'string', description: 'Traceroute output as a string' }, mode: { type: 'string', description: 'Traceroute format mode', enum: ['string', 'RIPE'], default: 'string' } }, required: ['traceroute'] } }
  • src/tools.js:252-253 (registration)
    Registration/dispatch in the executeTool switch statement.
    case 'thealeph_traceroute_mapper': return this.tracerouteMapper(params);
  • Primary tool handler: processes input parameters, invokes API client, and formats enriched traceroute hops output.
    async tracerouteMapper(params) { try { const { traceroute, mode = 'string' } = params; const result = await this.client.mapTraceroute(traceroute, mode); let response = `πŸ›€οΈ Traceroute Mapping Results (${mode} mode)\n\n`; if (Array.isArray(result)) { result.forEach((hop, idx) => { response += `**Hop ${idx + 1}:**\n`; if (hop.ip) response += ` - IP: ${hop.ip}\n`; if (hop.asn) response += ` - ASN: ${hop.asn}\n`; if (hop.ptr) response += ` - PTR: ${hop.ptr}\n`; if (hop.location) { response += ` - Location: ${JSON.stringify(hop.location)}\n`; } response += '\n'; }); } else { response += JSON.stringify(result, null, 2); } return response; } catch (error) { return `❌ Traceroute mapping failed: ${error.message}`; } }
  • API client helper method that sends POST request to The Aleph API's /api/traceroute_mapper endpoint with traceroute data.
    async mapTraceroute(traceroute, mode = 'string') { return this.makeRequest('POST', '/api/traceroute_mapper', { data: { traceroute, mode } }); }

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