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. Returns optional weekly planning configuration as data: 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, for building the week. The chooser has no priority setting; a priority the user states (quick, healthy, comfort) is passed as the priority parameter. Provides optional 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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "brief": "<brief>"
    },
    "name": "prepare_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
titleNo
appUrlNo
statusYes
canUndoNo
dietaryNo
dinnersNo
priorityNo
progressNo
recoveryNo
servingsNo
diversityNo
selectionNo
navigationNo
pantryModeNo
slotIssuesNo
menuDraftIdNo
savedWeekIdNo
recipeSourceNo
changeAppliedNo
configurationNo
savedWeekTitleNo
diversityStatusNo
savedWeekAppUrlNo
focusIngredientsNo
selectionWarningsNo
allowedNextActionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / dinners / items / properties / candidates / items / properties / protein
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / dinners / items / properties / protein
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / changeApplied
      Added value: +{
      +  "const": false,
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / recovery
      Added value: +{
      +  "const": "review_current_draft",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • removedOutput schema / properties / debug
      Removed value: -{}
  4. First observed

TDQS

B3.1/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false with destructiveHint=false; the description adds real context beyond them: returns configuration data only, no account required, and for signed-in accounts the diet (vegetarian/vegan/pescatarian) shapes the mixes offered. The default mix is explicitly a suggestion, not a decision made for the user. The only weakness is that the 'builds the draft directly' sentence dilutes the 'returns configuration only' claim.

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

Conciseness2/5

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

Roughly seven sentences with visible redundancy: 'Returns optional weekly planning configuration as data' and 'Provides optional mix configuration when the user wants to choose the structure' restate each other. The most useful routing information (create_weekly_menu is the main planner) is buried in the middle rather than front-loaded.

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

Completeness3/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, the description does cover auth requirements, return nature, and the sibling relationship, which is the essential context. But it never reconciles the configuration-only claim with the direct-draft-build claim, and several parameters receive no treatment, so an agent still has to read the schema to call it safely.

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

Parameters3/5

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

Schema coverage is 71% and the description adds marginal meaning: it explains that a user-stated priority (quick, healthy, comfort) goes into the priority parameter and that a balanced default mix is offered. It does not explain servings, configurationId, recipeSource or how slotRequirements interacts with the mix choice, leaving those to the schema.

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

Purpose3/5

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

The description identifies the resource (weekly planning configuration) and distinguishes it from create_weekly_menu as the 'main planner'. However the core verb is muddled: it is called a 'compatibility planning entry point for older callers', then 'returns configuration only: no recipes are chosen', then later 'this tool builds the draft directly, exactly as create_weekly_menu does'. The agent is left unsure whether this tool returns config data or a draft.

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

Usage Guidelines3/5

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

It gives some conditional guidance: use when the user wants to choose the structure before recipe generation, and when the request already states a counted mix, slotRequirements or 'surprise me' it behaves like create_weekly_menu. But it never states when to prefer create_weekly_menu instead beyond calling it 'the main planner', and 'for older callers' is not an actionable selection criterion.

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.

Resources