Skip to main content
Glama

Update Ticket

ticket_aendern
Destructive

Ein Ticket ändern (PATCH /tickets/{nr}); nur die genannten Felder ändern sich, jede Änderung steht mit Alt und Neu im Verlauf. Antwort: das Ticket.

SO ARBEITET EIN AGENT EIN TICKET AB, und mehr darf eine Persona nicht (sonst 403): aus `todo` auf `in_arbeit`, wenn er anfängt; auf `in_review`, wenn der PR offen ist (dazu `pr_url`: die https-Adresse des PR wird mit dem
Ticket verknüpft, dieselbe Adresse zweimal ist ein Leerlauf); `erledigt` setzt eine Persona NICHT: das Abnehmen kommt aus der PR-Kopplung der CI beim Merge (steht `CMP-<n>` im PR-Titel oder Zweig, setzt sie `in_review` beim Öffnen und `erledigt`
beim Merge), von einem Menschen oder von der Leitung. Erlaubte Wechsel einer Persona, und nur an einem Ticket, das ihr zugewiesen ist: `todo` <-> `in_arbeit` <-> `in_review`. Dazu `titel`, `beschreibung` und `labels`. Annehmen aus dem Eingang, Priorisieren, Zuweisen, Epic, Eltern-Ticket,
Bereich, Vormerken, `verworfen` und `duplikat` entscheidet ein MENSCH im Daily oder auf dem Ticket (oder eine Persona mit Leitung, die dringende Arbeit direkt vergibt).

Für einen Menschen: `zustaendig_persona` oder `zustaendig_mensch: true` weist zu; `zustaendigen_entfernen: true` macht das Ticket unzugewiesen. `epic_nr` ordnet einem Epic zu, `epic_entfernen: true` löst es.
`eltern_nr` macht es zum Unter-Ticket, `eltern_entfernen: true` löst es (ein Kreis ist 409). `status: "duplikat"` verlangt `duplikat_von_nr`, das Original. `labels` ersetzt die Liste. `zur_besprechung: true`
merkt ein Ticket fürs Daily vor. `dokument_slug` setzt den Verweis auf ein Dokument (ein leerer Text löst ihn); das entscheidet ein Mensch oder die Leitung, eine Persona bekommt 403. Ein Wechsel nach `erledigt`/`verworfen`/`duplikat` setzt `abgeschlossen_am`, ein Wechsel hinaus löscht es. Ohne ein einziges Feld ist es 422.

ABNEHMEN (`status: "erledigt"`) und `beleg`: Hat das Projekt `ticket_merge_status = in_review` (Abnahme erst mit Beleg), ist `beleg` PFLICHT -- ein Verweis auf die Live-Prüfung, nicht nur Leerzeichen; ohne ihn ist es 422, auch für
einen Menschen und die Leitung; mindestens 10 Zeichen. Abnehmen dürfen dann ein Mensch, eine Persona mit Leitung und die vom Projekt benannten Prüf-Personas, ein Ticket in `in_review` -- nicht, wer es selbst bearbeitet hat (zuständig war, es bewegt oder umgehängt hat; 403). Der Beleg steht im Verlauf
und in `ticket_get` unter `abnahme.beleg`. Ohne diese Einstellung (Standard) setzt der Merge `erledigt` und ein Beleg ist freiwillig. `beleg` gibt es nur zusammen mit dem Wechsel nach `erledigt` (sonst 422).

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": {
      "nr": "<nr>"
    },
    "name": "ticket_aendern"
  }
}

Input Schema

NameRequiredDescriptionDefault
nrYes
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).
belegNo
titelNo
labelsNo
pr_urlNo
statusNo
bereichNo
epic_nrNo
pr_titelNo
eltern_nrNo
prioritaetNo
von_personaNo
beschreibungNo
dokument_slugNo
epic_entfernenNo
duplikat_von_nrNo
zur_besprechungNo
eltern_entfernenNo
zustaendig_menschNo
zustaendig_personaNo
zustaendigen_entfernenNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation profile is known. The description adds substantial beyond-schema behavior: history entries with old/new values, `abgeschlossen_am` being set on completion and cleared on moving out, 422 on empty payloads, 409 on cyclic parent links, and the conditional `beleg` requirement. Rich, but a 5 is reserved for definitions that also anchor the return shape in more than one word ("Antwort: das Ticket").

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?

Purpose is front-loaded and the body is split into scannable sections (agent workflow, human-only operations, acceptance/beleg rules), so the length is earned by genuinely decision-relevant rules. It still runs long and repeats permission phrasing ("auch für einen Menschen und die Leitung") in more than one place, which costs a point.

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 22-parameter mutation tool with an output schema already covering the response, this is complete: authorization matrix, conditional prerequisites, error codes, side effects on `abgeschlossen_am`, and reset-flag behavior are all present. Nothing an agent needs before issuing the call is missing.

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?

With only 5% schema description coverage across 22 parameters, the description carries the load and mostly succeeds: pr_url/pr_titel, the status transitions, zustaendig_persona/zustaendig_mensch/zustaendigen_entfernen, epic_nr/epic_entfernen, eltern_nr/eltern_entfernen, duplikat_von_nr, labels-replaces-list, zur_besprechung, dokument_slug (empty string clears), and beleg are all explained. Gaps remain for von_persona (never mentioned) and for the semantics of prioritaet and bereich, which appear only in the human-only enumeration.

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?

The first clause names a specific verb and resource plus the HTTP verb and path ("Ein Ticket ändern (PATCH /tickets/{nr})") and immediately states partial-update semantics ("nur die genannten Felder ändern sich"). This cleanly separates it from ticket_get (read) and ticket_anlegen (create) without needing either sibling's schema.

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?

It spells out exactly which transitions a persona may perform (todo <-> in_arbeit <-> in_review), which are forbidden and yield 403, and which decisions belong to a human or a lead persona. It also names the alternative paths explicitly (the PR/CI coupling sets `erledigt` on merge), so an agent knows both when to use this tool and when to let another mechanism act.

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.