Skip to main content
Glama

Nolio

Update a planned workout

update_planned_training
Destructive

Update a planned training workout. Read it first with get_planned_training, apply your changes in reasoning, then send the patch — nodes kept from the read keep their "id" (the server preserves everything the web editor set on them; a node without id is created new). The audience (athletes XOR group) is patchable with recurrence_action one only. If no schema field expresses a detail of the coach's intent, put it in the comment of the relevant node — never approximate it into another field, never drop it. If a request expands to more than 3 write operations, list the computed dates/targets and get explicit confirmation before writing.

Input Schema

NameRequiredDescriptionDefault
idYesPublic id of the event to update.
groupNoGroup id (grp_…) carrying this event, for a workout planned on a whole group you manage. Omit it for an individual event. Never together with `athlete`.
patchYesRFC 7396 merge-patch of the envelope: omitted fields stay untouched, null clears a field, provided values replace it. "workout", when provided, replaces the whole structured content (full-replace): re-emit the entire array, preserving the "id" of every node you keep; null removes it and zeroes the duration and distance it synced. The audience ("athletes" XOR "group") is patchable with recurrence_action one only.
athleteNoAthlete id (usr_…) whose calendar carries this event, the same id you read it with. Omit it for your own events. Never together with `group`.
confirmNoTrue only after the user confirms replacing or disabling this recurrence. Required on MCP when the rule change removes occurrences.
revisionNoRevision token from your last get_* read — optional but strongly recommended. On mismatch the server rejects with the fresh state: re-read, re-apply your change, re-emit. It only detects concurrent edits — no version history, no server-side undo: to be able to restore, keep the JSON you read before modifying and resubmit it without node ids.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, and the description goes well beyond them: it discloses that the workout array is full-replace, that nodes kept from the read must carry their "id" and the server then preserves web-editor state, that a node without id is created new, and that the audience is only patchable under recurrence_action=one. These are the exact semantics an agent would otherwise get wrong on a destructive mutation.

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?

Four dense sentences with the workflow front-loaded before the constraints, and no filler. The parenthetical asides are long, but each carries a distinct rule (id preservation, comment fallback, confirmation threshold) rather than repeating the title.

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, deeply nested mutation with no output schema, the description covers the workflow, identity preservation, the comment escape hatch, and the confirmation gate — enough to call it safely. It stops short of describing failure modes (revision mismatch, validation rejection) that the schema documents but a quick-scanning agent might miss.

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?

Schema description coverage is 100%, so the schema already documents every parameter in depth, and the description's audience/recurrence_action sentence largely restates the patch schema text. The node-id preservation guidance is genuinely useful but also echoed in the schema's id fields, so this dimension lands at the baseline rather than above it.

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 opening sentence states a specific verb and resource ("Update a planned training workout") and immediately establishes the read-modify-write pattern. It does not explicitly differentiate itself from near-name siblings such as update_planned_event or create_planned_training, so an agent must infer the boundary from the resource noun alone.

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?

Explicitly names the prerequisite tool ("Read it first with get_planned_training"), the intermediate step ("apply your changes in reasoning"), and the fallback for unrepresentable intent ("put it in the comment of the relevant node — never approximate it"). It also defines a concrete escalation rule: more than 3 write operations requires listing computed dates/targets and getting explicit confirmation.

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