Skip to main content
Glama

Marrow Health: Apple Health for your AI

Log a lifting session

log_strength

Record a weightlifting session with its sets: every exercise, reps and weight, and a kind when a set is a warm-up, a failure set or a drop set. Sets live in Marrow's strength log (strength_log shows them). Apple Health gets the workout. Use the exercise names the user already has in strength_log where they match.

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": {
      "exercises": "<exercises>"
    },
    "name": "log_strength"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNoYYYY-MM-DD on the user's phone (default today, up to 30 days back, never the future)
nameNoSession name, e.g. Push day (optional)
timeNoHH:MM it started, 24 hour, phone time
minutesNoHow long it lasted (default 45)
exercisesYes
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.1/5.0
Behavior4/5

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

Annotations only declare that this is a non-read-only, non-destructive write; the description adds the important fact that the call fans out to two destinations — Marrow's strength log for sets and Apple Health for the workout. That dual-write side effect is real behavioral context the annotations do not carry, though atomicity/failure behavior is left unstated.

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 sentences, no filler, and the core action is front-loaded before the storage/destination details and the naming convention. Every clause conveys either what is recorded or where it lands.

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 six-parameter write with no output schema, the definition covers the essential model: sets belong to exercises, kinds classify sets, and the workout also goes to Apple Health. Remaining gaps are modest — no statement about what happens if the Apple Health write fails while sets are already logged, and no explicit contrast with the general workout logger.

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 83%, so the schema carries most parameter meaning and baseline is 3. The description still earns a bump by explaining that set 'kind' classifies warm-up, failure and drop sets, which gives the enum values intent rather than leaving them as bare strings, and by framing exercise naming as a lookup against existing strength_log data.

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 description names a specific verb and resource — 'Record a weightlifting session with its sets' — and enumerates the payload (exercise, reps, weight, set kind). It is clearly narrower than the log_workout sibling, though it never names that sibling to draw the boundary explicitly.

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 gives actionable preparation guidance: reuse exercise names the user already has in strength_log where they match, and it points to strength_log for inspecting existing sets. It stops short of stating when to prefer this over log_workout or what to do when an exercise name does not already exist.

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