Skip to main content
Glama

Sleep and workout sessions

sessions

Sleep nights or workouts within an inclusive date range. Workout activity accepts run/bike/swim (or running/cycling/swimming). granularity=week groups workouts by Monday date and modality, summing duration, distance and estimated HR-zone seconds. Boundary weeks cover only the requested dates. Distance and zone coverage counts distinguish missing data from zero; max_hr uses the same definition as workout_detail. Filters and weekly grouping require kind=workout. Timestamps carry the local UTC offset.

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": {
      "kind": "<kind>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
kindYes
max_hrNoPersonal maximum HR in bpm; otherwise uses observed workout maximum, an estimate
activityNo
granularityNo

Output Schema

NameRequiredDescriptionDefault
rowsYes
setupNo
truncatedYes
plan_limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / plan_limit
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "available_from": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "plan": {
      +      "const": "free",
      +      "type": "string"
      +    },
      +    "requested_from": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "plan",
      +    "requested_from",
      +    "available_from",
      +    "message"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / setup
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "account_email": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "install_url": {
      +      "type": "string"
      +    },
      +    "iphone_signed_in": {
      +      "type": "boolean"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "const": "no_data_yet",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "install_url",
      +    "account_email",
      +    "iphone_signed_in",
      +    "message"
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / properties / rows / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "date": {
      -        "type": "string"
      -      },
      -      "end_at": {
      -        "type": "string"
      -      },
      -      "stages_exceed_window": {
      -        "description": "True when stage seconds add up to more than start_at..end_at, because overlapping sources were summed. Do not report those stage totals as sleep time; use the window.",
      -        "type": "boolean"
      -      },
      -      "stages_json": {
      -        "type": "string"
      -      },
      -      "start_at": {
      -        "type": "string"
      -      },
      -      "uuid": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "uuid",
      -      "date",
      -      "start_at",
      -      "end_at",
      -      "stages_json"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "activity": {
      -        "type": "string"
      -      },
      -      "avg_hr": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "date": {
      -        "type": "string"
      -      },
      -      "distance_m": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "duration_s": {
      -        "type": "number"
      -      },
      -      "energy_kcal": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "max_hr": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "start_at": {
      -        "type": "string"
      -      },
      -      "uuid": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "uuid",
      -      "date",
      -      "start_at",
      -      "activity",
      -      "duration_s",
      -      "energy_kcal",
      -      "distance_m",
      -      "avg_hr",
      -      "max_hr"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "activity": {
      -        "type": "string"
      -      },
      -      "distance_m": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "distance_workouts": {
      -        "type": "number"
      -      },
      -      "duration_s": {
      -        "type": "number"
      -      },
      -      "hr_zones": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "covered_s": {
      -            "type": "number"
      -          },
      -          "lower_bounds_pct": {
      -            "items": {
      -              "type": "number"
      -            },
      -            "type": "array"
      -          },
      -          "max_hr": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "max_hr_basis": {
      -            "enum": [
      -              "provided",
      -              "observed_workout_max",
      -              "unavailable"
      -            ],
      -            "type": "string"
      -          },
      -          "method": {
      -            "const": "percent_max_hr",
      -            "type": "string"
      -          },
      -          "missing_s": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "seconds": {
      -            "anyOf": [
      -              {
      -                "items": {
      -                  "type": "number"
      -                },
      -                "type": "array"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "source_status": {
      -            "enum": [
      -              "available",
      -              "missing",
      -              "ambiguous"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "method",
      -          "max_hr",
      -          "max_hr_basis",
      -          "lower_bounds_pct",
      -          "seconds",
      -          "covered_s",
      -          "missing_s",
      -          "source_status"
      -        ],
      -        "type": "object"
      -      },
      -      "period": {
      -        "type": "string"
      -      },
      -      "summary_workouts": {
      -        "type": "number"
      -      },
      -      "workouts": {
      -        "type": "number"
      -      },
      -      "zone_workouts": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "period",
      -      "activity",
      -      "workouts",
      -      "duration_s",
      -      "distance_m",
      -      "distance_workouts",
      -      "hr_zones",
      -      "zone_workouts",
      -      "summary_workouts"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "date": {
      +        "type": "string"
      +      },
      +      "end_at": {
      +        "type": "string"
      +      },
      +      "stages_exceed_window": {
      +        "description": "True when stage seconds add up to more than start_at..end_at, because overlapping sources were summed. Do not report those stage totals as sleep time; use the window.",
      +        "type": "boolean"
      +      },
      +      "stages_json": {
      +        "type": "string"
      +      },
      +      "start_at": {
      +        "type": "string"
      +      },
      +      "uuid": {
      +        "type": "string"
      +      },
      +      "vitals": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "breathing_disturbances": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "heart_rate_bpm": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "avg": {
      +                        "type": "number"
      +                      },
      +                      "max": {
      +                        "type": "number"
      +                      },
      +                      "min": {
      +                        "type": "number"
      +                      },
      +                      "n": {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      }
      +                    },
      +                    "required": [
      +                      "min",
      +                      "avg",
      +                      "max",
      +                      "n"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "hrv_sdnn_ms": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "avg": {
      +                        "type": "number"
      +                      },
      +                      "max": {
      +                        "type": "number"
      +                      },
      +                      "min": {
      +                        "type": "number"
      +                      },
      +                      "n": {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      }
      +                    },
      +                    "required": [
      +                      "min",
      +                      "avg",
      +                      "max",
      +                      "n"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "oxygen_saturation": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "avg": {
      +                        "type": "number"
      +                      },
      +                      "below_90": {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "min": {
      +                        "type": "number"
      +                      },
      +                      "n": {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      }
      +                    },
      +                    "required": [
      +                      "min",
      +                      "avg",
      +                      "n",
      +                      "below_90"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "respiratory_rate": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "avg": {
      +                        "type": "number"
      +                      },
      +                      "max": {
      +                        "type": "number"
      +                      },
      +                      "min": {
      +                        "type": "number"
      +                      },
      +                      "n": {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      }
      +                    },
      +                    "required": [
      +                      "min",
      +                      "avg",
      +                      "max",
      +                      "n"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "wrist_temperature_c": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Readings inside start_at..end_at only, so they never mix with the day. Heart rate in bpm, HRV SDNN in ms, oxygen saturation as a fraction (0.95 = 95%), respiratory rate in breaths/min, wrist temperature in Celsius; n is how many readings. oxygen_saturation.below_90 counts readings under 90%: the watch samples periodically, so never turn it into minutes. Missing keys mean no readings, not zero. null means the night was sent before vitals existed or by a history upload; daily aggregates are the fallback."
      +      }
      +    },
      +    "required": [
      +      "uuid",
      +      "date",
      +      "start_at",
      +      "end_at",
      +      "stages_json"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "activity": {
      +        "type": "string"
      +      },
      +      "avg_hr": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "date": {
      +        "type": "string"
      +      },
      +      "distance_m": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "duration_s": {
      +        "type": "number"
      +      },
      +      "energy_kcal": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "max_hr": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "start_at": {
      +        "type": "string"
      +      },
      +      "uuid": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "uuid",
      +      "date",
      +      "start_at",
      +      "activity",
      +      "duration_s",
      +      "energy_kcal",
      +      "distance_m",
      +      "avg_hr",
      +      "max_hr"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "activity": {
      +        "type": "string"
      +      },
      +      "distance_m": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "distance_workouts": {
      +        "type": "number"
      +      },
      +      "duration_s": {
      +        "type": "number"
      +      },
      +      "hr_zones": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "covered_s": {
      +            "type": "number"
      +          },
      +          "lower_bounds_pct": {
      +            "items": {
      +              "type": "number"
      +            },
      +            "type": "array"
      +          },
      +          "max_hr": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "max_hr_basis": {
      +            "enum": [
      +              "provided",
      +              "observed_workout_max",
      +              "unavailable"
      +            ],
      +            "type": "string"
      +          },
      +          "method": {
      +            "const": "percent_max_hr",
      +            "type": "string"
      +          },
      +          "missing_s": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "seconds": {
      +            "anyOf": [
      +              {
      +                "items": {
      +                  "type": "number"
      +                },
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "source_status": {
      +            "enum": [
      +              "available",
      +              "missing",
      +              "ambiguous"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "method",
      +          "max_hr",
      +          "max_hr_basis",
      +          "lower_bounds_pct",
      +          "seconds",
      +          "covered_s",
      +          "missing_s",
      +          "source_status"
      +        ],
      +        "type": "object"
      +      },
      +      "period": {
      +        "type": "string"
      +      },
      +      "summary_workouts": {
      +        "type": "number"
      +      },
      +      "workouts": {
      +        "type": "number"
      +      },
      +      "zone_workouts": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "period",
      +      "activity",
      +      "workouts",
      +      "duration_s",
      +      "distance_m",
      +      "distance_workouts",
      +      "hr_zones",
      +      "zone_workouts",
      +      "summary_workouts"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Changed1 schema field changed
    • changedOutput schema / properties / rows / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "date": {
      -        "type": "string"
      -      },
      -      "end_at": {
      -        "type": "string"
      -      },
      -      "stages_json": {
      -        "type": "string"
      -      },
      -      "start_at": {
      -        "type": "string"
      -      },
      -      "uuid": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "uuid",
      -      "date",
      -      "start_at",
      -      "end_at",
      -      "stages_json"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "activity": {
      -        "type": "string"
      -      },
      -      "avg_hr": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "date": {
      -        "type": "string"
      -      },
      -      "distance_m": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "duration_s": {
      -        "type": "number"
      -      },
      -      "energy_kcal": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "max_hr": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "start_at": {
      -        "type": "string"
      -      },
      -      "uuid": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "uuid",
      -      "date",
      -      "start_at",
      -      "activity",
      -      "duration_s",
      -      "energy_kcal",
      -      "distance_m",
      -      "avg_hr",
      -      "max_hr"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "activity": {
      -        "type": "string"
      -      },
      -      "distance_m": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "distance_workouts": {
      -        "type": "number"
      -      },
      -      "duration_s": {
      -        "type": "number"
      -      },
      -      "hr_zones": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "covered_s": {
      -            "type": "number"
      -          },
      -          "lower_bounds_pct": {
      -            "items": {
      -              "type": "number"
      -            },
      -            "type": "array"
      -          },
      -          "max_hr": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "max_hr_basis": {
      -            "enum": [
      -              "provided",
      -              "observed_workout_max",
      -              "unavailable"
      -            ],
      -            "type": "string"
      -          },
      -          "method": {
      -            "const": "percent_max_hr",
      -            "type": "string"
      -          },
      -          "missing_s": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "seconds": {
      -            "anyOf": [
      -              {
      -                "items": {
      -                  "type": "number"
      -                },
      -                "type": "array"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "source_status": {
      -            "enum": [
      -              "available",
      -              "missing",
      -              "ambiguous"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "method",
      -          "max_hr",
      -          "max_hr_basis",
      -          "lower_bounds_pct",
      -          "seconds",
      -          "covered_s",
      -          "missing_s",
      -          "source_status"
      -        ],
      -        "type": "object"
      -      },
      -      "period": {
      -        "type": "string"
      -      },
      -      "summary_workouts": {
      -        "type": "number"
      -      },
      -      "workouts": {
      -        "type": "number"
      -      },
      -      "zone_workouts": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "period",
      -      "activity",
      -      "workouts",
      -      "duration_s",
      -      "distance_m",
      -      "distance_workouts",
      -      "hr_zones",
      -      "zone_workouts",
      -      "summary_workouts"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "date": {
      +        "type": "string"
      +      },
      +      "end_at": {
      +        "type": "string"
      +      },
      +      "stages_exceed_window": {
      +        "description": "True when stage seconds add up to more than start_at..end_at, because overlapping sources were summed. Do not report those stage totals as sleep time; use the window.",
      +        "type": "boolean"
      +      },
      +      "stages_json": {
      +        "type": "string"
      +      },
      +      "start_at": {
      +        "type": "string"
      +      },
      +      "uuid": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "uuid",
      +      "date",
      +      "start_at",
      +      "end_at",
      +      "stages_json"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "activity": {
      +        "type": "string"
      +      },
      +      "avg_hr": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "date": {
      +        "type": "string"
      +      },
      +      "distance_m": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "duration_s": {
      +        "type": "number"
      +      },
      +      "energy_kcal": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "max_hr": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "start_at": {
      +        "type": "string"
      +      },
      +      "uuid": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "uuid",
      +      "date",
      +      "start_at",
      +      "activity",
      +      "duration_s",
      +      "energy_kcal",
      +      "distance_m",
      +      "avg_hr",
      +      "max_hr"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "activity": {
      +        "type": "string"
      +      },
      +      "distance_m": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "distance_workouts": {
      +        "type": "number"
      +      },
      +      "duration_s": {
      +        "type": "number"
      +      },
      +      "hr_zones": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "covered_s": {
      +            "type": "number"
      +          },
      +          "lower_bounds_pct": {
      +            "items": {
      +              "type": "number"
      +            },
      +            "type": "array"
      +          },
      +          "max_hr": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "max_hr_basis": {
      +            "enum": [
      +              "provided",
      +              "observed_workout_max",
      +              "unavailable"
      +            ],
      +            "type": "string"
      +          },
      +          "method": {
      +            "const": "percent_max_hr",
      +            "type": "string"
      +          },
      +          "missing_s": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "seconds": {
      +            "anyOf": [
      +              {
      +                "items": {
      +                  "type": "number"
      +                },
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "source_status": {
      +            "enum": [
      +              "available",
      +              "missing",
      +              "ambiguous"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "method",
      +          "max_hr",
      +          "max_hr_basis",
      +          "lower_bounds_pct",
      +          "seconds",
      +          "covered_s",
      +          "missing_s",
      +          "source_status"
      +        ],
      +        "type": "object"
      +      },
      +      "period": {
      +        "type": "string"
      +      },
      +      "summary_workouts": {
      +        "type": "number"
      +      },
      +      "workouts": {
      +        "type": "number"
      +      },
      +      "zone_workouts": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "period",
      +      "activity",
      +      "workouts",
      +      "duration_s",
      +      "distance_m",
      +      "distance_workouts",
      +      "hr_zones",
      +      "zone_workouts",
      +      "summary_workouts"
      +    ],
      +    "type": "object"
      +  }
      +]
  5. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations are minimal and non-committal (readOnlyHint false, destructiveHint false), so the description has room to add value and does: Monday-anchored weekly grouping with summed duration/distance/HR-zone seconds, boundary-week truncation semantics, and local UTC offsets on timestamps. The only notable omission is any hint about volume, pagination, or result limits for a date-range query.

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?

Front-loaded with the core purpose, then packed with only non-obvious semantics; nearly every sentence carries a rule the schema cannot express. Some lines are telegraphic ("Distance and zone coverage counts distinguish missing data from zero") and would read faster as a fuller clause.

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, the description rightly skips return structure and instead covers the tricky parts: alias handling, weekly grouping rules, boundary weeks, timezone offsets, and max_hr semantics. For a 6-parameter aggregation query with low schema coverage this is close to sufficient; only the pagination/size expectation is unaddressed.

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

Parameters4/5

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

Schema coverage is only 17%, so the description must carry the load and largely does: it explains the activity aliases (run/running, bike/cycling, swim/swimming), what granularity=week actually aggregates, how max_hr overrides the observed maximum, and that kind=workout gates filtering. It adds no detail on the from/to date format beyond the schema pattern, which is the remaining gap.

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 opening sentence names the resource precisely — sleep nights or workouts — and scopes it to an inclusive date range, so an agent knows exactly what comes back. It never names a sibling (e.g. workout_detail for single sessions), so the boundary with related tools must be inferred, which keeps it just 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 Guidelines3/5

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

There is one real conditional: "Filters and weekly grouping require kind=workout," which tells the agent when the activity/granularity params are legal. However, nothing says when to choose this tool over workout_detail or query_daily, and no exclusions or preconditions are stated, so usage is only implied.

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