Skip to main content
Glama
yazio-mcp

yazio-mcp

by fliptheweb

Add Quick Entry

add_quick_entry

Log a one-off nutrition entry by providing a name and total macros, creating a direct diary record without needing to add a new product to the database.

Instructions

Log a one-off diary entry with a name and total nutrition of the eaten amount (Yazio "quick add"), without creating a product. Shows up in get_user_consumed_items as simple_products and is removed with 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": {
      "name": "<name>",
      "date": "<date>",
      "daytime": "<daytime>",
      "energy": "<energy>"
    },
    "name": "add_quick_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
fatNoTotal fat in g
carbNoTotal carbohydrates in g
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
nameYesEntry name, e.g. "Тартин Pinch"
energyYesTotal energy of the eaten amount in kcal (not per 100 g)
daytimeYesType of meal (breakfast, lunch, dinner, snack)
proteinNoTotal protein in g
extra_nutrientsNoOther nutrients by Yazio key, e.g. {"nutrient.sugar": 5, "nutrient.dietaryfiber": 2, "nutrient.saturated": 1.5, "nutrient.salt": 0.8}; same scale as the main values

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.0.21

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag a non-read-only, non-idempotent, non-destructive write. The description adds lifecycle context the annotations cannot: the entry surfaces in get_user_consumed_items as simple_products and is undone via remove_user_consumed_item. It does not note implications of non-idempotency (e.g. repeat calls create duplicate entries) or any auth/limit constraints.

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?

Two sentences with no filler; the core action and the crucial "no product created" distinction are front-loaded, and the lifecycle sentence follows compactly.

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?

For an 8-parameter write tool with nested nutrient data, no output schema, and sparse annotations, the description supplies what matters: what gets created, how it is represented downstream, and how to reverse it. Return-value details are not needed since the tool's effect is described via its visibility in get_user_consumed_items.

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%, so name, date, daytime, energy and the optional macros are already documented, including "total ... not per 100 g". The description only restates "name and total nutrition of the eaten amount", adding no new syntax or constraint beyond the schema; baseline 3 applies.

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 ("Log a one-off diary entry") plus the key qualifier "without creating a product", which separates it from add_user_consumed_item and create_product. It also names the Yazio concept ("quick add"), so an agent knows exactly what object is being produced.

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

Usage Guidelines4/5

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

The phrase "without creating a product" and "one-off" implicitly route the agent away from the product-creation and consumed-item tools when no product exists. There is no explicit when-not or named alternative (e.g. "use add_user_consumed_item when the food exists as a product"), so guidance is clear but not fully prescriptive.

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