Skip to main content
Glama
pluton74mac

garmin-mcp-triathlon

by pluton74mac

add_hydration_data

Log daily water intake in millilitres for a given date. Negative values subtract from the running total, letting you correct an over-log or zero out the day.

Instructions

Add a hydration entry for a date.

Entries accumulate: logging 500 then 250 leaves the day at 750. A NEGATIVE value_in_ml subtracts, which is how an over-log is corrected — verified live.

A day cannot go below zero: Garmin answers a further subtraction with "Daily hydration is already at 0 and cannot be reduced." There is no delete for hydration in the Garmin API, so zeroing a day is as close to removing it as the platform allows — the entry stays, reading 0 mL.

Args: value_in_ml: Amount of liquid in millilitres. Negative subtracts from the day's running total. date: Date in YYYY-MM-DD format. (Named to match get_hydration_data; the argument was once called cdate.) timestamp: Timestamp in YYYY-MM-DDThh:mm:ss.sss format

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes
timestampYes
value_in_mlYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so exceptionally well: it discloses accumulation semantics, negative-value subtraction, the zero floor, the exact API error message on further subtraction, and the fact that the Garmin API offers no delete so zeroing is the closest to removal. These are exactly the traits an agent needs before mutating hydration data.

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?

The most decision-relevant facts (accumulation, negative correction, zero floor) are front-loaded in the first two paragraphs, and the Args block is a compact reference. Length is justified by genuinely non-obvious behavior rather than padding.

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 a 3-param mutation tool with an output schema, the description covers everything the agent needs: mutation semantics, correction workflow, floor behavior, error text, and the absence of a delete path. Return values are legitimately omitted since an output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and the Args block does: value_in_ml is 'amount of liquid in millilitres' with negative-subtracts semantics, date is YYYY-MM-DD, and timestamp is YYYY-MM-DDThh:mm:ss.sss. It even explains why the argument is named `date` rather than the historical `cdate`.

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 opening sentence gives a specific verb and resource ('Add a hydration entry for a date'), so the agent immediately knows this is a write operation on daily hydration. It references the sibling get_hydration_data only incidentally (for the date argument naming), not as a routing cue, so the sibling distinction is present but not fully exploited.

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 description effectively tells the agent when and how to use this tool: entries accumulate, and a negative value_in_ml is the documented way to correct an over-log. It does not, however, explicitly say to read with get_hydration_data first or name any exclusions, so it stops short of full when/when-not guidance.

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