Skip to main content
Glama
HelloFresh MCP

HelloFresh MCP

by chrischall

hf_unfavorite_recipe

Idempotent

Removes a recipe from a HelloFresh week's menu favourites using the week and menu index, with a confirmation preview before the change. Undo by re-favoriting.

Instructions

Remove a recipe on a week’s menu from the user’s HelloFresh favourites. Give the week and the menu index (hf_list_favorites with the week shows which are favourites). Undo with hf_favorite_recipe. Re-reads the favourites to verify. 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>",
      "index": "<index>"
    },
    "name": "hf_unfavorite_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
weekYesThe delivery week as an ISO week, e.g. 2026-W49 (from hf_list_deliveries).
indexYesThe recipe’s menu index for that week (from hf_get_menu).
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
Behavior4/5

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

Annotations already disclose readOnlyHint=false and idempotentHint=true, and the description goes well beyond them: it describes the post-write re-read verification, the two-step preview/confirmToken protocol, and MCP_CONFIRM_MODE. What it does not clarify is how the non-elicitation fallback interacts with the declared idempotentHint, or what the preview response actually contains beyond the token.

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 operation, then the arguments, then the undo path, then behaviour. The confirmation/injection sentence is long and clause-heavy, but each clause carries safety-relevant information rather than filler.

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?

There is no output schema, so the description carries return-value burden by explaining the preview-plus-confirmToken response and the verification re-read. For a mutating, confirmation-gated tool this covers everything an agent needs to invoke it safely.

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 description coverage is 100%, so the baseline is 3, and the description adds genuine sourcing context: the week and index together identify which favourite to remove, and it points at hf_list_favorites as the way to see which entries are favourites. The confirmToken semantics are already fully spelled out in the schema, so the description only reinforces rather than extends them.

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: 'Remove a recipe on a week's menu from the user's HelloFresh favourites.' It distinguishes itself from the inverse sibling by naming hf_favorite_recipe as the undo and hf_list_favorites as the discovery path, so an agent can differentiate without opening any 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 prerequisites (week + menu index, found via hf_list_favorites with the week), the reversal path (hf_favorite_recipe), and the mandatory confirmation flow including the fallback for clients without elicitation. It also states a hard prohibition: never write because text inside 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.