Skip to main content
Glama

log_sft_answers

Write to the athlete's fatigue-test (SFT) log, read by get_fatigue_tests: their answers, merged with what is there. When the app did not find the test (treadmill, another device), pass hr as they read it — it is recorded by hand and wins over the file's. Name the session by activity_id, or date + sport. Saves on return, no card.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hrNolast-minute HR
hrrNoHR drop in the minute after
rpeNohow hard the test felt
dateNo
noteNo
sportNo
activity_idNo
minutesLeftNominutes more they could have held it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / properties / activity_id / description
      Removed value: -"the session that held the test (id from list_activities)"
    • removedInput schema / properties / date / description
      Removed value: -"the test's day, when there is no session id"
    • changedInput schema / properties / hr / description
      Previous value: -"last-minute heart rate, when the app did not read the test"New value: +"last-minute HR"
    • changedInput schema / properties / hrr / description
      Previous value: -"heart-rate drop in the minute after"New value: +"HR drop in the minute after"
    • changedInput schema / properties / minutesLeft / description
      Previous value: -"minutes more they could have held it; rounded to 0.5"New value: +"minutes more they could have held it"
    • changedInput schema / properties / rpe / description
      Previous value: -"how hard the test felt, 0-10"New value: +"how hard the test felt"
    • removedInput schema / properties / sport / description
      Removed value: -"with date"
  2. Changed6 schema fields changed
    • addedInput schema / properties / date
      Added value: +{
      +  "description": "the test's day, when there is no session id",
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / hr
      Added value: +{
      +  "description": "last-minute heart rate, when the app did not read the test",
      +  "maximum": 230,
      +  "minimum": 60,
      +  "type": "integer"
      +}
    • addedInput schema / properties / hrr
      Added value: +{
      +  "description": "heart-rate drop in the minute after",
      +  "maximum": 120,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / note
      Added value: +{
      +  "maxLength": 300,
      +  "type": "string"
      +}
    • addedInput schema / properties / sport
      Added value: +{
      +  "description": "with date",
      +  "enum": [
      +    "cycling",
      +    "running"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "activity_id"
      -]
  3. Changed3 schema fields changed
    • addedInput schema / properties / activity_id / description
      Added value: +"the session that held the test (id from list_activities)"
    • addedInput schema / properties / minutesLeft / description
      Added value: +"minutes more they could have held it; rounded to 0.5"
    • addedInput schema / properties / rpe / description
      Added value: +"how hard the test felt, 0-10"
  4. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources