Skip to main content
Glama

Chop it: meal planning, recipes, pantry and shopping

Review a dinner draft

get_menu_draft
Idempotent

Returns the current state of a menu draft: dinner slots and their labels, the offered choices, what is selected and locked, servings and slotIssues. Useful before an edit, after the user has chosen dinners in the widget, or whenever the latest menuDraftId is uncertain. Follows revisions of that exact draft. Unavailable drafts can be recovered through open_saved_week with their exact known savedWeekId; otherwise the user needs to reopen the intended week. Works before sign-in for a draft built before sign-in; once the user links their account, reading the draft attaches it to that account and, if they have no This Week, saves it as their week. The note states when the dinners are in the app.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_menu_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
menuDraftIdNoThe draft to read. Omit only when reading by configurationId.
configurationIdNoSet by the weekly chooser widget after a reload: reads the newest draft built from that chooser.

Output Schema

NameRequiredDescriptionDefault
noteNo
briefNo
titleYes
appUrlYes
statusYes
canUndoNo
dietaryNo
dinnersYes
priorityNo
progressYes
recoveryNo
servingsYes
diversityNo
selectionYes
navigationNo
pantryModeNo
slotIssuesNo
menuDraftIdYes
savedWeekIdNo
recipeSourceNo
changeAppliedNo
savedWeekTitleNo
diversityStatusNo
savedWeekAppUrlNo
focusIngredientsNo
selectionWarningsNo
allowedNextActionsYes

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

A4.6/5.0
Behavior4/5

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

The description goes well past the annotations by disclosing a real side effect: reading a pre-sign-in draft attaches it to the account and may save it as This Week, which is consistent with readOnlyHint=false. It also covers the failure/recovery path and the note about when dinners are in the app. The only soft spot is that the closing note sentence is vague about what the note contains, but the mutation disclosure is unusually candid.

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

Conciseness4/5

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

Front-loaded with what is returned, then usage, then failure and auth edge cases – a sensible ordering with almost no waste. The final sentence ('The note states when the dinners are in the app') is dangling and unclear about which note or what it says, and the auth-linking paragraph is dense, which keeps it off a 5.

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

Completeness5/5

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

For a two-parameter read tool with an output schema, the description covers the remaining risk surface: pre-sign-in behavior, account attachment side effects, revision semantics, and recovery when the draft is unavailable. Nothing an agent needs in order to call this safely or interpret its scope is missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning by saying it 'Follows revisions of that exact draft', clarifying that menuDraftId is a stable identity across revisions rather than a snapshot id. It also hints that an uncertain latest draft id is a reason to read by the other key, which lightly reinforces the configurationId parameter without restating the schema.

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

Purpose5/5

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

States a specific verb and resource ('Returns the current state of a menu draft') and then enumerates the exact payload: dinner slots and labels, offered choices, what is selected and locked, servings and slotIssues. An agent can immediately distinguish this read-a-draft tool from sibling writers like create_weekly_menu or revise_weekly_menu.

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

Usage Guidelines5/5

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

Gives explicit trigger conditions: before an edit, after the user has chosen dinners in the widget, or whenever the latest menuDraftId is uncertain. It also names the alternative path for the failure case ('Unavailable drafts can be recovered through open_saved_week with their exact known savedWeekId'), so the agent knows both when to call this and what to do when it cannot be called.

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