Skip to main content
Glama

Compl-AI-ance

courses_upsert

Einen Kurs anlegen (neuer key) oder ändern — jede Änderung wird eine neue Version mit neuem Inhalts-Hash, die alte bleibt für ihre Bescheinigungen lesbar. Module mit Abschnitten (Markdown), Quiz mit Antworten und richtigem Index, Bestehensgrenze je Kurs, Lehrplan der Schulung. remove = true schafft den Kurs ab. Nur mit training.update.

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

Input Schema

NameRequiredDescriptionDefault
keyYesSchlüssel, nur a-z, 0-9 und _
quizNo[{ key, question, options: [..], correct (Index ab 0) }]
titleNo
removeNo
modulesNo[{ key, title, videoUrl?, sections: [{ title, body (Markdown) }] }]
audienceNoZielgruppe
triggersNobefore_first_work | annual | new_person | new_system
norm_refsNoNormbezüge auf der Bescheinigung, z. B. ISO/IEC 42001 A.4.6
pass_markNoRichtige Antworten zum Bestehen, z. B. 8
descriptionNo
curriculum_keyNoLehrplan der Schulung, z. B. basic oder security_awareness
duration_minutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does substantial work: it discloses that every change produces a new version with a new content hash, that the prior version stays readable for its issued certificates, that removal deletes the course, and that `training.update` permission is required. It does not say what the call returns or how the superseded version is identified later.

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?

The create/update/version behavior is front-loaded, then payload structure, then the delete flag and permission requirement — a sensible order with little filler. The middle sentence is a dense noun list that earns its place as a payload overview but borders on enumeration.

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

Completeness4/5

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

For a 12-parameter mutation tool with no annotations and no output schema, the description covers the non-obvious essentials: version semantics, certificate compatibility, deletion, and the required permission. The main residual gap is that several domain fields (`audience`, `triggers`, `norm_refs`) are only explained by the schema, not by the prose.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description glosses the high-value structures — modules with Markdown sections, quiz answers with a zero-based correct index, a per-course pass mark, and the training curriculum reference — which reinforces the schema-provided descriptions. With 67% schema coverage it leaves `audience`, `triggers`, `norm_refs` and `duration_minutes` without extra meaning, so it only partly compensates for the gap.

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 course on a new key or modify an existing one — and immediately explains the versioning consequence of a modify. The create-vs-update split by key is exactly what an agent needs to distinguish the two modes, though no sibling tool is named for contrast.

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

Usage Guidelines4/5

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

Gives clear operational context: a new key means create, an existing key means update, `remove = true` retires the course, and the call requires `training.update`. It stops short of explicit when-not guidance or naming an alternative path (e.g. listing or reading courses via the sibling `courses_*` tools).

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