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
}
]
};
}
};
}