Skip to main content
Glama

Update training program

update_training_program
Idempotent

Update a training program (partial), incl. status.

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

Input Schema

NameRequiredDescriptionDefault
nameNo
statusNo
program_idYes
descriptionNo
total_contact_hoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds only the "(partial)" mutability nuance and the fact that status is editable; it says nothing about allowed status transitions (draft→active→archived), whether archiving affects enrollments, or validation behavior.

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?

The single fragment is front-loaded and free of waste, but it is under-specified rather than concise — there is no room left for the partial-update and status semantics the agent actually needs.

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?

A mutation tool with no output schema and zero schema description coverage needs more from the description than one clause. It conveys the mutation type and that update is partial, but leaves five undocumented parameters and status-transition behavior entirely to guesswork.

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% for 5 parameters, so the description must compensate and it does not. Only status is alluded to ("incl. status"); name, description, total_contact_hours and program_id receive no meaning, format hints, or constraints (e.g., total_contact_hours units or non-negativity).

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?

Specific verb plus resource ("Update a training program"), and "(partial)" signals PATCH-like semantics rather than full replacement, which genuinely differentiates it from create/list siblings. It stops short of saying how it differs from other update_* tools or what a partial update means in practice.

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 guidance: nothing says when to pick this over create_training_program, add_program_item, or the list/get tools, and no prerequisites (e.g., that the program must exist or be in a particular status) are stated. An agent must infer everything 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