Skip to main content
Glama

Trainer Connect

Create a workout

create_workout

Creates a workout, assigned to a student (student_id) or as a template when student_id is empty, with its exercises: sets, reps (or a range with reps_max), load, rest, duration for cardio, notes. Exercises are matched to the Trainer Connect library by name so the student sees the demo video (or pass edb_exercise_id from search_exercises). For a weekly program, call it once per day with the same program name and day_of_week. The student is notified, like in the app.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesWorkout name, e.g. "Treino A - Peito e Tríceps".
programNoProgram/week name that groups the days, e.g. "Hipertrofia outubro".
exercisesYesExercises in order.
student_idNostudent_id from list_students. Empty = template in the trainer's library.
day_of_weekNomonday … sunday.
descriptionNoNotes for the student.
estimated_minutesNoExpected duration.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources