Skip to main content
Glama

End Document Comment

dokument_kommentar_beenden
Destructive

Einen Kommentar beenden (POST /dokumente/{slug}/kommentare/{id}/beenden) -- MIT GRUND. Der Weg STATT LOESCHEN: der Kommentar bleibt lesbar und traegt ab jetzt status: "beendet". Schon beendet ist 409.

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>",
      "kommentar_id": "<kommentar_id>",
      "grund": "<grund>"
    },
    "name": "dokument_kommentar_beenden"
  }
}

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
grundYes
von_personaNo
kommentar_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true; the description adds real behavior beyond them by explaining that the comment is not removed but gains status "beendet", that a reason is mandatory, and that repeating the call yields 409. This does not contradict the destructive hint, since ending a comment is still an irreversible state mutation. It does not say whether the state can be reverted or who is permitted to end a comment.

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?

Three short sentences, front-loaded with the action and endpoint, then the key semantic distinction, then the error case. Capitalization is used for emphasis, which fits the terse German style; nothing is filler. Slight density from endpoint interpolation, but it earns its place.

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?

An output schema exists and annotations cover the safety profile, so the description needn't explain return values. However, for a mutation tool with two undocumented identity parameters and no statement about permissions or reversibility, gaps remain that the description could have closed given the low schema coverage.

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 description coverage is only 20%, so the description should compensate, but it only emphasizes that 'grund' is required ('MIT GRUND') and implies which path parameters map to slug and id via the endpoint. The 'chat' and 'von_persona' parameters — the identity/acting-persona mechanism — get no explanation in the description, and 'grund' semantics (free text? length?) are unstated.

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 Kommentar beenden') and pins it to the concrete endpoint POST /dokumente/{slug}/kommentare/{id}/beenden, so the agent knows exactly what operation this is. It does not differentiate itself from the close sibling 'dokument_kommentar_erledigen', which plausibly performs a similar state change, so it stops short of a 5.

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?

'Der Weg STATT LOESCHEN' gives a genuine when-to-use frame: prefer this over deletion because the comment stays readable. It also warns that an already-ended comment returns 409. It gives no exclusion relative to the 'erledigen' sibling, so it is clear context without full alternatives coverage.

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.