Skip to main content
Glama

Create a training program

create_program

Creates a program (weeks with training days and exercises) for a student (student_id) or as a template without it. Weeks and days can also be added later.

Input Schema

NameRequiredDescriptionDefault
nameYes
weeksNo
statusNo
categoryNo
difficultyNo
student_idNoThe student_id from list_students.
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, open-world write, so the safety profile is covered. The description adds the useful behavioral fact that the entire nested tree (program → weeks → days → exercises) is created in one call and that structure can be extended afterward. It says nothing about what is returned (e.g. a new program id needed for follow-on calls) or whether status defaults to draft.

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?

Two sentences, front-loaded with the action and resource, with the mode switch immediately following. The parenthetical structure is dense but every clause carries information; no filler.

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

Completeness3/5

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

For a 7-parameter nested create with no output schema, the definition conveys the creation model but omits what the agent gets back and how status/difficulty affect the result. An agent can form a reasonable call from it, but would have to guess at downstream wiring (program id) and default status.

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 14%, so the description carries most of the burden, yet it only explains student_id and the general weeks concept. The top-level parameters status (draft vs active), category, difficulty, and the program-level description field get no semantic treatment in either place, and the meaning of a draft program versus an active one is left entirely unstated.

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 and resource ("Creates a program") and clarifies the payload shape (weeks with training days and exercises) plus the two modes: student-bound via student_id or a standalone template. It does not distinguish itself from create_workout or the incremental add_program_week/add_program_day siblings, so an agent must infer which builder to pick.

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

Usage Guidelines3/5

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

The clause "or as a template without it" gives a concrete rule for omitting student_id, which is real usage guidance. However, "Weeks and days can also be added later" only hints at the incremental alternative (add_program_week/add_program_day) without naming it, and nothing explains when to use create_program versus create_workout or copy_program.

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