Skip to main content
Glama

Save Document Folder

dokument_ordner_put
Destructive

Einen Ordner ANLEGEN (ohne ordner_id) oder UMBENENNEN (mit ordner_id) -- POST bzw. PATCH /dokument-ordner.

Anlegen: `name` (höchstens 120 Zeichen) und optional `eltern_id` für einen Unterordner (höchstens sechs Ebenen). Gleicher Name auf derselben Ebene = 409.
Umbenennen: `ordner_id` und der neue `name`. Verschoben wird ein Ordner mit `dokument_ordner_verschieben`, in eine andere Reihenfolge gebracht mit `dokument_ordner_reihenfolge`.
Gelöscht wird nicht; beendet wird ein Ordner vom Menschen in der Oberfläche, und nur, wenn nichts Geltendes mehr darin liegt.
`persona_slug` = als wer du schreibst (dein Autor-Eintrag; ein fremder Name ist 403).

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": {
      "name": "<name>"
    },
    "name": "dokument_ordner_put"
  }
}

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).
nameYes
eltern_idNo
ordner_idNo
persona_slugNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the sparse annotations, the description discloses concrete behavior: a duplicate name at the same level returns 409, subfolders are capped at six levels, a foreign `persona_slug` yields 403, and no delete operation exists. The one gap is that it never reconciles destructiveHint=true with "Gelöscht wird nicht" — the annotation presumably covers overwriting the old name on rename, but the agent must infer that.

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 front-loaded with the create-vs-rename distinction and then split into labeled sections, so an agent can scan to the relevant mode quickly. The POST/PATCH parenthetical in the first line slightly duplicates the mode split that follows, but no sentence is wasted.

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 five-parameter mutation tool with an output schema, this covers mode selection, constraints, conflict behavior, and authorization. The remaining gap is that the meaning of destructiveHint=true is never spelled out, and the chat-token connection binding is explained only in the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema coverage at only 20%, the description compensates well: `name` is capped at 120 characters, `eltern_id` is optional and creates a subfolder bounded by six levels, `ordner_id` selects rename mode, and `persona_slug` is the author identity with a 403 on foreign names. Only `chat` is left to the schema, and that parameter is already documented there.

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 pair plus resource: create a folder when `ordner_id` is absent, rename it when present, and maps each to POST/PATCH /dokument-ordner. This lets an agent distinguish the two modes and tell the tool apart from siblings like `dokument_ordner_verschieben` 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 names the alternatives explicitly: moving is done with `dokument_ordner_verschieben`, reordering with `dokument_ordner_reihenfolge`, and deletion is not possible here at all. It further explains that ending a folder is a human action in the UI and only when nothing valid remains, so the agent knows exactly what falls outside this tool.

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.