analyze_project_summary
Analyze project summaries to generate structured content suggestions for memory banks, helping preserve context in AI assistant environments.
Instructions
Analyze a project summary and provide suggestions for Memory Bank content.
Args:
project_summary: A summary of the project
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_summary | Yes |
Implementation Reference
- src/mcp_memory_bank/main.py:56-121 (handler)The handler implementation for the analyze_project_summary tool. It is registered via the @mcp.tool() decorator. The function takes a project_summary string but currently ignores it and returns a static multi-line string providing suggestions for Memory Bank files structure and next steps.@mcp.tool() async def analyze_project_summary(project_summary: str) -> str: """Analyze a project summary and provide suggestions for Memory Bank content. Args: project_summary: A summary of the project """ # Extract potential project name (first few words) return f"""Based on your project summary, here are suggestions for your Memory Bank: ### Core Files (Required) 1. `memory_bank_instructions.md` - Instructions for the Memory Bank - Describes how to use the Memory Bank 2. `projectbrief.md` - Foundation document that shapes all other files - Created at project start if it doesn't exist - Defines core requirements and goals - Source of truth for project scope 3. `productContext.md` - Why this project exists - Problems it solves - How it should work - User experience goals 4. `activeContext.md` - Current work focus - Recent changes - Next steps - Active decisions and considerations - Important patterns and preferences - Learnings and project insights 5. `systemPatterns.md` - System architecture - Key technical decisions - Design patterns in use - Component relationships - Critical implementation paths 6. `techContext.md` - Technologies used - Development setup - Technical constraints - Dependencies - Tool usage patterns 7. `progress.md` - What works - What's left to build - Current status - Known issues - Evolution of project decisions ## Files Location: All files must be located in the 'memory-bank/' directory ## Next Steps: 1. Create 'memory-bank/' directory 2. Fetch and create 'memory_bank_instructions.md' file as is without any edits 3. Create the core files using our templates 4. Fill in the details based on these suggestions 5. Update regularly as your project evolves 6. Ensure details accurately reflect your project context and current state"""