Skip to main content
Glama

Compl-AI-ance

training_upsert_person

Eine Person in die Schulungsliste aufnehmen (ohne id) — das ist der Auslöser „neue Mitarbeitende“: die Lehrpläne ihrer Rolle und die Einweisung in jedes System im Betrieb ihrer Nutzergruppe werden fällig. Mit id ändern, mit left_at austreten lassen (offene Schulungen entfallen) oder mit remove entfernen (weich).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "training_upsert_person"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
nameNo
noteNo
roleNouser | specialist | governance
emailNo
groupsNoWeitere Gruppen, z. B. Recruiting
removeNo
left_atNoAustritt, JJJJ-MM-TT
departmentNoAbteilung — zählt für die Nutzergruppe eines Systems
start_dateNoEintritt, JJJJ-MM-TT
tenant_user_idNoOptional: das Konto der Person in der Anwendung

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 burden and does so well: it discloses the non-obvious cascade that creating a person makes their role's curricula and every system onboarding in their user group due, that left_at drops open trainings, and that remove is a soft delete. It omits permission requirements, what happens on duplicate name/email, and what the response contains, which keeps it below 5.

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?

It is a single dense sentence that front-loads the core action before branching into the id/left_at/remove cases, and every clause carries operational meaning. The em-dash chaining makes it slightly harder to scan than a short structured list would be, but there is no filler.

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?

For an 11-parameter, no-annotation, no-output-schema mutation tool, the description covers the critical mode logic and the trigger side effects but leaves the identity fields (name, email, tenant_user_id, groups) and the expected return value unaddressed. It is adequate to call the tool correctly in the common cases but not complete for the full parameter surface.

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?

Schema coverage is 55%, so the schema already documents department, start_date, tenant_user_id, role and groups. The description adds genuine meaning for the mode-controlling parameters (id presence, left_at, remove) and the side effects of left_at, but says nothing about note, email, or the interplay of start_date/department with the trigger. That is roughly baseline-plus, not full compensation for the gap.

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 states a specific verb and resource ('Eine Person in die Schulungsliste aufnehmen') and then enumerates every mode the upsert covers: create without id, change with id, offboard with left_at, soft-delete with remove. An agent can tell exactly what this tool does and which branch of its behavior applies, without opening the schema.

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?

It gives explicit, parameter-driven routing guidance — omit id to onboard a new employee, supply id to modify, use left_at to offboard, use remove to soft-delete — which is precisely the when-to-use information an agent needs for a polymorphic upsert. It stops short of naming alternatives (e.g. oversight_assign_person or training_list_people) or stating when-not to use it, so it is not a full 5.

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