Skip to main content
Glama

Move Document

dokument_verschieben
Destructive

Ein Dokument in einen Ordner legen (POST /dokumente/{slug}/verschieben); ordner_id=None nimmt es aus allen Ordnern heraus.

DAS IST EINE AENDERUNG MIT AUTOR, und die Geschichte bleibt: jedes Verschieben ist eine eigene Zeile (von, nach, wann, wer, dein `grund`). Der TEXT ändert sich nicht -- keine neue Fassung.
Liegt das Dokument schon dort, ist es ein Fehler (409); ein beendetes Dokument wird nicht mehr verschoben (409); ein beendeter oder unbekannter Ordner ist 422.
`ordner_id` ist PFLICHT und hat keinen Standard und muss ausdrücklich gesetzt sein (None = „ohne Ordner").

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": {
      "slug": "<slug>",
      "ordner_id": "<ordner_id>"
    },
    "name": "dokument_verschieben"
  }
}

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).
slugYes
grundNo
ordner_idYes
persona_slugNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and destructiveHint=true; the description goes well beyond them by disclosing that every move writes an audit row (from, to, when, who, the caller's grund), that the document text and version are unchanged, and the exact failure semantics (409/409/422). That is precisely the kind of context an agent needs before mutating state.

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?

The core action and the endpoint come first, followed by behavior, error cases, and the parameter warning, which is a sensible ordering. The all-caps emphasis is slightly noisy but each sentence carries information; nothing is padding.

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 mutating tool with annotations and an output schema, the description covers the crucial ground: what changes, what does not change, the audit trail, and the complete error taxonomy. The only notable omission is guidance on the optional chat/persona parameters, which are partially handled by the schema itself.

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 20%, so the description carries real weight here and does explain ordner_id forcefully (mandatory, no default, explicit None means 'no folder') and that grund is recorded in the move history. However, chat and persona_slug are never addressed in the description, and slug is only implied by the endpoint path, leaving part of the low-coverage gap unfilled.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and object ('Ein Dokument in einen Ordner legen'), the underlying endpoint, and the special semantics of ordner_id=None (removes the document from all folders). It is clear on its own, but it never distinguishes itself from the similarly named sibling dokument_ordner_verschieben, leaving the agent to infer the difference from the names alone.

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?

Usage is well framed through the error conditions: a document already in that folder is a 409, a closed document cannot be moved (409), and a closed or unknown folder is 422. These effectively state when the call succeeds and when it must be avoided, though no alternative tool is named for those cases.

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.