Skip to main content
Glama

spiderfoot_scan_data

Retrieve scan event results for a specific scan ID to analyze reconnaissance data from SpiderFoot OSINT investigations.

Instructions

Fetch scan event results for a scan ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
eventTypeNo

Implementation Reference

  • Core handler logic for fetching scan event results via HTTP POST to SpiderFoot API endpoint '/scaneventresults'. This is called by the tool's wrapper handler.
    async scanEventResults(args: { id: string; eventType?: string }) { const { data } = await this.http.post('/scaneventresults', { id: args.id, eventType: args.eventType ?? 'ALL', }); return data; }
  • src/index.ts:82-86 (registration)
    Tool registration for 'spiderfoot_scan_data' in the stdio MCP server, including input schema (id: string, optional eventType) and handler wrapper.
    server.registerTool( 'spiderfoot_scan_data', { title: 'Scan Data', description: 'Fetch scan event results for a scan ID.', inputSchema: { id: z.string(), eventType: z.string().optional() } }, async ({ id, eventType }) => ({ content: [{ type: 'text', text: JSON.stringify(await sf.scanEventResults({ id, eventType })) }] }) );
  • Tool registration for 'spiderfoot_scan_data' in the HTTP MCP server, identical to stdio version.
    server.registerTool( 'spiderfoot_scan_data', { title: 'Scan Data', description: 'Fetch scan event results for a scan ID.', inputSchema: { id: z.string(), eventType: z.string().optional() } }, async ({ id, eventType }) => ({ content: [{ type: 'text', text: JSON.stringify(await sf.scanEventResults({ id, eventType })) }] }) );
  • Zod schema for scan data input parameters, matching the tool's inputSchema (though registration uses slightly relaxed version without min(1)).
    const ScanDataSchema = z.object({ id: z.string().min(1), eventType: z.string().optional(), });

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/CorbettCajun/Spiderfoot-MCP-Server'

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