Skip to main content
Glama

Change exercise of logged sets

move_workout_sets
DestructiveIdempotent

Fix sets logged under the wrong exercise: move ALL sets of one exercise in a session (from_exercise) or specific set_ids to another exercise (to_exercise). Sets keep their reps/weight/effort; if the target exercise already has sets in that session, the moved sets are placed right after them and the session is renumbered. Optionally set side for the moved sets (e.g. 'each' when moving to a unilateral exercise with per-side reps).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "move_workout_sets"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoSession date when using a name (default today)
sideNoAlso set side on the moved sets
sessionNoSession id (preferred) or name (default: today's latest session)
set_idsNoSpecific sets to move instead of a whole exercise
to_exerciseNoTarget exercise name (fuzzy matched)
from_exerciseNoExercise currently holding the sets (name as shown in the session, or id)
to_exercise_idNoTarget exercise id (preferred)
create_missing_exercisesNoCreate a custom exercise if the target name has no match

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is known. The description adds real value beyond that: sets retain reps/weight/effort, moved sets are placed after existing target sets with session renumbering, and side can be applied to the moved sets. It does not discuss reversibility, permissions, or error behavior when an exercise name fails to match.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and both invocation modes are front-loaded in the first sentence, with consequences (preservation, ordering, renumbering) following. It is a dense single paragraph with no filler, though the parenthetical overload makes it slightly harder to scan than it could be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter mutation tool with no output schema, the description covers the essential contract: what moves, what is preserved, where moved sets land, and optional side assignment. Remaining gaps are minor - no note on what is returned or on validation failure when a fuzzy match misses and create_missing_exercises is false.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3, but the description clarifies the two mutually exclusive selection modes (whole-exercise via from_exercise versus individual set_ids) and explains the practical meaning of side ('each' for unilateral per-side reps). That is semantic guidance the schema does not convey, though create_missing_exercises and the date/session defaults are only covered by the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific action and resource: 'move ALL sets of one exercise in a session (from_exercise) or specific set_ids to another exercise (to_exercise)', framed by the corrective use case 'Fix sets logged under the wrong exercise'. An agent can distinguish this from update_workout_set or delete_workout_sets without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The opening clause gives a clear trigger condition ('Fix sets logged under the wrong exercise'), which implies when this tool applies rather than the per-set edit tool. It does not explicitly name an alternative tool or an exclusion (e.g., 'for changing reps/weight, use update_workout_set'), so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources