Skip to main content
Glama

Update Ticket

update_ticket
Destructive

Modify a ticket's lifecycle, dependencies, identity, or annotations while enforcing cycle checks and atomic validation to keep the issue graph consistent.

Instructions

Change one Ticket. Lifecycle: claim, resolve with a one-line gist, drop with a reason, reopen with a reason, or release a claim — at most one of those per call. Graph: replace the Edges, refused if they close a cycle. Identity: title, kind, and type. Annotations: triage role, tags, a comment, ticking acceptance criteria, setting extra keys or dropping them; these touch no part of the graph. Any of the four groups may accompany the others or stand alone.

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": {
      "id": "<id>"
    },
    "name": "update_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTicket id or name; <effort>.<name> when several Efforts have the name.
dropNoClose the Ticket as work ruled out of scope.
kindNoReplace the Ticket kind.
rootNoWorkspace directory. Defaults to the session workspace.
tagsNoReplace the tags outright, each kept exactly as given. An empty list removes them. No effect on what is takeable.
tickNoAcceptance criteria to check off, matched on their text. Wrapped criteria match both as get_tickets returns them and re-joined onto one line. All references resolve before anything is written — one unmatched name fails the whole call and leaves the file untouched.
typeNoReplace the decision type — research, prototype, grilling, or task.
claimNoTake the Ticket. Fails if another holder already has it.
extraNoKeys outside the schema to set, each written at the top level of the frontmatter to its JSON value, replacing a stored value whole. Keys not named are untouched. A schema key fails the whole call. No effect on what is takeable.
titleNoReplace the Ticket title.
reopenNoReturn a resolved or dropped Ticket to open.
statusNoNot settable directly — use claim, resolve, drop, reopen, or release. Named here to say so.
triageNoSet the triage role. A separate field from status; neither touches the other.
commentNoAppend to the comment log, stored exactly as written.
releaseNoRelease the claim on a claimed Ticket and return it to open. Pass { release: true }.
resolveNoClose the Ticket as a step on the route.
drop_keysNoUnimported frontmatter keys to delete, as get_tickets lists them. A schema key or an absent one fails the whole call; nothing else in the fence changes.
blocked_byNoReplace the Edges outright, each a Ticket id, a name in this Effort, or <effort>.<name>. An empty list clears them. A cycle is refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv3.0.0
    • removedInput schema / properties / drop_keys / items / minLength
      Removed value: -1
    • addedInput schema / properties / extra
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Keys outside the schema to set, each written at the top level of the frontmatter to its JSON value, replacing a stored value whole. Keys not named are untouched. A schema key fails the whole call. No effect on what is takeable.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / tags
      Added value: +{
      +  "description": "Replace the tags outright, each kept exactly as given. An empty list removes them. No effect on what is takeable.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / title / minLength
      Removed value: -1
  2. Changed2 schema fields changedv2.0.0
    • changedInput schema / properties / blocked_by / description
      Previous value: -"Replace the Edges outright, each a plain Ticket id resolved repo-wide. An empty list clears them. A cycle is refused."New value: +"Replace the Edges outright, each a Ticket id, a name in this Effort, or <effort>.<name>. An empty list clears them. A cycle is refused."
    • changedInput schema / properties / id / description
      Previous value: -"Ticket id, or the <effort>#<order> handle of a Ticket with no id."New value: +"Ticket id or name; <effort>.<name> when several Efforts have the name."
  3. Changed2 schema fields changedv1.0.0
    • addedInput schema / properties / drop_keys
      Added value: +{
      +  "description": "Unimported frontmatter keys to delete, as get_tickets lists them. A schema key or an absent one fails the whole call; nothing else in the fence changes.",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / properties / id / description
      Previous value: -"Ticket id, or the <effort>#<order> handle of a Legacy Ticket."New value: +"Ticket id, or the <effort>#<order> handle of a Ticket with no id."
  4. Changed7 schema fields changedv0.4.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / kind
      Added value: +{
      +  "description": "Replace the Ticket kind.",
      +  "enum": [
      +    "build",
      +    "decision"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / release
      Added value: +{
      +  "const": true,
      +  "description": "Release the claim on a claimed Ticket and return it to open. Pass { release: true }.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / reopen
      Added value: +{
      +  "description": "Return a resolved or dropped Ticket to open.",
      +  "properties": {
      +    "reason": {
      +      "description": "Why it is being reopened.",
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "reason"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / properties / status / description
      Previous value: -"Not settable directly — use claim, resolve, or drop. Named here to say so."New value: +"Not settable directly — use claim, resolve, drop, reopen, or release. Named here to say so."
    • addedInput schema / properties / title
      Added value: +{
      +  "description": "Replace the Ticket title.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / type
      Added value: +{
      +  "description": "Replace the decision type — research, prototype, grilling, or task.",
      +  "minLength": 1,
      +  "type": "string"
      +}
  5. Changed1 schema field changedv0.2.1
    • changedInput schema / properties / tick / description
      Previous value: -"Acceptance criteria to check off, matched on their text."New value: +"Acceptance criteria to check off, matched on their text. Wrapped criteria match both as get_tickets returns them and re-joined onto one line. All references resolve before anything is written — one unmatched name fails the whole call and leaves the file untouched."
  6. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so safety is covered; the description adds non-obvious behavior: lifecycle mutual exclusivity, cycle refusal on edge replacement, and the fact that annotation edits 'touch no part of the graph.' It does not restate destructive/permission implications, but the added semantics are substantial.

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

Conciseness5/5

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

One tight paragraph, front-loaded with the core action, then segmented by bold-style labels (Lifecycle/Graph/Identity/Annotations) that map directly onto the parameter groups. No filler sentences and no repetition of schema text.

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?

For an 18-parameter mutation tool with no output schema, the description covers operation grouping and combination rules well, but says nothing about the result of a successful call (updated ticket shape, returned fields) or about interaction with the id/<effort>.<name> resolution failure modes. Adequate, but a complex destructive tool warrants more.

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

Parameters3/5

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

Schema coverage is 100%, so all 18 parameters are already documented individually, which sets the baseline at 3. The description's four-group taxonomy adds real organizing meaning over the flat schema, but it introduces no syntax or value details beyond what the schema already carries.

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?

Opens with a specific verb+resource ('Change one Ticket') and then enumerates exactly what can be changed across four labeled groups (Lifecycle, Graph, Identity, Annotations). An agent can tell this is a mutation tool distinct from create_tickets/get_tickets, though it never names a sibling to sharpen the boundary.

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?

'At most one of those per call' and 'Any of the four groups may accompany the others or stand alone' give concrete composition rules an agent would otherwise have to infer. It does not name alternatives (e.g., when to use create_tickets or edit_map instead), so it stops short of full when/when-not routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.