Skip to main content
Glama

Update planned workout

update_planned_workout
DestructiveIdempotent

Move a planned item to another date, rename it, change kind/details/template, or set status (planned, done, skipped). Lifting days: exercises replaces the day's list (omitted weights are suggested), edit_exercises changes some of them (e.g. squat weight_kg 80). Only this day changes.

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": {
      "id": "<id>"
    },
    "name": "update_planned_workout"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
dateNoNew date YYYY-MM-DD
kindNo
notesNo
titleNo
statusNo
detailsNoFields given are merged into existing details
templateNoTemplate name/id, or null to clear
exercisesNoStrength: the day's full exercise list with targets
edit_exercisesNoStrength: change targets of exercises already planned that day
suggest_weightsNoFill omitted weights in exercises from the user's history (default true)
create_missing_exercisesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description does add real behavioral context beyond them: the replace-vs-patch distinction for exercises/edit_exercises, the weight-suggestion fallback for omitted weights, and the single-day blast radius ("Only this day changes"). It says nothing about auth requirements, whether top-level fields are merged or overwritten, or error behavior when the id or date is invalid.

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

Conciseness5/5

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

Three sentences, front-loaded with the set of mutations an agent is likely to want, then the lifting-specific rules, then a one-clause scope caveat. No restatement of the title or the tool name, and the parenthetical example replaces a paragraph of explanation.

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 12-parameter destructive mutation with nested exercise objects and no output schema, the description covers the semantics that matter most, especially the destructive replacement behavior of exercises. The gaps are the two behavior-changing booleans and the absence of any note on what a successful call returns or how partial merges of details behave at the top level.

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 50% across 12 parameters including nested objects, so the description must carry weight and it largely does: it maps date/title/kind/details/template/status to their intents and gives a concrete example for the lifting case ("squat weight_kg 80"). It never mentions suggest_weights or create_missing_exercises, the two boolean toggles that change how omitted weights and unknown exercises behave, leaving those to be inferred from schema defaults.

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 opens with concrete verbs and the resource: move to another date, rename, change kind/details/template, set status. It also scopes the operation ("Only this day changes"), which separates it from anything recurring or session-level in the sibling list. It stops short of naming a specific sibling (e.g. delete_planned_workout or plan_workout) for contrast.

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?

It routes between the two lifting parameters explicitly: "exercises replaces the day's list" versus "edit_exercises changes some of them", which is exactly the decision an agent must make. The status enum values are enumerated inline. What's missing is guidance on when to call plan_workout or delete_planned_workout instead, and any precondition for performing a mutation.

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