Fitaily MCP
Training
Activity and strength history, training plans, cardio logging and strength workout templates (CRUD). Strength sessions themselves cannot be created in chat.
get_training_history
readtraining:readTraining history
Recent activities and strength workouts (type, date, distance, duration). No per-second GPS.
Parameters
| Parameter | Type | Description |
|---|---|---|
| from | string | Range start (YYYY-MM-DD). |
| to | string | Range end (YYYY-MM-DD). |
| limit default: 10 | integer | Max results (1–20). |
get_training_plan
readtraining:readTraining plan details
Planned training sessions (multi-sport plans and strength templates).
Parameters
| Parameter | Type | Description |
|---|---|---|
| limit default: 20 | integer | Max results (1–20). |
log_activity
writetraining:writeLog an activity
WRITE: log a simple cardio/manual activity (run, ride, walk). Confirm with the user first. Strength sessions cannot be created here — one active session per user plus set structure do not fit chat.
Parameters
| Parameter | Type | Description |
|---|---|---|
| type * | string | Activity type (1–40). |
| name * | string | Name (1–120). |
| durationMin * | integer | Duration in minutes (1–1440). |
| distanceKm | number | Distance in km (0–500). |
| caloriesBurned | number | Calories burned (0–10000). |
| date | string | Date and time (ISO 8601). |
get_workout_plans
readtraining:readWorkout plans
Saved workout templates (name, description, origin, exercises). A template generated by a training plan has origin PLAN_TEMPLATE and is not shown in the app's workout library; pass origin=standalone to list only the user's own templates.
Parameters
| Parameter | Type | Description |
|---|---|---|
| limit default: 30 | integer | Max results (1–50). |
| origin | enum(standalone|plan_template|all) | Origin filter. |
get_workout_plan
readtraining:readWorkout plan details
One workout template by id, with exercises and their sets/reps.
Parameters
| Parameter | Type | Description |
|---|---|---|
| id * | string | Template id. |
create_workout_plan
writetraining:writeCreate a workout plan
WRITE: create a workout template. Confirm the whole template with the user first. exerciseId values must come from search_exercises — never invent them. reps is a free string (e.g. "8-12").
Parameters
| Parameter | Type | Description |
|---|---|---|
| name * | string | Name (1–120). |
| description | string | Description (≤2000). |
| exercises * | object[] | 1–60 exercises: exerciseId, sets?, reps?, orderIndex?, dayOfWeek?. |
update_workout_plan
writetraining:writeUpdate a workout plan
WRITE: update a strength plan. Send only changed fields; exercises replaces the whole list. Confirm with the user first.
Parameters
| Parameter | Type | Description |
|---|---|---|
| id * | string | Template id. |
| name | string | New name. |
| description | string | New description. |
| exercises | object[] | New exercise list (replaces). |
delete_workout_plan
destructivetraining:writeDelete a workout plan
WRITE: delete a strength plan template. Confirm with the user first.
Parameters
| Parameter | Type | Description |
|---|---|---|
| id * | string | Template id. |