Correlate recovery and training metrics
wellness_correlateCalculate daily Pearson or Spearman correlation between wellness and training metrics, with optional -7 to +7 day lag scan. Requires athleteId from list_athletes.
Instructions
Calculate a compact daily Pearson or Spearman correlation between curated wellness and training metrics, with an optional -7 through +7 day lag scan. Descriptive only. Requires athleteId from list_athletes.
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": {
"athleteId": "<athleteId>",
"metricA": "<metricA>",
"metricB": "<metricB>"
},
"name": "wellness_correlate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | ||
| endDate | No | ||
| lagDays | No | ||
| metricA | Yes | ||
| metricB | Yes | ||
| scanLags | No | ||
| athleteId | Yes | ||
| startDate | No |