Skip to main content
Glama
liftoff-mcp
by mpvii

schedule_update_workout

Edit exercises in a scheduled workout by removing, swapping, adding, or adjusting sets. Runs as a dry-run preview until you confirm the changes.

Instructions

Edit the exercises inside a scheduled workout (dry-run unless confirmed).

This is the low-level session editor. Each entry uses the app's own shape: removed: {sectionIndex, exerciseIndex}; swapped: {sectionIndex, exerciseIndex, exerciseId}; edits: {sectionIndex, exerciseIndex, exerciseId, sets[]}; added: {sectionIndex, exerciseId}. Sets use {setIndex, setType, inputOne, inputTwo}.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "scheduled_workout_id": "<scheduled_workout_id>"
    },
    "name": "schedule_update_workout"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNokg
addedNo
editsNo
confirmNo
removedNo
swappedNo
scheduled_workout_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden: it does disclose that the tool is a dry-run by default and only mutates when confirmed, which is valuable. But it omits whether removals are irreversible, how partial failures are handled, whether index values refer to live session order, and whether 'edits' replaces or merges existing sets — important gaps for a mutation tool with zero annotation coverage.

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 default behavior are front-loaded in the first sentence, then the payload shapes are laid out compactly per operation. No filler sentences; the only borderline redundancy is the framing line before the shape list.

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

Completeness3/5

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

Seven parameters, no annotations, and a complex nested payload mean the description must do heavy lifting; it covers the hard part (entry shapes and dry-run semantics) but is thin on 'unit', index addressing rules, and conflict behavior. The existence of an output schema excuses it from explaining return values.

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 description coverage is 0% and all four structured array params are typed only as generic objects, so the description's field-level shapes ({sectionIndex, exerciseIndex}, {exerciseId}, {setIndex, setType, inputOne, inputTwo}) add information the schema does not. It leaves 'unit' and 'scheduled_workout_id' undocumented, and 'confirm' is only indirectly explained via the dry-run note.

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

Purpose4/5

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

States a specific verb and resource ('Edit the exercises inside a scheduled workout') and self-identifies as the 'low-level session editor', which helps separate it from higher-level sibling editors. It does not explicitly name a sibling alternative, so differentiation is implied rather than spelled out.

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

Usage Guidelines3/5

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

The parenthetical '(dry-run unless confirmed)' tells the agent the default mode and how to actually apply changes, which is real usage guidance. However, there is no statement of when to choose this over schedule_add_workout, schedule_remove_workout, schedule_move_workout, or routine_update, so the agent must infer routing.

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