SugarWOD MCP by usefulapi

v1.9.1
io.usefulapi/sugarwod Checked 3 days ago Published 1 day ago

Read athletes, workouts, scores and movements; change an athlete's name or email in SugarWOD.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

sugarwod_get_box Get the gym

Get the gym (SugarWOD calls it the affiliate or box) this API key belongs to: name, address and logo. Good first call to confirm the key works. SugarWOD API: GET /v2/box.

sugarwod_get_account_owner Get the account owner

Get the athlete who is the registered owner of the gym's SugarWOD account. SugarWOD API: GET /v2/box/account-owner.

sugarwod_list_athletes List athletes

List the gym's athletes, coaches and owners, one page at a time. Filter with role. Use skip and limit to page through the list. SugarWOD API: GET /v2/athletes.

ParameterTypeDescription
limitintegerItems per page (1-100, default 25).
rolestringWhich members to list (default all).
skipintegerNumber of items to skip (paging offset, default 0).

sugarwod_get_athlete Get an athlete

Get one athlete of the gym by id: name, email, gender, coach or owner flags and last login. SugarWOD API: GET /v2/athletes/{athlete_id}.

ParameterTypeDescription
athlete_id *stringThe athlete id (from another SugarWOD tool).

sugarwod_find_athlete_by_email Find an athlete by email

Find the gym's athlete who registered with this email address. SugarWOD API: GET /v2/athletes/find?email=.

ParameterTypeDescription
email *stringThe email address the athlete registered with.

sugarwod_update_athlete Update an athlete

Change an athlete's first name, last name or email in the gym's SugarWOD. Give at least one field. Only these three fields can be changed through the API. Changes the live gym record; the same values give the same result on a repeat call. SugarWOD API: PATCH /v2/athletes/{athlete_id}.

ParameterTypeDescription
athlete_id *stringThe athlete id (from another SugarWOD tool).
emailstringNew email address.
first_namestringNew first name.
last_namestringNew last name.

sugarwod_list_tracks List tracks

List the gym's tracks: the calendars of workouts for groups, such as Workout of the Day or a barbell club. Use a track id with sugarwod_list_workouts. Pages of 25 by default; links.next in the reply gives the next page. SugarWOD API: GET /v2/tracks.

ParameterTypeDescription
limitintegerItems per page (1-100, default 25).
skipintegerNumber of items to skip (paging offset, default 0).

sugarwod_list_workouts List workouts

List the gym's workouts for one date or a date range (7 days at most), optionally for one track. Workouts are scheduled by date, not by class time. Pages of 25 by default; links.next in the reply gives the next page. SugarWOD API: GET /v2/workouts?dates=&track_id=.

ParameterTypeDescription
datesstringOne date (YYYYMMDD) or a range (YYYYMMDD-YYYYMMDD, 7 days at most). Default: today in UTC.
limitintegerItems per page (1-100, default 25).
skipintegerNumber of items to skip (paging offset, default 0).
track_idstringOnly workouts on this track (from sugarwod_list_tracks).

sugarwod_get_workout Get a workout

Get one scheduled workout by id: title, description, score type, date, track and movements. SugarWOD API: GET /v2/workouts/{workout_id}.

ParameterTypeDescription
workout_id *stringThe workout id (from another SugarWOD tool).

sugarwod_list_workout_athletes List athletes who logged a workout

List the athletes who logged a score for one workout. Pages of 25 by default; links.next in the reply gives the next page. SugarWOD API: GET /v2/workouts/{workout_id}/athletes.

ParameterTypeDescription
workout_id *stringThe workout id (from another SugarWOD tool).
limitintegerItems per page (1-100, default 25).
skipintegerNumber of items to skip (paging offset, default 0).

sugarwod_list_benchmarks_by_category List benchmark workouts

List the SugarWOD library's benchmark workouts in one category (Girls, Heroes, Games, gymnastics, notable or custom). SugarWOD API: GET /v2/benchmarks/category/{category}.

ParameterTypeDescription
category *stringBenchmark category.
limitintegerItems per page (1-100, default 25).
skipintegerNumber of items to skip (paging offset, default 0).

sugarwod_get_benchmark Get a benchmark workout

Get one benchmark workout by id: title, description, score type, category and movements. SugarWOD API: GET /v2/benchmarks/{benchmark_id}.

ParameterTypeDescription
benchmark_id *stringThe benchmark id (from another SugarWOD tool).

sugarwod_list_movements List movements

List movements in the SugarWOD library (for example Box Jump, Back Squat, Wall Ball). Pages of 25 by default; links.next in the reply gives the next page. SugarWOD API: GET /v2/movements.

ParameterTypeDescription
limitintegerItems per page (1-100, default 25).
skipintegerNumber of items to skip (paging offset, default 0).

sugarwod_get_movement Get a movement

Get one movement by id: name and its videos. SugarWOD API: GET /v2/movements/{movement_id}.

ParameterTypeDescription
movement_id *stringThe movement id (from another SugarWOD tool).

sugarwod_get_barbell_lift Get a barbell lift

Get one barbell lift by id (for example Back Squat or Hang Power Clean): name, category and its movements. SugarWOD API: GET /v2/barbelllifts/{barbelllift_id}.

ParameterTypeDescription
barbelllift_id *stringThe barbell lift id (from another SugarWOD tool).