foodwise-remote-mcp / planning /archive /enhance_resources_prompts.md
LeoWalker's picture
docs: Clean up and organize planning directory
e83fb75
### Plan for updating the resources to make it relevant to the inventory management concept that we're solving for
Based on research, MCP resources provide read-only contextual data that helps AI models understand the current state without requiring tool calls. For inventory management, we should add:
**🎯 New Resource Ideas:**
1. **`inventory://expiring-items`** - Real-time list of items expiring in next 7 days
- Provides immediate context for meal planning
- Helps AI prioritize items that need to be used soon
- Avoids repeated tool calls for expiration checking
2. **`inventory://meal-suggestions`** - Pre-computed meal ideas based on current inventory
- Uses available ingredients to suggest recipes
- Organized by meal type (breakfast, lunch, dinner, snacks)
- Updates based on current inventory state
3. **`inventory://storage-zones`** - Detailed breakdown of storage areas and current usage
- Pantry organization with shelf details
- Fridge zones with temperature-sensitive items
- Freezer drawer contents and freeze dates
- Helps with "where should I put this?" questions
4. **`inventory://food-safety-alerts`** - Critical food safety information
- Temperature-sensitive items requiring attention
- Items that may have been opened too long
- Cross-contamination warnings (raw meat placement)
- Food safety best practices
#### Plan for updating the prompts to make it relevant to the inventory management concept that we're solving for
Research shows MCP prompts should be comprehensive templates that include context, constraints, and formatting. For inventory management, we need prompts that help with meal planning and inventory utilization:
**🎯 New Prompt Ideas:**
1. **`meal_planning_assistant`** - Help plan meals based on available inventory
```
Context: Access to current inventory, expiring items, dietary preferences
Task: Suggest complete meal plans for the next 1-7 days
Constraints: Use expiring items first, consider prep time, balance nutrition
Output: Structured meal plan with recipes and shopping list for missing items
```
2. **`expiration_manager`** - Guide users on handling items that expire soon
```
Context: Items expiring in next 1-14 days, current meal plans
Task: Create action plan for using expiring items
Constraints: Food safety first, practical preparation methods
Output: Priority list with specific recipes and preservation suggestions
```
3. **`shopping_list_optimizer`** - Create smart shopping lists based on inventory gaps
```
Context: Current inventory, meal planning goals, storage capacity
Task: Generate optimized shopping list
Constraints: Avoid duplicates, consider storage limits, seasonal availability
Output: Organized shopping list with quantities and storage recommendations
```
4. **`fridge_cleaner_helper`** - Guide through organizing and cleaning storage areas
```
Context: Current inventory by storage location, last cleaned dates
Task: Create cleaning and organization plan
Constraints: Food safety priorities, efficient use of space
Output: Step-by-step cleaning plan with reorganization suggestions
```
5. **`leftover_transformer`** - Creative ideas for using leftovers and partial ingredients
```
Context: Leftover items, partial packages, creative cooking preferences
Task: Suggest creative ways to use remaining food
Constraints: Minimize waste, practical cooking methods
Output: Recipe suggestions with preparation tips and storage advice
```
**πŸ”§ Technical Implementation Notes:**
- Resources should cache data for 5-10 minutes to avoid constant DB queries
- Prompts should include current datetime for time-sensitive recommendations
- Both should leverage the existing Notion client for data access
- Add configuration options to customize prompt behavior (dietary restrictions, cooking skill level)
- Include error handling for when inventory is empty or outdated
**βœ… Success Metrics:**
- Reduced need for manual "what's expiring" queries
- More contextual meal planning assistance
- Faster response times due to cached resource data
- Better food waste reduction through proactive suggestions