Skip to main content
Glama
yazio-mcp

yazio-mcp

by fliptheweb

Remove Consumed Item

remove_user_consumed_item
DestructiveIdempotent

Removes a food item from a user's consumption log using its item ID to correct or update logged nutrition data.

Instructions

Remove a food item from user consumption log

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": {
      "itemId": "<itemId>"
    },
    "name": "remove_user_consumed_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdYesID of the consumed item to remove

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.0.21
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.0.12

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is known. The description adds nothing beyond that: it does not say whether deleting a consumed item retroactively alters daily nutrient totals, whether the deletion is reversible, or what a repeat call returns despite idempotency being declared.

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?

One short, front-loaded sentence with no filler. Its brevity is efficient, though the missing details are handled poorly in other dimensions rather than being woven in here.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation with no output schema, the description should disclose consequences (effect on logged nutrition, whether deletion is permanent) and where the itemId comes from. Neither is present, so an agent cannot predict side effects from the text.

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 coverage is 100% and the single itemId parameter is fully documented (UUID pattern, 'ID of the consumed item to remove'). The description adds no additional meaning such as where to obtain the ID or whether it must belong to the current user.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb+resource: it removes a food item from the user's consumption log, which is clearly distinct from add_user_consumed_item in intent. However, it never names or contrasts any sibling, so an agent must infer the boundary with add/remove favorites and consumed meal/recipe tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to use this versus the sibling remove_user_favorite_product or remove_user_favorite_recipe tools, or vs. retrieving items first with get_user_consumed_items. The only implied usage is 'you have a consumed item ID'.

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