Skip to main content
Glama

Create program

create_program

Create a practice program. Pass participant_id to assign it to a member; omit for a reusable template.

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
goalNo
nameYes
levelNo
descriptionNo
days_per_weekNo
participant_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the write/non-destructive/non-idempotent profile, so the safety bar is met structurally. The description contributes the useful behavioral fact that omitting participant_id produces a reusable template rather than an unassigned program, but says nothing about duplicate handling, validation failures, or what is returned on success.

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

Conciseness5/5

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

Two short sentences with the core action first and the parameter rule second; nothing is redundant or padded.

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 non-idempotent creation tool with 6 undocumented parameters and no output schema, the description covers only one parameter's semantics. An agent still cannot tell whether names must be unique, what defaults apply to level or days_per_week, or what the created object looks like.

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 0% across 6 parameters, so the description carries the full burden and only explains participant_id. The remaining five (name, goal, level, description, days_per_week) get no added meaning — notably the level enum's "all" value and days_per_week expectations are undocumented anywhere.

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 ("Create a practice program") and adds the dual-mode distinction between an assigned program and a reusable template. It does not distinguish itself from the sibling create_training_program, so the agent must infer the boundary from names alone.

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?

Gives an explicit conditional rule for participant_id (pass to assign, omit for a template), which is genuine when-to-use guidance. It offers no guidance on when to prefer this over create_training_program or add_program_item, so alternative selection is left implicit.

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