Skip to main content
Glama

log_readiness

Record the athlete's daily readiness — one entry per date, idempotent MERGE-upsert: only the fields you send are updated, existing fields survive. Accepts a BATCH (up to 90 items) so you can backfill history from an export (e.g. months of HRV/RHR/sleep) in a few calls. Subjective core (McLean 1-5, 5=best: fatigue — asked and read back as ENERGY, 1 drained … 5 fresh, never call it fatigue to the athlete — sleep_quality, soreness, stress, mood) + prs (0-10) is the primary signal; objective fields (rhr bpm, hrv_rmssd ms, hrv_sdnn ms, sleep_total_min, deep_sleep_min) are optional manual values from the athlete's wearable. hrv_sdnn is HRV as SDNN (what an Apple Watch reports) — its own field, never put an SDNN value in hrv_rmssd or the reverse. Confounder flags (late_meal, alcohol, hookah, smoking, life_stress, illness, injury, poor_sleep_external, small_child, travel, underfuelled, long_day, heat, meds) record WHY a day might look off; small_child = a small child broke the night, a known cause outside training — never read that night as overreaching. Record them as ticked; never fold a confounder into the numbers themselves. Values are range-checked (e.g. rhr 25-110) so a typo can't poison the baselines.

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": {
      "items": "<items>"
    },
    "name": "log_readiness"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / items / items / properties / hrv_sdnn
      Added value: +{
      +  "maximum": 300,
      +  "minimum": 5,
      +  "type": "number"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / items / items / properties / small_child
      Added value: +{
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / items / items / properties / soreness_where
      Added value: +{
      +  "description": "where the muscles are sore (soreness 3 or lower): legs, upper body or all over",
      +  "enum": [
      +    "legs",
      +    "upper",
      +    "all"
      +  ],
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds the materially important behavior that this is a partial MERGE-upsert where "only the fields you send are updated, existing fields survive" — a critical disclosure for a mutation tool. It also documents the batch cap (90), range-checking against typo-poisoned baselines, and the energy-vs-fatigue communication rule.

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?

Purpose and upsert semantics are front-loaded, followed by batch guidance, field semantics, and validation limits in a logical order. It is dense with long em-dash parentheticals that make some sentences hard to parse, but almost every clause carries real information, so length is largely justified.

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?

Given a 26-property nested item schema, no output schema, and thin annotations, the description covers the fields an agent is most likely to misuse (HRV variants, fatigue polarity, confounders) and the write semantics. A few properties — note, other_confounder, mood/stress polarity — are left unaddressed, which is a minor but real gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema description coverage is effectively 0%, the description compensates heavily: McLean 1-5 scaling where 5=best and fatigue surfaces as ENERGY, prs 0-10 as the primary signal, units for rhr (bpm), hrv_rmssd/hrv_sdnn (ms), and sleep (min), plus the explicit warning never to put an SDNN value in hrv_rmssd. It also decodes the confounder booleans, which the schema leaves entirely opaque.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Record the athlete's daily readiness") plus the storage granularity ("one entry per date") and the write semantics ("idempotent MERGE-upsert"). This cleanly separates it from the get_readiness* read siblings without needing their names.

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?

Explicitly prescribes the batch/backfill workflow ("backfill history from an export ... in a few calls") and gives guidance on when a confounder flag is the right recording ("record WHY a day might look off"), including a hard caution about not reading small_child nights as overreaching. It stops short of naming the read counterpart or stating when NOT to log, so it is context-rich but not fully 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