Skip to main content
Glama

Chop it: meal planning, recipes, pantry and shopping

Choose a protein mix

prepare_weekly_menu

Compatibility planning entry point for older callers. create_weekly_menu is the main planner. Opens the optional weekly planning chooser in the widget: the user picks a protein mix (a balanced default is offered, such as 2 chicken, 1 fish and 1 veg for four dinners) and people per dinner, and the widget then builds the week. The chooser has no priority setting; a priority the user states (quick, healthy, comfort) is passed as the priority parameter. Provides optional visual mix configuration when the user wants to choose the structure before recipe generation. The default mix is a suggestion shown to the user, not a choice made for them. Returns configuration only: no recipes are chosen and no account is needed; for a signed-in account, its diet (vegetarian, vegan, pescatarian) shapes the mixes offered. When the request already states a counted mix, slotRequirements, a mixPreset or 'surprise me', this tool builds the draft directly, exactly as create_weekly_menu does. Takes the same parameters as create_weekly_menu.

Input Schema

NameRequiredDescriptionDefault
briefYesFree-text brief, e.g. 'quick midweek family dinners, no fish'.
dietaryNo
priorityNoquick and speedy are the same criterion: every dinner within 30 minutes of credible total time. healthy uses the documented per-serving nutrition rule; comfort is the curated comfort style. balanced applies no preference.
servingsNo
mixPresetNo
pantryModeNoTask only: default ignore for fresh inspiration; use only when explicitly asked to plan from stock; focus prioritises named ingredients. Never changes the diet, foods to avoid or other lasting preferences.
maxTimeMinsNoGlobal hard cap for EVERY dinner. For quick weeknights plus a slower weekend, use slotRequirements instead.
dinnersCountNoHow many dinners to plan. If omitted, the count named in the brief wins, else 5.
recipeSourceNoSaved means the linked library. Not recently planned excludes recent MCP draft selections; it does not imply never cooked.
configurationIdNoSet by the weekly chooser widget: the chooser this week is built from, so the widget can find it again after a reload.
excludeRecipeIdsNo
focusIngredientsNoOnly ingredients explicitly named for using up; do not fill from remembered inventory.
includeRecipeIdsNoRecipe ids to pin into the week.
slotRequirementsNoOne entry per dinner, in display order. Use for mixed briefs: quick slots have maxTimeMins, a slower weekend has minTimeMins and special, and a fish slot has protein fish. Empty entries mean a varied normal dinner.

Output Schema

NameRequiredDescriptionDefault
noteNo
briefNo
debugNo
titleNo
appUrlNo
statusYes
canUndoNo
dietaryNo
dinnersNo
priorityNo
progressNo
servingsNo
diversityNo
selectionNo
navigationNo
pantryModeNo
slotIssuesNo
menuDraftIdNo
savedWeekIdNo
recipeSourceNo
configurationNo
savedWeekTitleNo
diversityStatusNo
savedWeekAppUrlNo
focusIngredientsNo
selectionWarningsNo
allowedNextActionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Adds substantial context beyond annotations: configuration-only output, no recipes selected, no account required, account diet shaping the mixes offered, the default mix being a suggestion rather than a silent choice, the chooser having no priority control, and configurationId enabling reload recovery. This is genuinely useful given readOnlyHint=false. Minor gap: it doesn't say what state persists when it 'builds the draft directly' vs. only returning configuration.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the key compatibility statement, but the middle is repetitive – 'optional visual mix configuration / choose the structure before recipe generation' restates the chooser behavior already described, and the default-mix caveat is stated twice ('balanced default is offered' and 'default mix is a suggestion'). Several sentences could be merged without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 14-parameter tool with an output schema and existing annotations, the description covers the decision-relevant behavior: entry mode, trigger conditions for direct drafting, no-account/config-only output, diet influence, and widget round-tripping. Remaining gaps are the undocumented non-required parameters and the exact side effects when it drafts directly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Adds real meaning beyond the schema: it explains that priority must carry a user-stated priority because the chooser has no priority setting, names slotRequirements/mixPreset as triggers for direct drafting, and defers the rest to 'same parameters as create_weekly_menu.' With 71% coverage and several undocumented params (dietary, servings, exclude/includeRecipeIds), a bit more would be needed for a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific role (compatibility planning entry point that opens a protein-mix/weekly-planning chooser widget) and explicitly names the sibling it relates to: 'create_weekly_menu is the main planner.' It loses a point because it describes two modes (interactive chooser vs. building a draft directly) and the title ('Choose a protein mix') only covers one of them, leaving the core identity slightly muddled.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear routing context: this is for older callers/compatibility, create_weekly_menu is the main planner, and when the request already contains a counted mix, slotRequirements, mixPreset or 'surprise me' this tool builds the draft 'exactly as create_weekly_menu does.' It stops short of an explicit when-not statement (e.g., 'prefer create_weekly_menu unless the caller is a legacy client').

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Directories

Listed in ChatGPT · Chop it

Last observed

Resources