Skip to main content
Glama

Compl-AI-ance

training_record_completion

Einen Abschlussnachweis erfassen (nur Einfügen, zehn Jahre aufbewahrt): Person, Lehrplan (aktuelle Version), bei einem Lehrplan je System das System, Datum, Methode, Anbieter, Dauer, Ergebnis, Zertifikat. Schließt die passenden offenen Schulungen, erledigt die Pflicht am System, wenn keine mehr offen ist, und trägt beim Aufsichtsperson-Lehrplan das Schulungsdatum an die Aufsichtsperson.

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": {
      "person_id": "<person_id>",
      "curriculum_key": "<curriculum_key>"
    },
    "name": "training_record_completion"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
methodNoclassroom | e_learning | workshop | briefing | academy | external
resultNoz. B. Test bestanden, 85 %
providerNoTrainerin, Anbieter oder Plattform
person_idYes
system_idNoPflicht beim Aufsichtsperson-Lehrplan; für eine Systemeinweisung der Nutzergruppe ebenfalls
document_idNoHochgeladenes Dokument aus der Dokumentenablage
completed_atNoJJJJ-MM-TT, Vorgabe heute
curriculum_keyYes
certificate_refNoZertifikats- oder Teilnahmenummer
duration_minutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses immutability ('nur Einfügen'), a ten-year retention period, and three non-obvious cascading side effects (closing matching open trainings, clearing the system obligation when nothing remains open, and writing the training date onto the supervisor for the supervisor curriculum). It does not cover permissions, duplicate handling, or what happens if no matching open training exists.

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 verb and the insert-only/retention constraint are front-loaded, followed by the field list and then the side effects — a sensible order. The second sentence is long and clause-heavy, but each clause conveys a distinct side effect, so little is wasted.

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 an eleven-parameter mutation tool with no annotations and no output schema, the definition is fairly complete: it explains the write's scope, its retention, and its downstream effects. Gaps remain around return values, duplicate or conflicting-record behavior, and validation failures, which matter for a record-creating tool.

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

Parameters4/5

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

The enumeration maps to nine of the eleven parameters and adds meaning the schema lacks, notably that the curriculum must be the current version and that system_id is mandatory for per-system curricula. Only note and document_id go unmentioned, and document_id at least has schema help; the added constraints on curriculum/system pairing are the real value here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Einen Abschlussnachweis erfassen') and immediately constrains the operation: insert-only ('nur Einfügen') with ten-year retention. It then enumerates the data the record carries, so an agent knows exactly what kind of entity is being created and can distinguish it from siblings like training_revoke_completion.

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?

Usage is implied rather than stated: recording a completion is the natural action once a training has been finished, and 'nur Einfügen' signals that corrections are not handled here. However, no alternative tool is named (e.g. where to go for revocation or for listing due trainings), and no preconditions such as an existing curriculum or person are spelled out.

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