Skip to main content
Glama

Chop it: meal planning, recipes, pantry and shopping

Shop these dinners

shop_week

Builds the shopping list for the exact completed menuDraftId or the displayed currentWeek with its active collection and per-dinner servings and returns its summary and Chop it review URL in one call. Never purchases anything. Leaves Saved Weeks and This Week unchanged. Requires a linked Chop it account.

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": "shop_week"
  }
}

Input Schema

NameRequiredDescriptionDefault
currentWeekNoThe exact saved-week card, including each displayed serving count.
menuDraftIdNo

Output Schema

NameRequiredDescriptionDefault
noteNo
appUrlYes
countsNo
reviewNo
messageYes
providerYesWho hosts the review: "Chop it".
revisionNo
whiskUrlYesKept for compatibility: the same Chop it review page as handoffUrl. Not a retailer link and not a purchase.
handoffUrlYes
reviewInWorkNo
shoppingListIdYes
sourceMenuDraftIdNo
remainingItemCountNo
sourceCollectionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / currentWeek
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The exact saved-week card, including each displayed serving count.",
      +  "properties": {
      +    "activeCollectionId": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "dinners": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "recipeId": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "servings": {
      +            "exclusiveMinimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "recipeId",
      +          "servings"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 100,
      +      "minItems": 1,
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "activeCollectionId",
      +    "dinners"
      +  ],
      +  "type": "object"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "menuDraftId"
      -]
    • addedOutput schema / properties / sourceCollectionId
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "shoppingListId",
      -  "appUrl",
      -  "handoffUrl",
      -  "whiskUrl",
      -  "provider",
      -  "message",
      -  "sourceMenuDraftId"
      -]New value: +[
      +  "shoppingListId",
      +  "appUrl",
      +  "handoffUrl",
      +  "whiskUrl",
      +  "provider",
      +  "message"
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / review / items / properties / items / items / properties / retailerTarget
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "name": {
      +          "type": "string"
      +        },
      +        "quantity": {
      +          "type": "number"
      +        },
      +        "unit": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "quantity",
      +        "unit"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / reviewInWork
      Added value: +{
      +  "const": true,
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and destructiveHint=false, but the description adds substantive context beyond them: nothing is purchased, Saved Weeks and This Week are left untouched, and both the summary and the Chop it review URL come back in a single call. This materially clarifies the side-effect footprint of a non-idempotent, open-world operation.

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?

The lead sentence is a long run-on that chains the two input modes, the return value and 'in one call' together, forcing a re-read. The two trailing sentences are tight and earn their place, but the core purpose statement should have been split.

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?

Output is covered by the output schema, and the account prerequisite and side-effect boundaries are stated. However, both parameters are optional and the description never says what happens when neither is supplied or which one wins if both are passed, which is the main behavioral ambiguity left for a nested-object tool.

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

Parameters5/5

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

Schema coverage is only 50%, yet the description compensates: menuDraftId must be the 'exact completed' draft, and currentWeek must be the 'displayed' card including active collection and per-dinner servings. That is exactly the disambiguation an agent needs when choosing between two optional inputs.

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?

Names a specific verb and resource ('Builds the shopping list') and enumerates the two accepted inputs, so the agent knows exactly what the call produces. It stops short of distinguishing this from siblings like create_shopping_list or open_shop_handoff, which an agent could easily confuse with 'shop these dinners'.

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 real selection conditions for the two modes: an 'exact completed menuDraftId' or the 'displayed currentWeek' with its active collection and per-dinner servings, plus the prerequisite of a linked Chop it account. It offers no explicit exclusions or named alternatives, so the agent must infer that this is not the tool for open-ended list creation.

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