Skip to main content
Glama

Reorder Document Folders

dokument_ordner_reihenfolge
Destructive

Die Reihenfolge der Ordner EINER Ebene setzen (PUT /dokument-ordner/reihenfolge): eltern_id = der Elternordner (None = oberste Ebene), ordner_ids = ALLE geltenden Ordner dieser Ebene in der gewuenschten Reihenfolge.

Eine halbe, doppelte oder fremde Liste ist 422 und aendert nichts (die Antwort nennt `fehlt` und `gehoert_nicht_dazu`). Die Reihenfolge gilt fuer ALLE im Projekt; `dokument_ordner_list` liefert danach in dieser Reihenfolge (`position`, dann Name).

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": {
      "eltern_id": "<eltern_id>",
      "ordner_ids": "<ordner_ids>"
    },
    "name": "dokument_ordner_reihenfolge"
  }
}

Input Schema

NameRequiredDescriptionDefault
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).
eltern_idYes
ordner_idsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the destructiveHint/readOnly annotations, it discloses that an invalid list yields 422 and changes nothing, and names the response fields (`fehlt`, `gehoert_nicht_dazu`) that explain the rejection. It also warns that the resulting order is project-wide and affects everyone, which is exactly the blast-radius information an agent needs before a destructive write.

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?

Two dense sentences with the operation, endpoint and both required parameters front-loaded, followed by failure semantics and downstream effect. No filler, though the heavy parenthetical style makes it slightly harder to scan than a clean lead sentence plus bullets.

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 destructive write with an output schema, the description covers the operation, both required parameters, the validation contract and the observable consequences. Nothing an agent needs to call it correctly is missing, and return-value shape can be left to the output schema.

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 description coverage is only 33% — only `chat` is documented in the schema — so the description must carry `eltern_id` and `ordner_ids`. It does define both (parent folder, None = top level; all valid folder IDs of that level in desired order), which is meaningful added meaning. However the baseline for the documented `chat` parameter is already covered and the description adds no format hints beyond the semantic role, keeping this at a solid 3 rather than higher.

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 names a specific verb and resource in German ("Die Reihenfolge der Ordner EINER Ebene setzen") and pins the endpoint (PUT /dokument-ordner/reihenfolge). The capitalised "EINER Ebene" scopes it precisely against folder-moving or folder-creation siblings, so an agent can tell what this does 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 clearly states the operation is a full reorder of one level and points at `dokument_ordner_list` as the read-side counterpart that reflects the new order. It also gives the validity condition (must be ALL folders of that level, no halves/duplicates/foreign IDs). It stops short of explicitly excluding the move/relocate sibling (`dokument_ordner_verschieben`), so the negative case is left implicit.

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.