Skip to main content
Glama
postRoutinesRequestBody.json2.24 kB
{"type":"object","properties":{"routine":{"type":"object","properties":{"title":{"type":"string","description":"The title of the routine.","example":"April Leg Day 🔥"},"folder_id":{"type":"number","nullable":true,"description":"The folder id the routine should be added to. Pass null to insert the routine into default \"My Routines\" folder","example":null},"notes":{"type":"string","description":"Additional notes for the routine.","example":"Focus on form over weight. Remember to stretch."},"exercises":{"type":"array","items":{"type":"object","properties":{"exercise_template_id":{"type":"string","description":"The ID of the exercise template.","example":"D04AC939"},"superset_id":{"type":"integer","nullable":true,"description":"The ID of the superset.","example":null},"rest_seconds":{"type":"integer","nullable":true,"description":"The rest time in seconds.","example":90},"notes":{"type":"string","nullable":true,"description":"Additional notes for the exercise.","example":"Stay slow and controlled."},"sets":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of the set.","enum":["warmup","normal","failure","dropset"],"example":"normal"},"weight_kg":{"type":"number","nullable":true,"description":"The weight in kilograms.","example":100},"reps":{"type":"integer","nullable":true,"description":"The number of repetitions.","example":10},"distance_meters":{"type":"integer","nullable":true,"description":"The distance in meters.","example":null},"duration_seconds":{"type":"integer","nullable":true,"description":"The duration in seconds.","example":null},"custom_metric":{"type":"number","nullable":true,"description":"A custom metric for the set. Currently used for steps and floors.","example":null},"rep_range":{"type":"object","nullable":true,"description":"Range of reps for the set, if applicable","properties":{"start":{"type":"number","nullable":true,"description":"Starting rep count for the range","example":8},"end":{"type":"number","nullable":true,"description":"Ending rep count for the range","example":12}}}},"x-readme-ref-name":"PostRoutinesRequestSet"}}},"x-readme-ref-name":"PostRoutinesRequestExercise"}}}}},"x-readme-ref-name":"PostRoutinesRequestBody"}

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrisdoc/hevy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server