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.

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

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. Changed1 schema field changed
    • changedInput schema / properties / weeks / items / properties / days / items / properties / day_of_week / description
      Previous value: -"0 (Sunday) to 6."New value: +"0 (Monday) to 6 (Sunday)."
  2. Added

TDQS

B3.1/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 external-visibility profile is partly covered. The description adds useful structural behavior: the program can be created as a template, and weeks/days are optional and can be added afterwards. It says nothing about whether status=active immediately publishes the program to the student, whether anything is validated, or what happens when edb_exercise_id references are invalid.

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 short sentences, front-loaded with the core verb and resource, with no filler. The only weakness is that compaction comes at the cost of the parameter detail an agent needs.

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 a 7-parameter tool with a deeply nested payload, 14% schema coverage and no output schema, the description is thin: it omits the return value (e.g. created program id, needed to then call add_program_week), the meaning of status, and the draft-vs-active lifecycle. Adequate only for the coarse shape of the call.

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% across 7 parameters, so the description carries the burden, and it only clarifies student_id (its source being list_students is in the schema, not the description). The semantics of status (draft vs active), difficulty, category, description and name are left entirely unaddressed, and the key question of what an omitted student_id means is only partially implied by "as a template without it."

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 unpacks the resource as weeks with training days and exercises, plus the two creation modes (assigned to a student via student_id, or a template without one). It does not name a sibling to distinguish itself from, e.g. create_workout or copy_program, so it stops short of 5.

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?

Implies a when-to-use decision between student-assigned and template creation by explicitly naming student_id vs. omitting it, and hints that an empty shell is acceptable because "weeks and days can also be added later" (cf. add_program_week/add_program_day). It never states when to prefer this tool over those siblings, nor any prerequisites such as needing a valid student or existing exercises.

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