Skip to main content
Glama
yazio-mcp

yazio-mcp

by fliptheweb

Add Saved Meal

add_user_consumed_meal

Log every item from a saved meal to your diary for a given date and daytime, creating separate entries. Returns entry IDs used later to remove consumed items.

Instructions

Log all items of a saved meal to the diary. Each item shows up in get_user_consumed_items as a separate entry. Returns the entry IDs for remove_user_consumed_item.

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": {
      "meal_id": "<meal_id>",
      "date": "<date>",
      "daytime": "<daytime>"
    },
    "name": "add_user_consumed_meal"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesDate and time when the food was consumed in "YYYY-MM-DD HH:mm:ss" format (e.g., "2025-12-18 12:30:00"), or date only in YYYY-MM-DD format
daytimeYesType of meal (breakfast, lunch, dinner, snack)
meal_idYesMeal ID from get_user_meals

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.0.21

TDQS

A4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the description only needs to add what those don't cover. It does: one diary entry is created per item (identifying the multiplicative write effect) and it declares the return value (entry IDs for remove_user_consumed_item), which is valuable for chaining. It stops short of warning that repeat calls create duplicates (relevant given idempotentHint=false) or stating permission/timezone assumptions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with zero filler, front-loaded with the action, followed by side-effect scope and return value in order of agent need. Every sentence adds information that is not redundant with the name, schema, or annotations.

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

Completeness4/5

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

For a 3-parameter mutation tool with no output schema, the definition covers the action, the per-item side effect, and the return shape, which is most of what an agent needs. It lacks only edge-case guidance such as duplicate prevention or what happens if the meal or date is invalid.

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 all three parameters carry descriptions plus formats and an enum, so the schema does the heavy lifting. The description adds only an indirect link from meal_id to 'saved meal' and does not clarify date-without-time behavior or daytime semantics beyond what the schema already states. Baseline 3 is appropriate.

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: logs 'all items of a saved meal' to the diary, which distinguishes it from single-item logging siblings like add_user_consumed_item. It also names the resulting resource (get_user_consumed_items) and the cleanup counterpart (remove_user_consumed_item), so the agent can place the tool in a workflow 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 Guidelines3/5

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

Usage is implied by 'Log all items of a saved meal' and the mention of get_user_consumed_items and remove_user_consumed_item, giving a sense of where it sits in a create/read/remove flow. However, there is no explicit when-to-use versus add_user_consumed_item or add_user_consumed_recipe, and no statement about prerequisites such as the meal already existing or needing a valid meal_id.

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