Skip to main content
Glama

Marrow Health: Apple Health for your AI

Data quality

data_quality
Read-onlyIdempotent

What the mirror actually holds and how fresh it is: per metric the latest day, coverage over the recent window, cadence (daily or occasional), its sources and whether it has gone stale, plus diary, sleep and training coverage, when the phone last synced and whether write-back is on. Call it before trusting an absence: no sleep in the mirror is not the same as no sleep.

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

Input Schema

NameRequiredDescriptionDefault
daysNoWindow for coverage (default 14, max 90)

Output Schema

NameRequiredDescriptionDefault
diaryNo
sleepNo
todayNo
issuesNo
metricsNo
trainingNo
last_syncNo
write_backNo
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 this a read-only, idempotent, closed-world, non-destructive call, so safety is covered. The description adds genuine context beyond that: that it reports staleness, cadence, sync recency and write-back status rather than raw data. However, it does not disclose the shape of the report, thresholds for "stale", or anything about the window's effect on results, leaving it mid-range against a rich output schema.

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?

Content is front-loaded: the identity of the tool comes first, the actionable caution last. It is a single dense sentence plus a short warning, with little waste, though the first sentence is a long comma-spliced list that would read better as a structured enumeration.

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 one-parameter read-only diagnostic with an output schema, the description covers what is measured (per-metric freshness, cadence, sources, staleness, sync, write-back) and why it matters. The main gap is that it does not explain how the window parameter shapes the coverage figures, but the structural fields carry that.

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% and the single "days" parameter already documents its default of 14 and ceiling of 90, so the schema does the heavy lifting. The description never mentions the window parameter or how changing it alters which coverage numbers are returned. Baseline 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?

"What the mirror actually holds and how fresh it is" states the resource (the stored data mirror) and the specific concern (freshness/coverage), then enumerates concrete contents: latest day per metric, coverage window, cadence, sources, staleness, sync time, write-back status. It is clearly a diagnostic/status tool, distinguishable in intent from the logging and listing siblings, though it never names a sibling to contrast against.

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?

"Call it before trusting an absence" gives an explicit trigger condition, reinforced by the rule of thumb that missing sleep in the mirror is not the same as missing sleep. That is strong when-to-use guidance. There is no when-not-to-use guidance and no named alternative for plain listing (e.g. list_metrics), so it stops short of full routing.

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