Skip to main content
Glama

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
NameRequiredDescriptionDefault
testNoTest fuzzy matching with typos like "raect" or "chr ext"

Implementation Reference

  • 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
        }]
      };
    }
  • 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"'
          }
        },
      }
    },
    {

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/Wolfe-Jam/grok-faf-mcp'

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