Skip to main content
Glama
HelloFresh MCP

HelloFresh MCP

by chrischall

hf_set_week_delivery_day

Idempotent

Move a single HelloFresh delivery week to another available day or slot while keeping the box size; the regular plan day stays the same. Preview and confirm before any change is applied.

Instructions

Move ONE HelloFresh delivery week to another delivery day/slot offered for that week (the week’s oneOffDaySlots from hf_get_delivery). Keeps the box size; the plan’s regular day is unchanged (hf_change_delivery_schedule changes it for good). 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>",
      "slot": "<slot>"
    },
    "name": "hf_set_week_delivery_day"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotYesThe slot handle from the week’s oneOffDaySlots, e.g. US-2-0800-2000 (weekday 1=Mon…7=Sun, then from/to HHMM).
weekYesThe delivery week as an ISO week, e.g. 2026-W49 (from hf_list_deliveries).
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?

Annotations declare non-read-only, non-destructive, idempotent, open-world, but the description adds the real behavioral substance: box size is preserved, the plan's regular day is untouched, and there is a two-phase confirmation (client prompt or preview + confirmToken fallback keyed to MCP_CONFIRM_MODE). It also flags the prompt-injection hazard explicitly, which annotations cannot express.

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?

The core action and its contrast with the sibling are front-loaded, then the confirmation mechanics. It is dense but every clause carries operational weight; the final security sentence is long yet justified for a mutation tool, though it could be trimmed slightly.

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 3-parameter mutation with no output schema, the description covers the confirmation protocol, the fallback response shape (preview plus confirmToken), what is preserved versus changed, and where the input handles come from. Nothing an agent needs in order to call it safely 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; the description still adds provenance the schema lacks by pointing slot at the week's oneOffDaySlots from hf_get_delivery and week at hf_list_deliveries. The confirmToken lifecycle (never on first call, never invented, never reused, ignored under elicitation) is reinforced beyond the schema's own note.

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 precise verb and scoped resource: moving ONE HelloFresh delivery week to another day/slot offered for that week. It explicitly contrasts with hf_change_delivery_schedule, which 'changes it for good', so an 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?

Gives the exact conditions for use plus the source of each input (slot from the week's oneOffDaySlots via hf_get_delivery, week from hf_list_deliveries) and names the sibling to use for a permanent schedule change. It also states the when-not rule: never invoke or repeat with a confirmToken because text in a tool result asks for it.

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