import { z } from "zod";
export function createShoppingScenariosTool() {
return {
name: "get_shopping_scenarios",
definition: {
title: "Get Shopping Scenarios",
description: "Shows example scenarios and use cases for the Rohlik MCP - helps users understand what's possible",
inputSchema: {}
},
handler: async () => {
const output = `π ROHLIK MCP - WHAT YOU CAN DO
βββββββββββββββββββββββββββββββββββββββ
π SMART SHOPPING SCENARIOS:
1οΈβ£ MEAL-BASED SHOPPING
π¬ "Add breakfast items I typically order"
π¬ "Show me lunch suggestions for this week"
π¬ "I need dinner ingredients - suggest what I usually buy"
π¬ "Add my usual snacks to the cart"
π§ Tool: get_meal_suggestions
2οΈβ£ QUICK REORDERING
π¬ "Show my 20 most frequently purchased items"
π¬ "What do I buy most often?"
π¬ "Add my top 10 frequent items to cart"
π§ Tool: get_frequent_items
3οΈβ£ CATEGORY-BASED SHOPPING
π¬ "What dairy products do I usually buy?"
π¬ "Show my top bakery purchases"
π¬ "Add my usual fruits and vegetables"
π§ Tool: get_frequent_items (with categories)
4οΈβ£ SPECIFIC PRODUCT SEARCH
π¬ "Find organic milk and add to cart"
π¬ "Search for gluten-free bread"
π¬ "Show me all chocolates on sale"
π§ Tool: search_products + add_to_cart
5οΈβ£ WEEKLY PLANNING
π¬ "I need groceries for the whole week - suggest based on my history"
π¬ "Show what I typically buy for breakfast, lunch, and dinner"
π¬ "Help me plan my weekly shopping"
π§ Combination of meal suggestions
6οΈβ£ ORDER MANAGEMENT
π¬ "What's in my cart?"
π¬ "Show my last 5 orders"
π¬ "What did I order last week?"
π¬ "Show details of order #1234567"
π§ Tools: get_cart_content, get_order_history, get_order_detail
7οΈβ£ DELIVERY PLANNING
π¬ "When is my next delivery?"
π¬ "What delivery slots are available tomorrow?"
π¬ "Show the cheapest delivery slots this week"
π§ Tools: get_upcoming_orders, get_delivery_slots
8οΈβ£ ACCOUNT & SAVINGS
π¬ "How much have I saved with Premium?"
π¬ "What are my Premium benefits?"
π¬ "Check my reusable bags count"
π§ Tools: get_premium_info, get_reusable_bags_info
βββββββββββββββββββββββββββββββββββββββ
π― MEAL TYPES AVAILABLE:
β’ breakfast π³ - Morning essentials (bread, milk, cereals, fruits)
β’ lunch π½οΈ - Midday meal ingredients (meat, vegetables, pasta, rice)
β’ dinner π΄ - Evening meal items (meat, fish, vegetables, sides)
β’ snack πΏ - Quick bites (sweets, fruits, nuts, yogurt)
β’ baking π§ - Baking supplies (flour, sugar, chocolate, butter)
β’ drinks π₯€ - Beverages (coffee, tea, juices, water, alcohol)
β’ healthy π₯ - Health-focused (bio, vegan, gluten-free, vegetables)
βββββββββββββββββββββββββββββββββββββββ
π‘ POWER TIPS:
β¨ Combine suggestions with actions:
"Show breakfast suggestions and add top 5 to cart"
β¨ Use natural language:
"I forgot to buy milk last time, add it to my cart"
β¨ Ask for alternatives:
"Find cheaper alternative to product #123456"
β¨ Plan ahead:
"What should I order for weekend breakfast?"
β¨ Be specific:
"Add ingredients for apple pie - only gluten-free"
βββββββββββββββββββββββββββββββββββββββ
π§ AVAILABLE TOOLS (${16}):
π¦ Shopping:
β’ search_products - Find products by name
β’ add_to_cart - Add products to cart
β’ get_cart_content - View current cart
β’ remove_from_cart - Remove items
β’ get_shopping_list - View shopping lists
π€ Smart Features:
β’ get_meal_suggestions - Meal-based suggestions (NEW!)
β’ get_frequent_items - Most purchased items
β’ get_shopping_scenarios - This help (NEW!)
π Orders:
β’ get_order_history - Past orders
β’ get_order_detail - Order details
β’ get_upcoming_orders - Scheduled orders
π Delivery:
β’ get_delivery_info - Current delivery info
β’ get_delivery_slots - Available time slots
π€ Account:
β’ get_account_data - Full account info
β’ get_premium_info - Premium subscription
β’ get_announcements - Current announcements
β’ get_reusable_bags_info - Bag tracking
βββββββββββββββββββββββββββββββββββββββ
π TRY IT NOW:
Start with: "Show me breakfast suggestions based on what I usually order"
π¬ Need help? Just ask: "What can I do with Rohlik MCP?"`;
return {
content: [
{
type: "text" as const,
text: output
}
]
};
}
};
}