Skip to main content
Glama

Add a training day

add_program_day

Adds a training day to a week of a program.

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": {
      "weekId": "<weekId>"
    },
    "name": "add_program_day"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoE.g. "Treino B".
weekIdYesWeek id from get_program.
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.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the mutation and safety profile is covered. The description adds nothing beyond that: it doesn't say whether a duplicate day for the same day_of_week overwrites or errors, what happens to exercises, or what is returned. Against an annotation-covered baseline this is adequate but thin.

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

Conciseness3/5

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

A single sentence with no wasted words, but its brevity is under-specification rather than efficiency for a six-parameter creation tool. The core purpose is front-loaded, which is the main positive.

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?

Six parameters, half undocumented, no output schema, and a creation tool with no annotations describing side effects. The description leaves an agent guessing about uniqueness constraints, which fields are optional in practice, and what a successful add returns.

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 50%, covering name, weekId and day_of_week, while warmup_notes, cooldown_notes and estimated_minutes are undocumented. The description does not compensate by explaining defaults, units, or the interaction between day_of_week and existing days, so it adds no meaning beyond the schema.

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?

States a specific verb (adds) and a specific resource (a training day to a week of a program), which is enough to distinguish it from add_program_week and add_exercise_to_program_day. It does not, however, explicitly contrast itself with those siblings.

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 guidance on when to use this versus update_program_day or add_exercise_to_program_day, and no prerequisites stated (e.g. that a week must already exist, which is only hinted at by the schema's "Week id from get_program"). The agent must infer usage entirely from the name.

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