Skip to main content
Glama

Marrow Health: Apple Health for your AI

Log mood

log_mood

Record how the user feels in Apple Health's State of Mind (needs iOS 18): a momentary emotion or the mood of the day, on Apple's scale, with the feelings and what it is about when they say.

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": {
      "feeling": "<feeling>"
    },
    "name": "log_mood"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNoYYYY-MM-DD on the user's phone (default today, up to 30 days back, never the future)
kindNoDefault: momentary
timeNoHH:MM, 24 hour, phone time (optional)
aboutNo
labelsNo
feelingYesApple's seven-step scale
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

A3.7/5.0
Behavior4/5

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

Annotations already declare a non-destructive write that is not inherently idempotent; the description consistently signals a write ('Record', 'when they say'). Beyond annotations it adds the iOS 18 platform prerequisite and the semantic framing of Apple's State of Mind model. It does not disclose failure behavior on unsupported OS versions or whether a duplicate entry is created on repeated calls.

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?

One front-loaded sentence that leads with the action and resource, with the parenthetical platform note placed early. The trailing clause 'with the feelings and what it is about when they say' is grammatically loose and takes a re-read to parse.

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 7-parameter write tool with no output schema, the definition covers the core model, the required scale, and the OS prerequisite, leaving no major ambiguity about what is being written. Minor gaps remain around return value and error/duplicate handling, which the annotations do not fill either.

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 71%, so the schema already carries most parameter meaning. The description adds conceptual mapping for the key fields — 'Apple's seven-step scale' for feeling, 'the feelings' for labels, 'what it is about' for about, and the day/momentary split for kind. It says nothing about idempotency_key or the day back-limit beyond what the schema states.

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 ('Record how the user feels in Apple Health's State of Mind') and immediately disambiguates the two modes it supports, a momentary emotion versus the mood of the day. It also names the platform gate (iOS 18) and the scale used. It does not contrast itself against nearby tools such as symptoms_and_mood or edit_entry, so it stops short of a 5.

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?

'a momentary emotion or the mood of the day' implicitly tells the agent which of the two kinds to pick, and '(needs iOS 18)' gives a prerequisite. There is no explicit when-not guidance, no mention of using edit_entry/undo_entry/delete_entry to correct a mistake, and no statement of what happens if the entry already exists.

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