Edit my food or dish
update_foodRenames one of the trainer's own foods or changes a dish's ingredients.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| foodId | Yes | Id from search_foods (source custom or recipe). | |
| category | No | ||
| ingredients | No |
update_foodRenames one of the trainer's own foods or changes a dish's ingredients.
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| foodId | Yes | Id from search_foods (source custom or recipe). | |
| category | No | ||
| ingredients | No |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already flag it as a non-read-only, non-destructive, open-world mutation, and the description is consistent with that. However, it doesn't disclose whether the ingredients array replaces or merges existing data, whether changes are reversible, or permission requirements — meaningful gaps for an edit tool that overwrites fields.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence with no filler. Efficient, though arguably too terse for a four-parameter mutation tool with low schema coverage.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a mutation with 25% schema coverage, no output schema, and an uncovered category parameter plus ambiguous ingredients semantics, the description does not supply enough for an agent to call it confidently.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is only 25%; foodId is documented in the schema. The description covers two of four parameters (name via 'renames,' ingredients via 'dish's ingredients') but leaves 'category' undocumented and gives no replace-vs-append semantics for ingredients.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States specific verbs and resource: 'renames' a food or 'changes a dish's ingredients,' and scopes it to 'the trainer's own foods.' An agent can distinguish this edit operation from create_food or search_foods implicitly. It omits the category-editing capability, so it isn't fully exhaustive.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit when-to-use vs alternatives guidance and no prerequisite (e.g., obtain foodId via search_foods, which the schema hints at). 'Trainer's own foods' narrows scope but is not framed as a usage condition.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.