Skip to main content
Glama

Marrow Health: Apple Health for your AI

Your baselines

baselines
Read-onlyIdempotent

The user's own normal per metric: mean and spread over the trailing window, the latest value's z and phrase, the 7-day mean and the 90-day trend per month. The same math as the app's Home page. Use it to say whether a number is high or low for this person instead of against population figures.

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

Input Schema

NameRequiredDescriptionDefault
dayNoScore as of this day, YYYY-MM-DD (default today)
windowNoDays of history a value is scored against (default 60, the app's own window, 7 to 90)
metricsNoMetric keys from list_metrics, or sleep_hours (default: the key metrics)

Output Schema

NameRequiredDescriptionDefault
dayNo
metricsNo
missingNo
how_to_readNo
window_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is fully covered. The description usefully adds that the computation mirrors the app's Home page, which signals results will be consistent with what the user sees. Beyond that it mostly restates return fields, which the output schema already provides, and says nothing about cost, latency, or what happens for metrics with sparse history.

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?

Two sentences, front-loaded with what is returned before the usage hint; there is no filler. The return-field list is dense but each clause maps to a distinct output, so little is wasted – though it could be tightened since the output schema repeats it.

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 an output schema present and annotations covering the safety profile, the description only needs to explain the computation's meaning and purpose, which it does by tying the math to the Home page and framing the personal-baseline judgment. Only minor gaps remain, such as behavior for metrics with insufficient history or how defaults interact with the metrics list.

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 100%, so day, window, and metrics are already fully documented, including defaults and the 7–90 range. The description reinforces the concepts of a trailing window scored per metric and the notion of a 'phrase' output, but adds no syntax, format, or edge-case meaning beyond the schema. Baseline 3 is appropriate when the schema carries this much detail.

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 enumerates exactly what the tool yields per metric (mean and spread over a trailing window, z-score and phrase, 7-day mean, 90-day trend) and anchors it to 'the user's own normal', which separates it from population-norm tools. The action verb is only implied ('your baselines'), and it does not name a specific sibling such as metric_daily or health_summary to contrast with, 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 Guidelines4/5

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

It gives a concrete decision rule – use this to judge whether a number is high or low for this person rather than against population figures – which is real when-to-use guidance. It offers no explicit exclusions or named alternatives for looking up raw daily values or samples, so an agent must still infer the boundary with metric_daily and metric_samples.

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