Skip to main content
Glama

add_hydration_data

Record or adjust daily water intake in millilitres for a specific date, using positive values to add hydration and negative values to subtract it.

Instructions

Add (or subtract with a negative value) water intake in millilitres for a specific date.

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": {
      "valueInML": "<valueInML>"
    },
    "name": "add_hydration_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDate in YYYY-MM-DD format (defaults to today)
valueInMLYesMillilitres to add (positive) or subtract (negative)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it only discloses that the operation can add or subtract. It says nothing about whether this merges with existing daily totals, what happens on out-of-range or invalid dates, whether authentication/ownership is required, or what the call returns.

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?

A single front-loaded sentence with no wasted preamble; the parenthetical about negative values is the only additional clause and it is informative rather than padding.

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

Completeness3/5

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

For a two-parameter write tool with a fully described schema and no output schema, the core call is clear. The missing pieces are behavioral rather than structural: no annotations mean the agent learns nothing about mutation side effects, cumulative daily totals, or error behavior.

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 both parameters are already documented in structured form, including the date pattern and default. The description restates the millilitre unit and the negative-value semantics without adding format, bounds, or precision details beyond the schema, which is the baseline-3 case.

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?

States a specific verb and resource ('Add ... water intake in millilitres') plus the scope ('for a specific date'), so the agent knows exactly what operation it performs. It does not distinguish itself from the sibling read tool get_hydration, which is the only real gap.

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 strongly implied by the verb 'Add' and by the negative-value convention, so an agent can infer this is the write path for hydration logging. There is no explicit when-to-use statement, no mention of prerequisites, and no routing to or away from get_hydration.

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

Deploy Server

Other Tools