Skip to main content
Glama

Marrow Health: Apple Health for your AI

Log weight

log_weight

Record the user's body weight (kg or lb) in Marrow and Apple Health, with body fat percent if they gave it. Returns an id that undo_entry accepts. To correct the value 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_weight"
  }
}

Input Schema

NameRequiredDescriptionDefault
kgNo
lbNo
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.
body_fat_percentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the dual-system side effect (Marrow and Apple Health) and the return value contract (an id usable by undo_entry), which is the most important behavior for an agent calling a write tool. It does not discuss permissions, partial-failure behavior if one store rejects the write, or the interaction between the idempotency_key parameter and the declared idempotentHint=false.

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?

Three short sentences, front-loaded with the action and destination, then the return contract, then the correction path. No filler, though the final sentence could be folded into the return-value sentence for tighter flow.

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 6-parameter write tool with no output schema, the description covers the operation, the external side effects, the return handle, and the correction/undo routes. The remaining gap is the unit-selection rule for kg vs lb, which matters because the tool has zero required parameters and an agent could otherwise omit both or send both.

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 coverage is 50%, so day, time, and idempotency_key are already self-documenting. The description adds real meaning by framing kg and lb as unit alternatives and body_fat_percent as optional, but it never states that one of kg/lb must be supplied, whether both may be sent, or how idempotency_key should be used.

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 ('Record the user's body weight ... in Marrow and Apple Health') and scopes it to include optional body fat percent. The write targets are named explicitly, which distinguishes it from the many other log_* siblings by resource rather than by name alone.

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?

Gives explicit routing for the follow-up actions: 'Returns an id that undo_entry accepts' and 'To correct the value later use edit_entry.' That covers reversal and correction paths clearly, but says nothing about when not to use this tool or how it relates to other logging siblings for the same day.

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