Skip to main content
Glama

List Areas

bereich_list
Read-only

Bereiche-Registry dieses Mandanten lesen (GET /bereiche) — alphabetisch, [{name, beschreibung}].

Dient dem Abgleich vor `bereich_put`: ob der passende Bereich schon
existiert — ein neuer Bereich ist kein Ersatz für einen bestehenden mit
ähnlichem, aber anderem Namen. Ein frischer Mandant liefert eine leere Liste —
kein Fehler, kein erfundener Bestand: jeder Kunde startet mit null
Bereichen — so wie er auch mit null Personas startet.

NUR ANGELEGTE BEREICHE: `GET /bereiche` liefert
seither auch Namen, die nur an einer Sache oder in einem Sichtfeld
vorkommen, ohne je über `POST /bereiche` angelegt worden zu sein
(`in_registry: false`). Die sind hier herausgefiltert: dieses Werkzeug
beantwortet "gibt es den Bereich schon", und die Antwort "ja, aber nur
als Tippfehler in einem Sichtfeld" würde einen Agenten davon abhalten,
ihn richtig anzulegen. `is not False`, damit ein Kern ohne das Feld
weiter die volle Liste liefert statt einer leeren.

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": "bereich_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).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/destructiveHint annotations: it discloses that GET /bereiche also returns names that only occur in a Sichtfeld or on a Sache without ever being created via POST /bereiche (in_registry: false), that these are filtered out here, and why (a 'yes, but only as a typo' answer would stop an agent from creating the area properly). It also documents the `is not False` guard so that a backend without the field still returns the full list instead of an empty one — exactly the kind of edge-case context annotations cannot carry.

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: the first line states purpose, endpoint and return shape, followed by usage, then behavioral caveats. Every paragraph carries real information, but the empty-list passage is padded ('kein Fehler, kein erfundener Bestand: jeder Kunde startet mit null Bereichen — so wie er auch mit null Personas startet'), which is editorial filler for something already covered by the sentence before it.

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?

An output schema exists, so return values need not be spelled out further, and the description already covers purpose, timing relative to bereich_put, the empty-tenant case, and the in_registry filtering quirk. Nothing an agent needs in order to call this correctly or interpret its output is missing.

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 100% and the single `chat` parameter is described in detail in the schema (persona binding from persona_waehlen vs. unbound connection). The description does not mention the parameter at all, so it adds no meaning beyond what the schema already provides — the baseline 3 applies.

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: reading this tenant's Areas registry via GET /bereiche, alphabetical order, and the result shape `[{name, beschreibung}]`. It is clearly separable from the sibling that writes areas (bereich_put), which it names explicitly.

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?

Gives an explicit when-to-use rule: it serves the reconciliation step before bereich_put, to check whether a matching area already exists, and warns that a new area is not a substitute for an existing one with a similar but different name. It also states the expected outcome on a fresh tenant (empty list, not an error), so the agent knows how to interpret the result.

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.