Skip to main content
Glama

List Document Folders

dokument_ordner_list
Read-only

Die Ordner dieses Projekts (GET /dokument-ordner), flach in Baumreihenfolge (position, dann Name) -- baue den Baum aus eltern_id.

Je Ordner `id`, `name`, `eltern_id`, `pfad` („A / B"), `tiefe`, `anzahl_dokumente` (GELTENDE, direkt im Ordner, ohne Unterordner), `anzahl_mit_unterordnern` (dieselben samt allen Unterordnern, so viele wie `dokument_list(ordner=...)` liefert) und `anzahl_unterordner`. `ohne_ordner` ist die Zahl der geltenden Dokumente
ohne Ordner. Beendete Ordner nur mit `beendet=True`. Die `id` ist das, was `dokument_list(ordner=...)`, `dokument_put(ordner_id=...)` und `dokument_verschieben` verlangen.
Auf einer Ebene gibt es jeden Namen nur einmal; die Liste zeigt, welche Namen vergeben sind.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dokument_ordner_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).
beendetNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish the safe read profile, and the description adds real behavior: default exclusion of ended folders, deterministic ordering, and precise count semantics (only currently valid documents, direct vs. recursive, with `anzahl_mit_unterordnern` explicitly tied to what `dokument_list(ordner=...)` returns). It omits pagination/result-size behavior, so not a 5.

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 purpose and ordering, then the field semantics in one dense enumeration. Every sentence carries non-obvious information (e.g. that counts cover only valid documents), though the paragraph is heavy and could be split for scanability.

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 two-parameter read tool, the definition covers purpose, ordering, default filtering, field meanings that a schema cannot express, and which sibling tools consume the returned `id`. An agent has everything needed to call it and interpret the result; the output schema only adds structure, not missing meaning.

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

Parameters4/5

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

Schema coverage is 50% and the uncovered parameter is `beendet`, which the description fully explains (default excludes ended folders, set true to include them). The `chat` parameter is left to its schema text, which already documents it well, so there is no gap that blocks correct invocation.

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?

States a specific verb and resource ("Die Ordner dieses Projekts"), the endpoint, and the exact shape of the result ("flach in Baumreihenfolge (`position`, dann Name)"). An agent can distinguish this from `dokument_list` (documents) and `dokument_ordner_put` (mutation) without opening any 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?

Gives concrete guidance on what to do with the output ("baue den Baum aus `eltern_id`") and how to widen the default scope ("Beendete Ordner nur mit `beendet=True`"), and points to the consuming tools for `id`. It does not explicitly name an alternative tool or a when-not-to-use condition, so a 4 rather than 5.

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.