Skip to main content
Glama

Edit logged sets

update_workout_set
DestructiveIdempotent

Edit one or more logged sets by set id (get_workout_session lists them): reps, weight, duration, effort (rpe 1-10 or rir), side ('each' = per side, both done; 'left'/'right'; null = normal), warm-up flag, notes, or the exercise (to move a single set to another exercise; for all sets of an exercise use move_workout_sets). Use it to save the perceived effort the user gives after logging (several sets at once is fine). Pass null to clear a field.

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": {
      "sets": "<sets>"
    },
    "name": "update_workout_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
setsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true; the description adds the key destructive detail ("Pass null to clear a field"), which is what makes the destructive hint actionable. It doesn't say whether a multi-set update is atomic if one set_id fails, nor mention the 60-set cap, so not fully transparent.

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?

Front-loaded with the action and target, then field list, then edge semantics and alternatives; every clause carries information. It is dense with nested parentheses, which slightly hurts scannability, but nothing is redundant.

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 a mutation tool with no output schema, the description covers fields, null-clearing, side semantics, batching, and sibling routing, with annotations covering safety. Remaining gaps (atomicity across the sets array, the 60-item maximum, exercise vs exercise_id preference) are minor.

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

Parameters5/5

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

Schema description coverage is 0%, and the description compensates by naming each mutable field and adding semantics the schema lacks: rpe is 1-10, rir is an alternative effort scale, and side 'each' means per side with both done, 'left'/'right' for one side, null for normal. It also explains that null clears a field, which is essential for a nullable-heavy 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 verb and resource ("Edit one or more logged sets by set id") and immediately enumerates the mutable fields, so an agent knows exactly what this tool touches. It also distinguishes itself from the sibling move_workout_sets by scoping itself to a single set move.

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

Usage Guidelines5/5

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

Gives an explicit use case ("save the perceived effort the user gives after logging"), notes batching is fine ("several sets at once is fine"), and routes to alternatives: get_workout_session to obtain set ids and move_workout_sets for moving all sets of an exercise.

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