Skip to main content
Glama

Create or change a training plan

save_plan
DestructiveIdempotent

Create a training plan, or change one: add exercises with their targets (sets, reps, weight, time), change an exercise already in it, remove one by name, group some into a superset. Logged sets are never touched. Confirm changes with the person first.

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": {
      "idempotency_key": "<idempotency_key>"
    },
    "name": "save_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoWeekdays the person trains this plan; it shows in Kove on those days. Replaces its days.
nameNoThe plan's name (required to create; a new name to rename).
planNoTo change a plan, its id or name. Omit to create one.
circuitNotrue runs the whole plan as a circuit. Turning one off is done in the app.
exercisesNoExercises to add, or to change when the plan already has them. Leaving one out never removes it.
descriptionNo
leave_supersetNoExercises to take out of their superset (they stay in the plan).
idempotency_keyYesA new random string per write (8-128 of A-Z a-z 0-9 - _ . :); send the same one to retry, never a new one.
remove_exercisesNoExercises to take out, by name.

Output Schema

NameRequiredDescriptionDefault
dateYes
writtenYes
replayedNo
write_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / days
      Added value: +{
      +  "description": "Weekdays the person trains this plan; it shows in Kove on those days. Replaces its days.",
      +  "items": {
      +    "enum": [
      +      "monday",
      +      "tuesday",
      +      "wednesday",
      +      "thursday",
      +      "friday",
      +      "saturday",
      +      "sunday"
      +    ],
      +    "type": "string"
      +  },
      +  "maxItems": 7,
      +  "minItems": 1,
      +  "type": "array"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so safety and retry semantics are covered structurally. The description adds genuinely non-obvious scope information — "Logged sets are never touched" — which bounds the blast radius of a destructive tool. It does not address failure modes (unknown plan name/id) or partial-application behavior, so it adds useful but not rich context beyond annotations.

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 primary verb and tightly written — three sentences, each earning its place, with the confirmation rule placed last as an action guard. The middle colon-list of operations is dense but scannable; slightly more structure would make it a 5.

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, multi-parameter mutation with an output schema and high schema coverage, the description covers purpose, operation set, blast-radius guarantee, and a confirmation requirement. The main remaining gap is behavior when the referenced plan cannot be resolved, which matters for an edit-or-create overload.

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 89%, so the schema already carries nearly all parameter meaning, including the subtle superset-joining and "leaving one out never removes it" rules. The description only restates the target fields (sets, reps, weight, time) and that removal is by name, adding little beyond structured data. Baseline 3 is appropriate.

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?

The description opens with a specific verb+resource ("Create a training plan, or change one") and then enumerates the concrete operations: add exercises with targets, change an existing exercise, remove by name, group into a superset. This distinguishes it clearly from the read-only sibling get_plan without needing to open either schema.

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 gives a clear operational rule — "Confirm changes with the person first" — which tells the agent this is a mutation requiring human confirmation before invocation. It also implies the create-vs-edit distinction via the "plan" parameter guidance. It stops short of naming a specific alternative tool or stating explicit when-not conditions, so it falls just below the top mark.

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.