Skip to main content
Glama

List Document Attachments

dokument_anhang_list
Read-only

Die Originaldateien eines Dokuments (GET /dokumente/{slug}/anhaenge).

Je Eintrag `id`, `dateiname`, `medientyp`, `byte_groesse`, `pruefsumme`,
`hochgeladen_am` und `dokument_version` -- die Fassung des Dokuments, bei
der die Datei dazukam. Ohne die Bytes. Eine leere Liste ist kein Fehler.

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_anhang_list"
  }
}

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
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds real behavioral context beyond that: metadata only, no file bytes returned, and an empty list is a valid result rather than an error. It does not cover pagination or size limits, which keeps it at a solid 3 rather than higher.

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?

Front-loaded with the resource and endpoint, then the field list, then the two caveats. The enumeration of returned fields is somewhat verbose given an output schema exists, but it is grouped cleanly and contains no filler.

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 read-only two-parameter list tool with an output schema and annotations, the description covers the essentials: what is returned, that bytes are excluded, and how empty results behave. Only the chat-token acting-as-persona semantics are left entirely to the 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 coverage is 50%: the chat token is documented in the schema, while slug has no schema description. The description compensates for slug by showing it in the path /dokumente/{slug}/anhaenge, which makes it a document identifier, but it adds nothing about the chat parameter beyond what the schema already says.

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 in German: the original files of a document, with the underlying endpoint GET /dokumente/{slug}/anhaenge. It reads clearly as a list operation, though it never explicitly contrasts itself with the sibling dokument_anhang_get (single attachment).

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?

Usage is implied by 'List' and by the note that an empty list is not an error, which tells the agent not to treat a zero result as a failure. There is no explicit statement of when to use this versus dokument_anhang_get or dokument_versionen, so the agent must infer the choice.

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.