Skip to main content
Glama

Edit a training day

update_program_day

Renames, moves or changes the notes of a training 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": {
      "dayId": "<dayId>"
    },
    "name": "update_program_day"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
dayIdYesDay id from get_program.
statusNo
positionNo
day_of_weekNo0 (Monday) to 6 (Sunday).
warmup_notesNo
cooldown_notesNo
estimated_minutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / day_of_week / description
      Previous value: -"0 (Sunday) to 6."New value: +"0 (Monday) to 6 (Sunday)."
  2. Added

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare it is a non-destructive, non-read-only write, so the description only needs to add mutation semantics — but it says nothing about whether omitted fields are preserved (partial update vs. replace), what happens to exercises already attached to the day, or whether permissions are required. The one clarification the description gives, that "moves" a day, is not enough for an 8-parameter 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?

A single tight sentence with zero filler and the verb list front-loaded. It is arguably too terse for the parameter count, but nothing in it is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter mutation with 25% schema coverage and no output schema, the description omits too much: partial-update behavior, the meaning of the two positional fields, and the effect of status changes are all undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% (only dayId and day_of_week are documented) and 8 parameters exist, so the description bears heavy load. It maps loosely onto name, position and the two notes fields, but leaves status, estimated_minutes and the distinction between position and day_of_week entirely unexplained.

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 gives a specific verb set (renames, moves, changes notes) against a specific resource (a training day), which clearly separates it from add_program_day and update_program. It stops short of naming the full mutation surface (status, estimated_minutes, day_of_week), but the core purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance, no prerequisites, and no mention of the obvious alternatives such as update_program_week or reorder_program_days. The agent must infer that this tool targets an existing day identified by dayId.

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