Skip to main content
Glama

Accept Lesson

lehre_aufnehmen
Destructive

Lehre als gesehen/richtig befunden markieren (POST /lehren/{id}/aufnehmen).

Nur für Leiter-Personas gedacht (der Core prüft die Leitung nicht
selbst — Personas ohne `leitung` rufen dieses Werkzeug nicht, das ist
Konvention, kein technisches Gate). `von` ist Pflicht (Core-Feldkatalog,
`spec/lehren.md` §2 `{von, notiz?}`) — wer die Lehre aufgenommen hat, ist
kein Rückfall-Wert wie bei `lehre_put`s `angelegt_von`, sondern immer
eine explizite Angabe des Aufrufers.

409, wenn die Lehre nicht `offen` ist (schon aufgenommen oder schon Regel).

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": {
      "id": "<id>",
      "von": "<von>"
    },
    "name": "lehre_aufnehmen"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
vonYes
chatNoChat token returned by `persona_waehlen`. With it, the call acts as the persona of that chat; without it, as the unbound connection (Chat-Token aus `persona_waehlen`: mit ihm handelt der Aufruf als die Persona dieses Chats, ohne ihn als die ungebundene Verbindung).
notizNo

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

Annotations already declare readOnlyHint=false and destructiveHint=true, so the description's job is to add mutation detail — and it does: 409 when the lesson is already `offen`-exited (accepted or already a rule), plus the fact that leadership is not technically enforced. It does not say whether the state change is reversible or what accepting triggers downstream, which is a gap given destructiveHint=true.

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?

Front-loaded with the action and endpoint, then prerequisites, then failure mode — a sensible order. The nested parentheticals and the meta-remark about convention versus technical gate make it denser than needed, but no sentence is padding.

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?

Since an output schema exists, return values need no explanation, and required-parameter and error behavior are both covered. What is missing is the reversibility/aftermath of a destructive-flagged state change and any pointer to the sibling tools for the adjacent actions.

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?

Schema coverage is only 25%, so the description must compensate and largely does: it explains that `von` is mandatory, must be an explicit caller-stated identity, and is deliberately not a fallback the way lehre_put's `angelegt_von` is, citing the field catalog §2. The optional `notiz` parameter is never mentioned, leaving one param covered only by the schema.

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 plus resulting state: 'Lehre als gesehen/richtig befunden markieren' with the concrete endpoint POST /lehren/{id}/aufnehmen. It touches one sibling (lehre_put's `angelegt_von`) only to contrast a parameter, so it does not help an agent choose between this and lehre_korrigieren / lehre_verwerfen / lehre_regel_vorschlagen, but the action itself is unambiguous.

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?

States a clear audience constraint ('Nur für Leiter-Personas gedacht') and explicitly discloses that the restriction is a convention, not an enforced gate — valuable context an agent cannot get elsewhere. It also gives the failure condition (409 when the lesson is not `offen`). It stops short of naming an alternative tool for the non-leader case or for lessons already accepted.

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.