Skip to main content
Glama

remove_from_plan

Destructive

Remove planned work from the calendar: one scheduled workout on date (by iid from get_plan), or every planned workout on that day when iid is omitted. Touches planned entries only — completed activities and the day's notes stay. There is no undo: putting a session back is plan_workouts or copy_workouts. Returns how many entries were removed, or says nothing was planned that day.

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": {
      "date": "<date>"
    },
    "name": "remove_from_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
iidNoone workout's iid; omit to clear every planned workout that day
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.
dateYesthe day to remove from
noteEditsNoDay notes this change makes wrong — yours or the athlete's, never their coach's — changed in the same card (the athlete applies it or not): replaces = the start of that note; note "" removes it, new text rewrites it, to moves it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / noteEdits / description
      Previous value: -"YOUR OWN day notes (by:\"ai\") this change makes wrong, changed in the same card: replaces = the start of that note; note \"\" removes it, new text rewrites it, to moves it"New value: +"Day notes this change makes wrong — yours or the athlete's, never their coach's — changed in the same card (the athlete applies it or not): replaces = the start of that note; note \"\" removes it, new text rewrites it, to moves it"
  2. Changed1 schema field changed
    • addedInput schema / properties / noteEdits
      Added value: +{
      +  "description": "YOUR OWN day notes (by:\"ai\") this change makes wrong, changed in the same card: replaces = the start of that note; note \"\" removes it, new text rewrites it, to moves it",
      +  "items": {
      +    "properties": {
      +      "date": {
      +        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +        "type": "string"
      +      },
      +      "note": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      },
      +      "replaces": {
      +        "maxLength": 200,
      +        "minLength": 4,
      +        "type": "string"
      +      },
      +      "to": {
      +        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "date",
      +      "replaces"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 10,
      +  "type": "array"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / date / description
      Added value: +"the day to remove from"
    • addedInput schema / properties / iid / description
      Added value: +"one workout's iid; omit to clear every planned workout that day"
  4. Changed1 schema field changed
    • addedInput schema / properties / why
      Added value: +{
      +  "description": "ONE 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.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  5. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, and the description goes well beyond that: it says only planned entries are touched while completed activities and day notes survive, that the action is irreversible, and what the response contains (a count, or a no-op message). That is exactly the context an agent needs before an irreversible call.

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?

Four short sentences, front-loaded with the action and scope, then the side-effect boundary, then the irreversibility warning, then the return shape. Nothing is padded or restated.

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?

Covers scope, preservation of adjacent data, irreversibility, and the return value for a destructive four-parameter tool with no output schema. The omission is that `why` and `noteEdits` – including the note-rewrite/remove semantics – are only explained inside the schema, not in the description.

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 coverage is 100%, so the baseline applies. The description adds a little meaning by pointing to `get_plan` as the source of `iid` and spelling out the omit-all behavior, but it never mentions the `why` audit-trail line or the `noteEdits` day-note reconciliation, which are the two most consequential parameters.

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 plus its exact scope: removing planned work from the calendar, either one scheduled workout identified by `iid` or all planned workouts on `date`. It implicitly separates itself from `plan_workouts`/`copy_workouts` by naming them as the restore path, so an agent can distinguish it from siblings without opening their schemas.

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 decision rule for the two modes: pass `iid` from `get_plan` to remove a single workout, omit it to clear the whole day. It also names alternatives for the reverse operation (plan_workouts, copy_workouts) and warns there is no undo.

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