Skip to main content
Glama

Marrow Health: Apple Health for your AI

Workouts

workouts
Read-onlyIdempotent

The user's workouts from Apple Health, from every app and device: activity, start, end and duration.

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": "workouts"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day, YYYY-MM-DD, inclusive (optional, default today)
daysNoDays back (default 30, max 400)
fromNoFirst day, YYYY-MM-DD on the phone's calendar (optional, used instead of days)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds genuine context beyond that: the data is sourced from Apple Health across all apps and devices, meaning coverage is device-synced rather than user-entered. It says nothing about volume of results, ordering, or what happens with partial/no data, which are the remaining behavioral unknowns.

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 sentence, front-loaded with the resource and source, then the returned fields. Nothing is padded or repeated. Slightly telegraphic phrasing ('activity, start, end and duration') is the only minor cost.

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?

With no output schema, the description usefully compensates by enumerating the returned fields and declaring the data source across all apps and devices. Filters are fully handled by the schema. The only shortfall is that it does not say how results are ordered or whether filtering by activity type is possible, which matters for a tool that can span 400 days.

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 100% and each parameter carries its own description, including the max of 400 days and the from-vs-days override rule. The description adds no parameter meaning whatsoever, so the baseline of 3 applies.

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 resource (workouts), its source (Apple Health, every app and device), and the fields returned (activity, start, end, duration). What it never does is distinguish itself from the write-side sibling log_workout, so an agent must infer that this is the read path from the readOnly annotation rather than from the text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no exclusion, and no named alternative. The description does not say 'use this to review past workouts; use log_workout to record a new one,' which is exactly the ambiguity an agent faces given that sibling. Usage is only implied by 'the user's workouts.'

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