Skip to main content
Glama

spiderfoot_scan_data_unique

Retrieve unique scan results from SpiderFoot OSINT reconnaissance to analyze distinct findings and eliminate duplicate data for focused investigation.

Instructions

Fetch unique scan event results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
eventTypeNo

Implementation Reference

  • Core handler logic for the 'spiderfoot_scan_data_unique' tool: makes HTTP POST request to Spiderfoot API '/scaneventresultsunique' with scan ID and optional eventType to retrieve unique event results.
    async scanEventResultsUnique(args: { id: string; eventType?: string }) { const { data } = await this.http.post('/scaneventresultsunique', { id: args.id, eventType: args.eventType ?? 'ALL', }); return data; }
  • src/index.ts:88-92 (registration)
    Registers the 'spiderfoot_scan_data_unique' tool with the MCP stdio server, including input schema {id: string, eventType?: string} and thin wrapper handler calling SpiderfootClient.scanEventResultsUnique.
    server.registerTool( 'spiderfoot_scan_data_unique', { title: 'Scan Data Unique', description: 'Fetch unique scan event results.', inputSchema: { id: z.string(), eventType: z.string().optional() } }, async ({ id, eventType }) => ({ content: [{ type: 'text', text: JSON.stringify(await sf.scanEventResultsUnique({ id, eventType })) }] }) );
  • Registers the 'spiderfoot_scan_data_unique' tool with the MCP HTTP server, including input schema {id: string, eventType?: string} and thin wrapper handler calling SpiderfootClient.scanEventResultsUnique.
    server.registerTool( 'spiderfoot_scan_data_unique', { title: 'Scan Data Unique', description: 'Fetch unique scan event results.', inputSchema: { id: z.string(), eventType: z.string().optional() } }, async ({ id, eventType }) => ({ content: [{ type: 'text', text: JSON.stringify(await sf.scanEventResultsUnique({ id, eventType })) }] }) );
  • Zod schema definition for scan data input (id: string.min(1), eventType?: string), closely matching the tool's inputSchema (used generally for scan data tools).
    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