Skip to main content
Glama

faf_sync

Sync .faf files with CLAUDE.md to maintain documentation consistency across projects.

Instructions

Sync .faf with CLAUDE.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handleFafSync function implements the logic for the faf_sync tool by calling the sync method on the engineAdapter.
    private async handleFafSync(_args: any): Promise<CallToolResult> {  // ✅ FIXED: Prefixed unused args
      const result = await this.engineAdapter.callEngine('sync');
    
      if (!result.success) {
        return {
          content: [{
            type: 'text',
            text: `🔄 Claude FAF Sync:\n\nFailed to sync: ${result.error}`
          }],
          isError: true
        };
      }
    
      const output = typeof result.data === 'string'
        ? result.data
        : result.data?.output || JSON.stringify(result.data, null, 2);
    
      return {
        content: [{
          type: 'text',
          text: `🔄 Claude FAF Sync:\n\n${output}`
        }]
      };
    }
  • The tool definition for faf_sync registered in the handlers list.
      name: 'faf_sync',
      description: 'Sync .faf with CLAUDE.md',
      inputSchema: {
        type: 'object',
        properties: {},
      }
    },
  • Type definition for the arguments of faf_sync tool.
    export interface FafSyncArgs {
      direction?: string;
    }

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