Skip to main content
Glama

Propose Rule from Lesson

lehre_regel_vorschlagen
Destructive

Aus einer Lehre eine Klickfrage machen (POST /lehren/{id}/regel-vorschlagen) — nie eine Regel direkt: nur der Klick des Menschen macht eine Lehre zur Regel.

**FUER AGENTEN GILT DAS OHNE AUSNAHME.** Es gibt genau einen Schreiber mit
einem anderen Weg — den Lehren-Kurator, der seine Regel ankündigt und
sie 48 Stunden später gelten lässt, wenn niemand widerspricht. Das ist
eine Ausnahme für ihn, kein Weg für jeden Agenten: dieses Verb stellt
eine Frage und schreibt keine Regel. Legt die Sache an, falls sie fehlt, und stellt über die
bestehende Schaltzentrale eine Frage „Soll aus dieser Lehre eine Regel
werden?" mit Optionen übernehmen (Empfehlung, folge=`regel_text`) /
verwerfen.

`von` ist Pflicht (Core-Feldkatalog, `spec/lehren.md` §2 `{sache,
regel_text, von, titel?, frage?}`) — dieselbe Überlegung wie bei
`lehre_aufnehmen`, kein Rückfall-Wert. `titel`/`frage` sind optionale
Overrides für die generierte Klickfrage; ohne sie wählt der Core einen
Default-Wortlaut.

409, wenn schon eine offene Frage hängt oder die Lehre bereits `status=regel` ist.

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>",
      "sache": "<sache>",
      "regel_text": "<regel_text>",
      "von": "<von>"
    },
    "name": "lehre_regel_vorschlagen"
  }
}

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).
frageNo
sacheYes
titelNo
regel_textYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the destructiveHint=true annotation, the description explains the actual side effects: it creates the underlying object if missing, files a question through the existing Schaltzentrale with concrete options (uebernehmen recommended via folge=`regel_text`, verwerfen), and therefore does not itself write a rule. It also discloses the 409 conflict conditions (an open question already pending, or lesson already status=regel), which is exactly the kind of failure behaviour annotations cannot convey.

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 purpose is front-loaded in sentence one, which is good, but the middle digression on the Lehren-Kurator is long and partly restates the prohibition already stated ("nie eine Regel direkt" vs. "dieses Verb stellt eine Frage und schreibt keine Regel"). Heavy markdown and bold caps add emphasis at the cost of density.

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 7-parameter mutation tool with an output schema and annotations that already flag it as destructive, the description covers the essential decision context: role-bound behaviour, required `von`, default text generation, and conflict errors. The one substantive gap is the `chat` persona-token parameter, which only the schema describes.

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 only 14%, so the description has to compensate. It adds real meaning for `von` (mandatory, no fallback, citing the Core field catalog and spec/lehren.md §2) and for `titel`/`frage` (optional overrides of the generated question text, otherwise a core default), but `sache`, `regel_text`, `id` and especially `chat` are left with only their schema titles.

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 first line states a specific verb and resource ("Aus einer Lehre eine Klickfrage machen") and pins it to the endpoint POST /lehren/{id}/regel-vorschlagen. It immediately carves out scope against the neighbouring capability with "nie eine Regel direkt: nur der Klick des Menschen macht eine Lehre zur Regel", so an agent can distinguish this from rule-writing siblings without opening a 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 a strong normative when-to: agents must use this path without exception, and it names the one legitimate exception (the Lehren-Kurator with a 48-hour window) explicitly as not applicable to other agents. What is missing is explicit routing against named siblings such as lehre_aufnehmen or freigabe_vorschlagen — the relationship to lehre_aufnehmen is only an analogy about the `von` field.

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.