Skip to main content
Glama

update_plan_workouts

Destructive

The same kind of edit on MANY scheduled workouts — ONE card instead of one per session; use it for an edit covering more than three sessions. Each edits item is date + iid + the fields that change, each meaning what it means in update_plan_workout. Structure, gym content, sport and the key star: update_plan_workout, one by one. An edit the single tool would refuse is an invalid line on the card; the rest land.

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": {
      "edits": "<edits>"
    },
    "name": "update_plan_workouts"
  }
}

Input Schema

NameRequiredDescriptionDefault
whyNoONE line, in the athlete's language: WHY this change — the reason from the conversation ("travel Thu-Fri, long ride moved to Sat", "deload after 3 build weeks"). The athlete's other assistant surface reads it later; without it, it sees only that the plan changed. No health details beyond what the plan needs.
editsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / edits / items / properties / context / items / enum
      Previous value: -[
      -  "workout",
      -  "heat",
      -  "altitude",
      -  "indoor",
      -  "race",
      -  "test",
      -  "group",
      -  "commute",
      -  "offroad"
      -]New value: +[
      +  "workout",
      +  "heat",
      +  "altitude",
      +  "indoor",
      +  "race",
      +  "test",
      +  "group",
      +  "commute",
      +  "offroad",
      +  "openwater"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / edits / items / properties / context / items / enum
      Previous value: -[
      -  "workout",
      -  "heat",
      -  "altitude",
      -  "indoor",
      -  "race",
      -  "test",
      -  "group",
      -  "commute"
      -]New value: +[
      +  "workout",
      +  "heat",
      +  "altitude",
      +  "indoor",
      +  "race",
      +  "test",
      +  "group",
      +  "commute",
      +  "offroad"
      +]
  3. Changed1 schema field changed
    • addedInput schema / properties / edits / items / properties / time
      Added value: +{
      +  "pattern": "^(([01]\\d|2[0-3]):[0-5]\\d)?$",
      +  "type": "string"
      +}
  4. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this destructive and non-readOnly, so the description need not restate that. It adds important non-atomic behavior: an edit the single tool would refuse is an invalid line while the rest land, and it notes one card instead of one per session.

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?

It is compact and front-loads the bulk scope and the more-than-three-sessions threshold. The fragment 'Structure, gym content, sport and the key star: update_plan_workout, one by one' is terse to the point of ambiguity.

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 destructive bulk edit, it gives the essential call behavior: per-item validation with the rest landing, plus the one-card result. It does not describe return values or all constraints, but those are partly in the schema and there is no output schema.

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

Parameters3/5

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

The description explains that each edits item is date + iid + changed fields, and that each field means what it does in update_plan_workout. That cross-reference helps, but the nested fields remain largely undocumented and the why parameter is left to the schema.

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?

The description identifies a bulk edit over many scheduled workouts and contrasts it with the one-session card, making it clearly a bulk variant of update_plan_workout. The threshold 'more than three sessions' and 'same kind of edit' give a usable scope, though 'key star' is cryptic.

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?

It explicitly says to use this for an edit covering more than three sessions and routes structure, gym content, sport, and 'key star' changes to update_plan_workout one by one. The alternative and exclusion are named, so an agent can choose between the bulk and single-session tools.

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