Skip to main content
Glama

Chop it: meal planning, recipes, pantry and shopping

Change food preferences

update_food_preferences
DestructiveIdempotent

Overwrites the supplied account food preferences: diet, foods to avoid and dislikes, in plain words. Omitted fields keep their current value; a supplied list replaces that list whole, so a change to one item is sent as the full updated list (get_food_preferences gives the current one). Returns the saved preferences. They apply to the next planning, search or recipe call on every surface: recipes that use these foods are left out. Chop it leaves out the foods a person chooses but is not built for managing allergies, and never describes a recipe, plan or list as safe for one. Idempotent. Requires a linked Chop it account.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_food_preferences"
  }
}

Input Schema

NameRequiredDescriptionDefault
dietNoThe whole-week diet. Omit to keep the current one.
dislikesNoThe complete list of other foods the household doesn't eat, in plain words ('mushrooms', 'coriander'). Omit to keep the current list; pass [] to clear it.
foodsToAvoidNoThe complete list of the fourteen common foods to leave out; recipes using them are left out. Omit to keep the current list; pass [] to clear it.

Output Schema

NameRequiredDescriptionDefault
dietYes
summaryYes
dislikesYes
foodsToAvoidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that omitted fields keep their current value, supplied lists replace the whole list, and changes take effect on the next planning, search or recipe call. It also adds the linked-account requirement and the allergy-management limitation, which are important behavioral constraints.

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 replacement rule are front-loaded, and the description stays focused on operational details. It is dense and repeats a few points already supplied by annotations or schema, such as idempotency and omission behavior, so it is not maximally concise.

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?

Given the output schema and annotations, the description covers authentication, destructive replacement behavior, downstream effects, and important scope limitations. Nothing essential for correct invocation 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 description coverage is already 100%, so the baseline is 3. The description adds useful operational meaning beyond the schema by explaining that changing one item requires sending the full updated list and by pointing to get_food_preferences for the current values.

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 action and resource set: overwrites diet, foodsToAvoid and dislikes on the account. It also distinguishes reading from writing by naming get_food_preferences for the current values, so an agent can identify the tool 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?

Explicitly directs the agent to get_food_preferences to retrieve the current list, and states that the tool is not built for managing allergies and never describes recipes or plans as safe for one. That gives clear usage context and a meaningful when-not boundary.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources