faf_friday
Detect Chrome Extensions and perform fuzzy matching to identify tools despite typos or variations in spelling.
Instructions
Friday features — Chrome Extension detection, fuzzy matching
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | No | Test fuzzy matching with typos like "raect" or "chr ext" |
Implementation Reference
- src/handlers/tools.ts:963-1010 (handler)Implementation of the faf_friday tool handler, which provides fuzzy matching, project type detection, and Chrome extension auto-detection previews.
private async handleFafFriday(args: any): Promise<CallToolResult> { const { test } = args || {}; let response = `🎉 **Friday Features in FAF MCP!**\n\n`; response += `**Chrome Extension Auto-Detection** | Boosts scores to 90%+ automatically\n`; response += `**Universal Fuzzy Matching** | Typo-tolerant: "raect"→"react", "chr ext"→"chrome extension"\n`; response += `**Intel-Friday™** | Smart IF statements that add massive value\n\n`; if (test) { // Test fuzzy matching const suggestion = FuzzyDetector.getSuggestion(test); const projectType = FuzzyDetector.detectProjectType(test); const chromeDetection = FuzzyDetector.detectChromeExtension(test); response += `\n**Testing: "${test}"**\n`; if (suggestion) { response += `✅ Fuzzy Match: "${test}" → "${suggestion}"\n`; } response += `📦 Project Type Detected: ${projectType}\n`; if (chromeDetection.detected) { response += `🎯 Chrome Extension Detected! (Confidence: ${chromeDetection.confidence})\n`; if (chromeDetection.corrected) { response += ` Corrected from: "${test}" → "${chromeDetection.corrected}"\n`; } } // Show what would be auto-filled if (chromeDetection.detected && chromeDetection.confidence === 'high') { response += `\n**Auto-fill Preview (7 slots for 90%+ score):**\n`; const slots = FuzzyDetector.getChromeExtensionSlots(); for (const [key, value] of Object.entries(slots)) { response += `• ${key}: ${value}\n`; } } } else { response += `\n💡 Try: \`faf_friday test:"raect"\` or \`faf_friday test:"chr ext"\``; } return { content: [{ type: 'text', text: response }] }; } - src/handlers/tools.ts:200-213 (registration)Tool registration definition for faf_friday in the tools list.
{ name: 'faf_friday', description: 'Friday features — Chrome Extension detection, fuzzy matching', inputSchema: { type: 'object', properties: { test: { type: 'string', description: 'Test fuzzy matching with typos like "raect" or "chr ext"' } }, } }, {