Skip to main content
Glama

Get Document

dokument_get
Read-only

Ein Dokument mit seinem Inhalt holen (GET /dokumente/{slug}).

Der Inhalt ist **Markdown** — dasselbe Format wie Lehren, Doku und
Briefe. Kein zweites Vokabular für dasselbe.

Ein BEENDETES Dokument kommt hier weiterhin, mit `status: "beendet"`.
Der Zustand sagt, ob der Text noch gilt — ein
verabschiedetes Dokument bleibt lesbar, damit ein alter Verweis nicht ins
Leere zeigt, aber es gilt nicht mehr.

`stand` ist der ABGELEITETE Stand (entwurf | zur_abnahme | abgenommen | mit_aenderungen | abgelehnt | beantwortet | umgesetzt | beendet), `stand_detail` sein Beleg: die offene Frage (`frage_id`), die jüngste Antwort mit Option,
Datum und Mensch (`antwort`) und die Verweise der Umsetzung (`umsetzung`: Tickets und Epics mit `dokument_slug`, dazu Zahl offen und erledigt). Welche Option „abgenommen" heißt, steht an ihrem Schlüssel
(`abnehmen`, `abnehmen_mit_aenderungen`, `ablehnen`); eine andere Antwort bleibt `beantwortet` und gilt nicht als Abnahme.

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

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

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare this a safe read (readOnlyHint=true, destructiveHint=false), and the description adds real behavior: content is Markdown in the same vocabulary as Lehren/Doku/Briefe, terminated documents remain readable but no longer valid, and `stand` is a derived state while `stand_detail` carries its justification. The explanation of which answer keys count as acceptance ('abnehmen', 'abnehmen_mit_aenderungen', 'ablehnen') is genuine semantic context rather than a restatement of annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first sentence, but the text then expands into a long parenthetical enum list and an aside ('Kein zweites Vokabular für dasselbe') that reads as rhetorical filler. Several sentences explain return-value semantics that the output schema already covers.

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

Completeness3/5

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

For a simple read tool with an output schema and read-only annotations, the description is more than sufficient on the return side and arguably over-explains `stand`/`stand_detail`. It is incomplete on the input side, giving no guidance on obtaining the required `slug` or on when the optional `chat` persona token matters.

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

Parameters2/5

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

Schema coverage is only 50%: the required `slug` has no schema description, and the description never explains where a slug comes from (presumably dokument_list) or what it looks like, only echoing it in the endpoint path. The `chat` persona token is not mentioned at all, so the description does little to compensate for the undocumented parameter.

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?

States a specific verb and resource plus the underlying endpoint ('Ein Dokument mit seinem Inhalt holen (GET /dokumente/{slug})'), and the body clarifies it returns document text as Markdown. It never names or contrasts a sibling such as dokument_list or dokument_versionen, so the differentiation is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

There is implicit usage guidance: finished documents are still returned here with `status: "beendet"`, which tells an agent not to skip retired documents. However, there is no explicit when-to-use/when-not and no pointer to alternatives for listing, versioning, or editing, leaving routing 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.