Skip to main content
Glama

Module zu einem Block verbinden

block_setzen

Blöcke: mehrere Module NACHEINANDER unter einem gemeinsamen Dach - zum Beispiel ein Input und die Übung dazu, mit einer Überschrift darüber und der Gesamtzeit.

NICHT ZU VERWECHSELN mit parallelgruppe_setzen. Der Unterschied ist die Zeit: • Parallele Gruppe = GLEICHZEITIG. Vier Gruppen zu 40 Minuten sind 40 Minuten im Raum. • Block = NACHEINANDER. Input 30 plus Übung 45 sind 75 Minuten im Raum.

Beides geht zusammen: Ein Block darf parallele Gruppen enthalten. Input 20, dann vier Gruppen zu 40 gleichzeitig, dann Auswertung 15 - der Block dauert dann 75 Minuten, nicht 195.

Die Aktionen: • verbinden - macht aus zwei benachbarten Modulen einen Block. Gehört das obere schon zu einem Block, wächst dieser, statt dass ein zweiter entsteht. • loesen - nimmt EIN Modul aus seinem Block. Es bleibt im Tag und rutscht hinter den Block. Bleibt nur noch EIN Modul im Block, verschwindet das Dach von selbst - ein Block mit einem Modul wäre keiner. • aufloesen - löst den GANZEN Block auf: alle Module stehen wieder für sich, in derselben Reihenfolge. Name, Ziel und Inhalt des Dachs sind damit weg. Gib hier die "nummer" des Dachs an oder die eines Moduls darin.

Zwei BLÖCKE lassen sich mit "verbinden" zusammenlegen: Gib als "nummer" das Dach des oberen und als "mit_nummer" das Dach des unteren an. Die Module des unteren ziehen dann unter das obere Dach, und der Name des unteren fällt weg - sag das dem Nutzer, bevor du es tust, wenn der untere einen Namen hat. Ebenso geht ein einzelnes Modul an einen bestehenden Block: Dach des Blocks und Nummer des Moduls.

Der Titel des Blocks bleibt beim Verbinden LEER. Setz ihn danach mit modul_aendern auf die "nummer" des Dachs - es steht in session_lesen mit "ist_block": true. Gib ihm auch Ziel und Inhalt, wenn der Block eine eigene Klammer braucht; die Texte der Submodule bleiben davon unberührt.

Die Zeit des Dachs ist die Summe seiner Kinder und wird gerechnet - ändere sie nicht mit modul_aendern, sondern die Minuten der einzelnen Submodule.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDie ID der Session.
tagNoDer Tag der Module (Vorgabe 1).
aktionYesWas geschehen soll.
nummerYesDie "nummer" aus session_lesen. Bei "verbinden" das OBERE der beiden Module (oder das Dach des oberen Blocks), bei "loesen" das Submodul, das heraus soll, bei "aufloesen" das Dach oder ein Modul darin.
mit_nummerNoNur für "verbinden": die "nummer" des Moduls darunter - oder das Dach des Blocks darunter, wenn zwei Blöcke zusammengelegt werden sollen. Ohne Angabe wird das direkt folgende genommen.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / aktion / enum
      Previous value: -[
      -  "verbinden",
      -  "loesen"
      -]New value: +[
      +  "verbinden",
      +  "loesen",
      +  "aufloesen"
      +]
    • changedInput schema / properties / mit_nummer / description
      Previous value: -"Nur für \"verbinden\": die \"nummer\" des Moduls darunter. Ohne Angabe wird das direkt folgende genommen."New value: +"Nur für \"verbinden\": die \"nummer\" des Moduls darunter - oder das Dach des Blocks darunter, wenn zwei Blöcke zusammengelegt werden sollen. Ohne Angabe wird das direkt folgende genommen."
    • changedInput schema / properties / nummer / description
      Previous value: -"Die \"nummer\" aus session_lesen. Bei \"verbinden\" das OBERE der beiden Module, bei \"loesen\" das Submodul, das heraus soll."New value: +"Die \"nummer\" aus session_lesen. Bei \"verbinden\" das OBERE der beiden Module (oder das Dach des oberen Blocks), bei \"loesen\" das Submodul, das heraus soll, bei \"aufloesen\" das Dach oder ein Modul darin."
  2. Added

TDQS

A4.2/5.0
Behavior2/5

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

The description is otherwise extremely transparent (what dissolves, that a one-module block self-destructs, that title stays empty, that time is computed), but it explicitly states that with 'aufloesen' the roof's Name, Ziel und Inhalt 'sind damit weg' — irreversible data loss — while the annotation declares destructiveHint=false. That conflict directly undermines the annotation's safety signal.

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 block-vs-parallel distinction and bulleted per-action semantics; long but well-structured for a tool with three operations. A few sentences (e.g. re-explaining the parallel example) are somewhat redundant but earn most of their place.

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

Completeness5/5

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

Covers all three actions, edge cases (single-module block), follow-up steps (set title via modul_aendern, inspect via session_lesen), and the computed-time caveat. No output schema exists, but the behavioral contract is fully described.

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 100%, so the baseline is 3, but the description adds value beyond the schema: it explains which 'nummer' to supply per action and the semantics of merging two blocks vs. attaching a single module via 'mit_nummer', plus the naming consequence of the lower block losing its name.

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+resource (Module zu einem Block verbinden) with the three operations named inline, and explicitly disambiguates from the sibling parallelgruppe_setzen. An agent can identify this tool and its scope 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 Guidelines5/5

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

It explicitly contrasts this tool with parallelgruppe_setzen (simultaneous vs. sequential time), explains that the two can combine, and gives concrete when-to-use scenario for every action (verbinden/loesen/aufloesen), including the two-block merge case. Alternatives and exclusions are fully named.

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