Skip to main content
Glama
yazio-mcp

yazio-mcp

by fliptheweb

Add Water Intake

add_user_water_intake

Log water intake for a specific date and time by adding milliliters, or correct the day's total with an absolute value in ml.

Instructions

Log water intake at a date and time ("YYYY-MM-DD HH:mm:ss"). Pass add_ml (the amount drunk): the server reads the current daily total and adds to it. To correct the day's total, pass water_intake as the corrected absolute total in ml.

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": {
      "date": "<date>"
    },
    "name": "add_user_water_intake"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesDate and time in format "YYYY-MM-DD HH:mm:ss" (e.g., "2025-12-18 12:00:00"); a date without time is rejected by the API
add_mlNoAmount of water to add, in ml. The server reads the current daily total and adds this to it. Preferred. Provide this or water_intake.
water_intakeNoAbsolute daily total in ml. Use it to correct the day's total, e.g. after a wrong entry (0 is allowed). Provide this or add_ml.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields 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"
    • addedInput schema / properties / add_ml
      Added value: +{
      +  "description": "Amount of water to add, in ml. The server reads the current daily total and adds this to it. Preferred. Provide this or water_intake.",
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • changedInput schema / properties / date / description
      Previous value: -"Date and time in format \"YYYY-MM-DD HH:mm:ss\" (e.g., \"2025-12-18 12:00:00\")"New value: +"Date and time in format \"YYYY-MM-DD HH:mm:ss\" (e.g., \"2025-12-18 12:00:00\"); a date without time is rejected by the API"
    • addedInput schema / properties / date / pattern
      Added value: +"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01]) ([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$"
    • changedInput schema / properties / water_intake / description
      Previous value: -"Cumulative water intake in milliliters (ml)"New value: +"Absolute daily total in ml. Use it to correct the day's total, e.g. after a wrong entry (0 is allowed). Provide this or add_ml."
    • addedInput schema / properties / water_intake / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / water_intake / minimum
      Added value: +0
    • changedInput schema / properties / water_intake / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / required
      Previous value: -[
      -  "date",
      -  "water_intake"
      -]New value: +[
      +  "date"
      +]
  2. First observedv0.0.12

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations, it discloses the key read-modify-write semantics: the server reads the current daily total and adds to it. It also explains that water_intake replaces the total rather than incrementing it, which is important given idempotentHint=false. It does not cover authentication, rate limits, or response behavior, but the critical mutation semantics are present.

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 compact sentences front-load the logging action, then immediately explain the additive parameter and the correction path. The parenthetical format hint is useful and there is no filler.

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 three-parameter mutation tool with no output schema, the description covers the essential modes, the server-side additive behavior, and the correction semantics. It omits return-value or error details, but those are not required given the absence of an output schema.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning by clarifying the relationship between add_ml and water_intake and by labeling water_intake as an absolute corrected total with 0 allowed. The date format guidance also reinforces the schema pattern rather than merely restating it.

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?

The description opens with a specific verb and resource: "Log water intake" at a date and time. It goes further by defining both modes of operation, additive logging through add_ml and correction through water_intake, so an agent can distinguish this tool from get_user_water_intake and the other add_* siblings.

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?

It explicitly says add_ml is preferred and that water_intake should be used "To correct the day's total", which gives clear guidance between the two optional parameters. It stops short of stating when not to use the tool or naming a sibling alternative, so it is strong but not exhaustive.

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