Skip to main content
Glama

memory_intelligent_analysis

Analyze project documentation to identify patterns, generate predictions, and provide actionable recommendations for improvement.

Instructions

Get intelligent analysis with patterns, predictions, and recommendations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathYesPath to the project for analysis
baseAnalysisYesBase analysis data to enhance

Implementation Reference

  • The core handler function for the memory_intelligent_analysis tool. It enhances base analysis with project history, similar projects, extracted patterns, and recommendations using the memory system, then stores the enhanced analysis.
    export async function handleMemoryIntelligentAnalysis(args: { projectPath: string; baseAnalysis: any; }): Promise<any> { await initializeMemory(); // Get project history and similar projects for enhanced analysis const projectId = args.baseAnalysis.projectId || args.projectPath; const history = await recallProjectHistory(projectId); const similarProjects = await getSimilarProjects(args.baseAnalysis); // Enhance analysis with memory insights const enhancedAnalysis = { ...args.baseAnalysis, memoryInsights: { projectHistory: history, similarProjects, patterns: await extractPatterns(args.baseAnalysis, history.history), recommendations: await generateRecommendations( args.baseAnalysis, similarProjects, ), }, }; // Remember this enhanced analysis await rememberAnalysis(args.projectPath, enhancedAnalysis); return enhancedAnalysis; }
  • Registration of the memory_intelligent_analysis tool in the memoryTools array, including name, description, and input schema.
    { name: "memory_intelligent_analysis", description: "Get intelligent analysis with patterns, predictions, and recommendations", inputSchema: { type: "object", properties: { projectPath: { type: "string", description: "Path to the project for analysis", }, baseAnalysis: { type: "object", description: "Base analysis data to enhance", }, }, required: ["projectPath", "baseAnalysis"], }, },
  • Input schema definition for the memory_intelligent_analysis tool, specifying required projectPath and baseAnalysis parameters.
    type: "object", properties: { projectPath: { type: "string", description: "Path to the project for analysis", }, baseAnalysis: { type: "object", description: "Base analysis data to enhance", }, }, required: ["projectPath", "baseAnalysis"], },

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/tosin2013/documcp'

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