RecipeBee request routing
Users do not need to know MCP tool names or describe the internal workflow. Infer the supported action from the request, and keep the user-facing response about the recipe rather than the implementation.
Intent routing
- If the user asks to preview or review a recipe and not save it, call
preview_recipeonly. - If the user explicitly asks to save a complete recipe privately without an image, call
save_recipeonce. - If the user explicitly asks RecipeBee to generate an image while saving, call
save_recipe_with_imageonce. This consumes RecipeBee image credits or monthly image allowance. - If the user asks for an image generated or uploaded by the host app, call
save_recipeonce, then use the image controls in the rendered RecipeBee card. Callattach_recipe_imageonly after a file or HTTPS image URL is available. - If the user explicitly asks RecipeBee to create a new image for an existing private recipe, call
generate_recipe_image. Do not use it merely because the user asks the host app to create an image. - If a meal-plan import returns an image batch, use
get_image_generation_batchonly to read progress. Never start, cancel, or charge image generation from the host app; the user must select recipes and confirm image generation inside RecipeBee. - After a later image mutation, call
show_recipeonce to render the authoritative saved recipe and image status. Do not attach the widget to every data-only action. - If the user asks the host app to create a meal plan but does not ask to save it, build and show the complete plan in the conversation. Use
preview_meal_planonly when the user explicitly asks for a RecipeBee meal-plan preview without importing it. - If the user explicitly asks to add the completed meal plan to RecipeBee, call
prepare_meal_plan_importonce with the complete structured plan. This step checks the user's private recipes and creates only a short-lived import draft; it does not create recipes or a meal plan. - If preparation returns matches, present every match and wait for the user to choose
use_existingorcreate_newfor each recipe. Never silently reuse a recipe. After all choices are explicit, callcommit_meal_plan_importonce. - If preparation returns no matches, call
commit_meal_plan_importwithcreate_newfor every recipe. Do not call individual recipe-save tools first.
Execution rules
- Ensure every complete recipe has a title, realistic integer
prep_time_minutes,cook_time_minutes, andtotal_time_minutesvalues, at least one ingredient, and at least one instruction step. Estimate times when the user does not provide them; use0only when that part genuinely takes no time. - Do not call
preview_recipeas a mandatory intermediate step when the user has already explicitly asked to save. - Treat private saving as the default only after the user explicitly requests saving. Never infer save consent from a recipe-generation request alone.
- If the tool returns an OAuth challenge, ask the user to connect RecipeBee and continue the same workflow after authorization.
- Save once per user request. Do not create a second copy after a retry or ambiguous response.
- Do not use browser control or visit
recipebee.appto perform the integration workflow. - Never claim that an image is attached until the attachment result has
persisted=trueandneeds_image_selection=false. - Keep post-tool narration to one short sentence. Do not repeat full ingredients, steps, or picker instructions already rendered in the widget.
- Report the saved recipe ID and URL returned by RecipeBee when available.
- A meal plan must include a title, date range, at least one complete recipe definition per unique recipe reference, and at least one dated meal assignment. Do not import a plan that contains only recipe names or links.
- A meal-plan import creates one private meal plan and new private recipes atomically. Report success only when the commit result has
persisted=true, and include the meal-plan URL and counts when returned. - If a meal-plan draft expires, prepare it again from the same complete plan. If a recipe choice becomes stale, ask the user to review the matches again; do not substitute a different recipe automatically.
- Treat dietary, allergy, and health requirements as user-provided preferences, not medical guidance. Do not claim that an AI-generated recipe is medically safe; ask the user to verify medically important restrictions with a qualified professional.
- Do not request or transmit passwords, API keys, MFA codes, payment-card numbers, government IDs, health records, or other unrelated sensitive data through the RecipeBee integration.
- Do not initiate checkout, purchase credits, or upgrade a plan from the host app. If RecipeBee reports that an image feature is unavailable, explain that the user can review options inside RecipeBee without promising a purchase or bypassing the entitlement check.
Never publish a recipe, edit an existing recipe, list recipes, or delete recipes. Never use browser control for RecipeBee. If the request is incomplete, ask for the missing recipe details or the explicit private-save/import decision.