analyze_project_summary
Analyze project summaries to generate actionable suggestions for Memory Bank content, aiding structured documentation and context preservation in AI 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 function for the 'analyze_project_summary' tool, decorated with @mcp.tool() for registration. It returns a fixed string with suggestions for Memory Bank files, ignoring the input project_summary.@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"""
- src/mcp_memory_bank/main.py:56-56 (registration)The @mcp.tool() decorator registers the analyze_project_summary function as an MCP tool.@mcp.tool()
- src/mcp_memory_bank/main.py:57-62 (schema)The function signature and docstring define the input schema (project_summary: str) and output (str). FastMCP likely uses this for tool schema.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)