Skip to main content
Glama
HelloFresh MCP

HelloFresh MCP

by chrischall

hf_plan_weeks

Read-onlyIdempotent

Plan up to six HelloFresh delivery weeks in one read for a chosen planner profile, returning per-week meals, box sizes, prices, and follow-up write steps while avoiding repeat recipes across weeks.

Instructions

Plan up to 6 HelloFresh delivery weeks in one read, each for the planner profile the caller names (hf_list_profiles): every week gets the same answer as hf_weekly_plan (box size needed, picks with alternates, price, summary, follow-up writes), and no recipe planned for an earlier week is suggested again in a later one (on top of the recent-picks rule). Returns a combined summary (one line per week), the total of HelloFresh’s own box prices (weeks with only a local estimate are named, not added), and the follow-up write calls per week in order (hf_set_week_size where needed, then hf_select_meals). A skipped week is reported as skipped, with no suggestions; a week whose menu HelloFresh has not published yet is reported as menu_not_published. Which profile each week gets (e.g. from a calendar) is the caller’s decision: this tool does not read a calendar. Read-only: it changes nothing.

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": {
      "weeks": "<weeks>"
    },
    "name": "hf_plan_weeks"
  }
}

Input Schema

NameRequiredDescriptionDefault
weeksYesThe weeks to plan (1–6), each with the profile the caller decided applies to it; planned in week order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond readOnlyHint/idempotentHint/openWorldHint, the description discloses substantive behavior: cross-week recipe deduplication ("no recipe planned for an earlier week is suggested again in a later one"), the return shape (per-week line, HelloFresh-price total with locally-estimated weeks named but not summed), the ordered follow-up write calls, and the two special outcomes (skipped, menu_not_published). This is exactly the kind of state and edge-case context annotations cannot carry.

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 critical facts — batch scope, sibling equivalence, return shape, special cases, read-only — are front-loaded, and no sentence is filler. It is a single dense paragraph, though, and the long parenthetical about box-price totals is harder to parse than a short bulleted breakdown would be.

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 one-parameter batch tool with no output schema, the description covers inputs, ordering, dedupe rules, return composition, follow-up writes, and both degenerate week states. An agent has everything needed to call it correctly and interpret the result.

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% and both nested fields (week ISO pattern, profile name with built-ins) are already documented in the schema. The description reinforces that profile selection is a caller decision and that weeks are processed in order and cross-deduplicated, but adds little syntax or constraint detail beyond what the schema states.

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?

The description opens with a specific verb+resource+scope: "Plan up to 6 HelloFresh delivery weeks in one read." It immediately distinguishes itself from the single-week sibling by stating every week "gets the same answer as hf_weekly_plan," so an agent can tell batch from singular 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 Guidelines4/5

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

It gives clear usage context: profiles come from hf_list_profiles, weeks come from hf_list_deliveries, and "Which profile each week gets ... is the caller's decision: this tool does not read a calendar" sets an explicit boundary on non-behavior. What's missing is an explicit routing statement such as "for a single week use hf_weekly_plan instead" — the equivalence is stated but the alternative is never named as the choice for n=1.

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