Skip to main content
Glama

update_plan_day

Destructive

Change one upcoming day of a plan, identified by plan_id and its date. Exactly one change per call: new_date moves it, workout_id swaps in a different saved workout that no other day of the plan uses, skip marks it skipped (optional reason). Days already delivered, done or skipped cannot be changed. This replaces the saved plan 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": {
      "plan_id": "<plan_id>",
      "date": "<date>"
    },
    "name": "update_plan_day"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesCalendar date, YYYY-MM-DD.
skipNotrue to skip this day.
reasonNoWhy the day is skipped; only with skip.
plan_idYes
new_dateNoCalendar date, YYYY-MM-DD.
workout_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag this as destructive and non-idempotent, but the description adds real substance beyond them: that non-skipped content is replaced wholesale, that delivered/done/skipped days are immutable, and that the swapped workout must be unused elsewhere in the plan. It stops short of covering side effects like notifications or quota, so not a 5.

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?

The scope statement is front-loaded before the mode enumeration, and every clause carries operational meaning – the immutability rule and the uniqueness rule both prevent real errors. A minor redundancy exists between "Change one upcoming day" and the closing "This replaces the saved plan day."

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 6-parameter mutation with no output schema, the description covers what gets replaced, what is off-limits, and the one-change-per-call rule, which is the information an agent needs to avoid misuse. Remaining gaps are behavioral edges (post-change visibility, whether skipping shifts subsequent days) rather than invocation blockers.

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?

With 67% schema coverage the schema already documents date, skip, reason, and new_date, and the description adds the important non-schema constraint that the three change parameters are mutually exclusive per call. The new workout_id uniqueness rule genuinely extends the schema's meaning, but plan_id remains entirely undescribed in both places.

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?

"Change one upcoming day of a plan, identified by plan_id and its date" gives a specific verb, resource, and scope, and the three enumerated change modes (move, swap, skip) make clear what the operation accomplishes. It does not name a sibling such as remove_plan_day to draw the boundary explicitly, which keeps it out of the top band.

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?

The description states the operating constraint clearly: "Exactly one change per call" and maps each optional parameter to its effect (new_date moves, workout_id swaps, skip marks skipped). It is missing the routing layer – when to pick this over remove_plan_day or create_plan – so alternatives are left to inference.

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