Skip to main content
Glama

Marrow Health: Apple Health for your AI

Log water

log_water

Add water the user drank (ml or oz) to Marrow and Apple Health. Returns an id that undo_entry accepts. To correct the amount later use edit_entry.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "log_water"
  }
}

Input Schema

NameRequiredDescriptionDefault
mlNo
ozNo
dayNoYYYY-MM-DD on the user's phone (default today, up to 30 days back, never the future)
timeNoHH:MM, 24 hour, phone time (optional)
idempotency_keyNoOptional. The same key never logs twice. Use a new one to log an identical entry again on purpose.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent write, so the bar is lower. The description adds genuinely new context: the write propagates to two external systems (Marrow and Apple Health) and returns an id consumed by undo_entry, which tells the agent the call has side effects outside the app and produces a handle worth keeping.

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, front-loaded with the action and destination, then the return value, then the correction path. Every sentence carries distinct information with no repetition of the title or schema.

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 five-parameter write with no output schema, the description covers the action, external side effects, the return value, and the follow-up tools. The remaining gap is the unit-selection rule when neither ml nor oz is provided, which the agent must infer.

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 60%, with day, time, and idempotency_key already documented in the schema. The description adds meaning the schema does not: '(ml or oz)' signals the two unit parameters are alternative ways to express the same quantity. It does not clarify what happens if neither unit is supplied, which matters given zero required parameters.

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 gives a specific verb and resource ('Add water the user drank') plus the destinations (Marrow and Apple Health), which no sibling name conveys. It also distinguishes itself from edit_entry and undo_entry by naming them, so an agent can pick the right tool without opening a schema.

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 routes two adjacent cases: correcting an amount goes to edit_entry, and reversing goes to undo_entry via the returned id. It stops short of stating when not to use this tool (e.g. logging other metrics belongs to log_meal/log_weight), but the positive routing is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources