Skip to main content
Glama

Create Ticket

ticket_anlegen
Destructive

Ein Ticket anlegen (POST /tickets). Antwort: das Ticket mit nr und kennung (CMP-12).

Ist das DAILY in diesem Projekt ausgeschaltet (CMP-33), landet ein neues Ticket im `backlog` statt im `eingang` und wird nicht fuers Daily vorgemerkt -- fuer jeden, auch wenn `status: eingang` genannt ist; die Rechte der Persona bleiben dieselben.

ALS PERSONA LANDET EIN TICKET IM EINGANG (Triage): lass `status` weg. Dort bespricht ein Mensch im Daily, nimmt es an, ordnet es einem Epic zu, hebt es nach `todo` oder verwirft es; eine Persona (ohne Leitung) setzt weder einen anderen
Status noch einen Zuständigen (403). Du darfst `prioritaet` (`dringend`, `hoch`, `mittel`, `niedrig`, `keine`), `epic_nr`, `eltern_nr` und `labels` VORSCHLAGEN. Ein MENSCH wählt den Status frei (Standard `backlog`;
wichtig -> `status: "todo"` mit Priorität und Zuständigem: `zustaendig_persona` oder `zustaendig_mensch: true` für den angemeldeten Menschen). `titel` hat 1 bis 200 Zeichen, `beschreibung` (Markdown) bis 20 000.
`eltern_nr` macht es zum Unter-Ticket. `labels`: bis zu 10 Wörter (Kleinbuchstaben, Ziffern, Bindestrich). `bereich`: Kennung aus `bereich_list`; ohne Angabe gilt der Bereich der Persona (genau einer im Sichtfeld),
sonst `allgemein`. `epic_nr` ordnet es einem Epic zu (`epic_liste`). `dokument_slug` nennt das Dokument, aus dem das Ticket entsteht (`dokument_list`): ist das Ticket erledigt, gilt das Dokument als umgesetzt (`dokument_get.stand`).

`notfall_grund`: nur für einen Notfall nach den Kriterien des Projekts. Mit Grund wird das Ticket `dringend` (Label `notfall`) und geht SOFORT als dringende Nachricht an den Menschen; `von_persona` und
`von_sitzung` (dieselbe Kennung wie im Herzschlag) sind dann Pflicht.

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": {
      "titel": "<titel>"
    },
    "name": "ticket_anlegen"
  }
}

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).
titelYes
labelsNo
statusNo
bereichNo
epic_nrNo
eltern_nrNo
prioritaetNokeine
von_personaNo
von_sitzungNo
beschreibungNo
dokument_slugNo
notfall_grundNo
zur_besprechungNo
zustaendig_menschNo
zustaendig_personaNo

Output Schema

NameRequiredDescriptionDefault

No arguments

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 annotations by disclosing side effects and constraints: with CMP-33 (DAILY off) a new ticket lands in `backlog` regardless of `status: eingang`; personas that set a status or assignee get 403; `notfall_grund` flips priority to `dringend`, adds a `notfall` label and immediately sends an urgent message; completing the ticket marks `dokument_get.stand` as implemented. These are exactly the non-obvious behaviors an agent needs before calling a mutating tool.

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 endpoint and return value, then the highest-risk branch (DAILY off), then the triage/persona rules — a sensible order for a long description. It is dense with earned content but has redundancy (persona rights restated) and a sentence broken mid-line ('anderen\nStatus'), which slightly hurts scanability.

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 16-parameter mutation tool with an output schema, the description covers nearly every decision an agent must make: default status, emergency escalation, assignment rules, and defaults for `bereich`. The one real gap is `zur_besprechung`, which is neither described here nor in the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema description coverage at 6% the description must carry the load, and it does: it enumerates `prioritaet` values, gives `labels` format rules (max 10, lowercase/digits/hyphen), length limits for `titel` (1–200) and `beschreibung` (20000), the `bereich` defaulting chain, and makes `von_persona`/`von_sitzung` mandatory in the emergency path. Only `zur_besprechung` is left completely unexplained.

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?

Opens with a specific verb+resource+endpoint ('Ein Ticket anlegen (POST /tickets)') and immediately states the return shape (`nr`, `kennung`, e.g. `CMP-12`). An agent can distinguish this from the sibling `ticket_aendern` (mutation of an existing ticket) without opening either 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 concrete when-to-use rules: as a persona omit `status` so the ticket lands in triage, and `notfall_grund` only for a project-defined emergency. It also names reference tools for lookup (`bereich_list`, `epic_liste`, `dokument_list`) and states the 403 boundary for personas. It does not explicitly route the agent to a sibling for the update case, which keeps it short of a 5.

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.