Skip to main content
Glama

End Process

prozess_beenden
Destructive

Einen Prozess ohne Nachfolger beenden (POST /prozesse/{slug}/beenden).

GELOESCHT WIRD NICHT: `DELETE` ist per Trigger verboten. Dieses Verb
setzt `gilt_bis` auf der aktuellen Version, der Prozess bleibt über
`prozess_get` (`ueberholt: true`) lesbar und verschwindet nur aus der
Standardliste. 404 unbekannter Slug, 409 wenn bereits überholt.

**Kein `aussage_beenden` im MCP:** das Beenden einer einzelnen Aussage
(`POST /aussagen/{id}/beenden`) ist wie `aussage_put`/`persona_put`
Menschen-Sache (Web/API-RW) -- ein Prozess ist die Ausnahme, weil sein
Beenden ('dieser Ablauf gilt nicht mehr, ohne dass ein neuer an seine
Stelle tritt') zur Pflege des Regelwerks gehört und keine fachliche
Einzelentscheidung über eine Aussage ist.

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>",
      "grund": "<grund>",
      "angelegt_von": "<angelegt_von>"
    },
    "name": "prozess_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
angelegt_vonYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Adds a lot beyond the annotations: it states that nothing is deleted because DELETE is trigger-blocked, that `gilt_bis` is set on the current version, that the record stays readable via prozess_get with `ueberholt: true` and only drops out of the default list. It also documents 404 for an unknown slug and 409 for an already superseded process, so the agent knows the failure semantics of this mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and structured, but a large share of the text is design rationale (including a quoted philosophical aside about what ending a process means) rather than operational guidance the agent needs to invoke the tool. The core facts are efficient; the justification prose could be one clause instead of half the description.

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?

With an output schema present, return values need no explanation, and the annotations cover the safety profile; the description still supplies the non-obvious non-deletion behavior and status codes. The one real hole is parameter meaning for three of four arguments, which a mutation tool should spell out.

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 25%: of the four parameters only `chat` is described, and `slug`, `grund` and `angelegt_von` carry no schema text at all. The description adds nothing about them either - `grund` and especially `angelegt_von` are semantically opaque for an end-operation and stay unexplained, so the coverage gap is not compensated.

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?

Names a specific verb and resource plus the HTTP endpoint (POST /prozesse/{slug}/beenden), and the phrase 'ohne Nachfolger' delimits the exact case it covers. An agent can tell this apart from prozess_get and prozess_put without opening a 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 a clear selection condition (only when no successor process replaces it) and explicitly rules out searching for an `aussage_beenden` counterpart in the MCP, explaining why. It never names the concrete alternative for the with-successor case (e.g. a new version via prozess_put), so one routing gap remains.

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.