Skip to main content
Glama
HelloFresh MCP

HelloFresh MCP

by chrischall

hf_select_meals

Idempotent

Pick meals for one HelloFresh delivery week by choosing menu indexes that match your box's meal count before the cutoff, with a preview and confirmation before replacing current picks.

Instructions

Pick the meals for one HelloFresh delivery week, replacing the current picks. Give the menu indexes from hf_get_menu (a protein swap’s index works too); the count (with quantities) must equal the box’s meals per week, and only before the week’s cutoff. Re-reads the menu afterwards to verify the 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>",
      "meals": "<meals>"
    },
    "name": "hf_select_meals"
  }
}

Input Schema

NameRequiredDescriptionDefault
weekYesThe delivery week as an ISO week, e.g. 2026-W49 (from hf_list_deliveries).
mealsYesThe COMPLETE selection: menu indexes, or {index, quantity} for more than one of a meal. A repeated index adds up.
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.8/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) by disclosing that existing picks are replaced, that the menu is re-read afterwards to verify, that a cutoff applies, and the exact two-phase confirmation mechanics with confirmToken. The overwrite semantics are a mild tension with destructiveHint=false, but since the operation is idempotent and re-selectable it reads as overwrite rather than irreversible destruction, not a contradiction. The anti-prompt-injection clause adds unusually valuable safety context for a write tool.

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 the action, then constraints, then confirmation mechanics and a safety rule — a sensible ordering with no filler. The confirmation behavior is described twice (initial summary and the closing safety sentence), which is defensible for emphasis but slightly redundant.

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 mutating tool with three parameters, no output schema, and a non-trivial two-step confirmation protocol, the description covers preconditions, verification behavior, and per-client confirmation modes (including the MCP_CONFIRM_MODE reference) that an agent would otherwise guess wrong. Nothing essential to invoking it correctly 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, and the description adds real meaning on top: it identifies hf_get_menu as the source of indexes, notes protein-swap indexes are valid, and imposes a cross-parameter constraint (total count with quantities must equal meals per week) that the schema does not state. It does not further explain the confirmToken mechanics beyond what the schema description already covers, hence not a 5.

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 concrete verb and resource ('Pick the meals for one HelloFresh delivery week') and immediately qualifies the scope with 'replacing the current picks', which distinguishes it from suggestion/read siblings like hf_suggest_meals and hf_get_menu. An agent can tell exactly what this call changes without opening the 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?

Gives explicit preconditions and constraints: indexes must come from hf_get_menu (protein swap indexes accepted), the count with quantities must equal the box's meals per week, and it only works before the week's cutoff. It also names the required user-confirmation step and the fallback flow, so when-to-use and when-not-to-use are both answered.

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