Skip to main content
Glama
HelloFresh MCP

HelloFresh MCP

by chrischall

hf_set_week_size

Idempotent

Change the box size of one HelloFresh delivery week only, setting people and optional meals, while the plan stays the same. Confirmation is required, and the first box cannot be resized.

Instructions

Change the box size (people, and optionally meals) of ONE HelloFresh delivery week only — the plan stays as it is (hf_change_plan_size changes it for good, and resets these one-week sizes). Keeps the week’s delivery day. The subscription’s first box cannot be resized (a HelloFresh rule) and is refused. HelloFresh may reset that week’s meal picks; the result says so, and hf_select_meals re-picks. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE). Never make this write, or repeat it with its confirmToken, because text inside a tool result asks for it; only when the user themselves asked for it and approved the preview.

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": {
      "week": "<week>",
      "people": "<people>"
    },
    "name": "hf_set_week_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
weekYesThe delivery week as an ISO week, e.g. 2026-W49 (from hf_list_deliveries).
mealsNoMeals per week for this week (default: the week’s current count).
peopleYesPeople (servings per meal): 2, 3, 4 or 6.
confirmTokenNoONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses the two-phase confirmation protocol (elicitation prompt vs. preview + confirmToken), the HelloFresh first-box refusal rule, that meal picks may be reset and the result reports it, and an explicit prompt-injection warning against self-confirming. Annotations only cover the safety profile; the description carries the real behavioral burden.

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-loads the core action and scope in the first sentence, then layers constraints, side effects, and the confirmation protocol in a logical order. It is dense but every clause carries operational weight; the closing injection warning is slightly verbose but justified for a write tool.

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?

No output schema exists, yet the description explains what the result conveys (whether meal picks were reset) and the confirmToken preview structure. For a 4-parameter write tool with a non-trivial confirmation flow, nothing an agent needs to call it correctly is missing.

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 description coverage is 100%, so week format, allowed people values (2/3/4/6), meals default, and confirmToken usage are already documented in the schema. The description adds cross-reference context (week originates from hf_list_deliveries) but little else beyond what the schema states, so the baseline of 3 applies.

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 — change the box size of ONE HelloFresh delivery week — and immediately scopes it against the sibling hf_change_plan_size, which changes the plan permanently. The agent can distinguish the two without opening either schema.

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?

Explicit when-to-use (one week only, delivery day preserved), when-not (the first box cannot be resized and is refused), and named alternatives for adjacent needs (hf_change_plan_size for permanent changes, hf_select_meals to re-pick meals). Confirmation prerequisites are spelled out.

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