Skip to main content
Glama

Save Area

bereich_put
Destructive

Einen Bereich anlegen (POST /bereiche) — derselbe Endpunkt wie Web/API, kein zweiter Schreibweg.

`name` in Slug-Form (kebab-case, z. B. `training-methodik`) — die Prüfung liegt
bereits im Core-Schema, hier keine zweite Kopie davon. `beschreibung` ein Satz,
wofür der Bereich steht — Pflicht, eine leere/nur-Leerzeichen-Beschreibung wird
vom Core abgewiesen.

409, wenn der Name schon existiert (`bestehend` im Fehler-Body — vorher
`bereich_list` prüfen, statt zu raten). 422 bei ungültigem Slug oder leerer
Beschreibung.

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": {
      "name": "<name>",
      "beschreibung": "<beschreibung>"
    },
    "name": "bereich_put"
  }
}

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).
nameYes
beschreibungYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Goes well beyond the annotations by disclosing the 409 conflict with `bestehend` in the error body and 422 for an invalid slug or empty description, plus the fact that slug validation lives in the core schema. However, it never reconciles the create-only, conflict-rejecting behavior with the declared destructiveHint=true, so an agent gets no picture of what the destructive risk actually is.

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-loads the operation and endpoint, then breaks parameters and error codes into short, scannable blocks with no filler. The remark about validation living in the core schema is slightly meta but usefully tells the agent not to expect duplicate rules here.

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 three-parameter write tool with an output schema, the description covers the required fields, their formats, and both failure modes, which is what an agent needs to call it correctly. The only gap is the unexplained destructive flag and any idempotency/retry behavior.

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 33%, and the description compensates well for the two undocumented parameters: `name` is constrained to kebab-case slug form with a concrete example, and `beschreibung` is stated to be mandatory with empty/whitespace values rejected by the core. The third parameter (`chat`) is left to the schema, which already explains persona binding.

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 ("Einen Bereich anlegen", POST /bereiche) and clarifies it uses the same endpoint as Web/API rather than a parallel write path. It also names bereich_list as the read-side companion, though it does not contrast itself with other *_put siblings for different resources.

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 pre-call guidance: check bereich_list before creating instead of guessing whether the name is taken. It implies the create-only scope via the 409-on-existing-name rule, but never states an explicit when-not-to-use case (e.g. renaming an existing area).

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.