Skip to main content
Glama

update-routine

Modify workout routines by updating titles, notes, and exercise details. Use this tool to edit and apply changes to existing routines while maintaining folder assignments. Returns the updated routine.

Instructions

Update an existing workout routine by ID. You can modify the title, notes, and exercise data. Returns the updated routine with all changes applied. Note that you cannot change the folder assignment through this method.

Input Schema

NameRequiredDescriptionDefault
exercisesYes
notesNo
routineIdYes
titleYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "exercises": { "items": { "additionalProperties": false, "properties": { "exerciseTemplateId": { "minLength": 1, "type": "string" }, "notes": { "type": "string" }, "restSeconds": { "minimum": 0, "type": "integer" }, "sets": { "items": { "additionalProperties": false, "properties": { "customMetric": { "type": "number" }, "distanceMeters": { "type": "integer" }, "durationSeconds": { "type": "integer" }, "reps": { "type": "integer" }, "type": { "default": "normal", "enum": [ "warmup", "normal", "failure", "dropset" ], "type": "string" }, "weightKg": { "type": "number" } }, "type": "object" }, "type": "array" }, "supersetId": { "type": [ "number", "null" ] } }, "required": [ "exerciseTemplateId", "sets" ], "type": "object" }, "type": "array" }, "notes": { "type": "string" }, "routineId": { "minLength": 1, "type": "string" }, "title": { "minLength": 1, "type": "string" } }, "required": [ "routineId", "title", "exercises" ], "type": "object" }

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