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.

Ein OPTIONALER Block - die Reserve, die nur bei Zeit läuft - entsteht genauso: modul_aendern auf die "nummer" des Dachs, "optional": true. Dann steht der ganze Block gestrichelt im Ablauf und kostet keine Minuten. Schreib „optional" NICHT in den Namen des Blocks - das zählt die Zeit voll mit und schiebt den restlichen Tag nach hinten.

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

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.8/5.0
Behavior5/5

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

Far exceeds the annotations: it discloses that 'loesen' moves a module behind the block and auto-removes the roof when one module remains, that 'aufloesen' destroys the roof's Name/Ziel/Inhalt, that 'verbinden' leaves the title empty, that optional blocks require modul_aendern with optional:true, and that the roof's time is computed from children. The only tension is that destructiveHint=false while 'aufloesen' wipes roof metadata, but the loss is confined to grouping metadata (modules survive), so this is documented side-effect disclosure rather than a flat contradiction.

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 long, but the length is front-loaded with the single most decision-relevant fact (block vs. parallel group) and structured with bullets. A few time-arithmetic examples are slightly verbose, but each section carries distinct, non-redundant information.

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?

For a 5-parameter, no-output-schema mutation tool, the description covers the full lifecycle: how to connect, dissolve, and merge blocks, how to subsequently name an optional block, and how time is computed. Nothing an agent needs to call it correctly is missing.

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. The description nonetheless adds real meaning beyond the schema by explaining how 'nummer' is interpreted per action (upper module, roof, submodule) and by detailing the merge scenario that uses 'nummer' + 'mit_nummer' as two roofs.

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 gives a concrete verb+resource ('mehrere Module NACHEINANDER unter einem gemeinsamen Dach') and immediately distinguishes itself from the sibling parallelgruppe_setzen by naming it and stating the exact axis of difference (GLEICHZEITIG vs NACHEINANDER). An agent can tell this apart from any sibling 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 Guidelines5/5

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

It explicitly names the alternative tool and the condition that selects each (parallel = simultaneous, block = sequential), then spells out when to use each of the three actions (verbinden/loesen/aufloesen) including the two-block merge case. Exclusions and prerequisites are stated rather than left to inference.

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