Skip to main content
Glama

Update an issue

update_issue
Destructive

Change one website issue (an action plan; cloud only) the way a person does in the dashboard: its status (open, in_progress, resolved, dismissed for a close as not planned that stays closed, wontfix), its assignee (the user id of a member of the organization; null clears it), its severity, and its title, body_md (the Markdown plan), type (bug, task or feature) and labels (replaces the list). Needs the audits:write scope and an owner, admin or editor role, like the dashboard. Set only the fields to change; at least one is required. A status change moves the issue's findings with it exactly as in the dashboard (a completed close releases them, a reopen re-links them), and a closed issue stays closed when a later audit runs: triage does not reopen what a person closed as not planned. A severity edit on a triage issue locks its priority against the next triage run. Each title, body_md, type or labels edit writes an agent-attributed entry on the issue's comment thread (with the earlier value) and locks that field against the next triage run. A field already locked (a person set it, or an earlier edit did; see locked_fields in get_issue) is refused with the typed error FIELD_LOCKED and nothing is written: ask the user to change it in the dashboard. To change the status of several issues at once pass issue_numbers instead of issue_number (status, assigned_to and severity only): closing more than one (resolved, dismissed or wontfix) answers status "confirmation_required" with the issues it would close and writes nothing until it is sent again with confirm: true. Closing a real problem as not planned hides it from the tracker: only do it when the user said so. The result is the issue as it reads afterwards.

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": {
      "website_id": "<website_id>"
    },
    "name": "update_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoNew type. Refused (FIELD_LOCKED) when the type is locked.
titleNoNew title. Refused (FIELD_LOCKED) when the title is locked.
labelsNoThe issue's full label list (replaces it). Refused when labels are locked.
statusNoNew status.
body_mdNoNew Markdown plan. Refused (FIELD_LOCKED) when the body is locked.
confirmNoApprove a bulk close of more than one issue (see issue_numbers).
severityNoNew severity (a triage issue's priority follows and is locked).
website_idYesWebsite id the issue belongs to.
assigned_toNoUser id of an organization member to assign to; null clears the assignee.
issue_numberNoIssue number from list_issues. Give this or issue_numbers.
issue_numbersNoSeveral issue numbers for a bulk status, assignee or severity change (no content edits). Closing more than one needs confirm: true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / body_md
      Added value: +{
      +  "description": "New Markdown plan. Refused (FIELD_LOCKED) when the body is locked.",
      +  "maxLength": 8000,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "Approve a bulk close of more than one issue (see issue_numbers).",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / issue_number / description
      Previous value: -"Issue number from list_issues."New value: +"Issue number from list_issues. Give this or issue_numbers."
    • addedInput schema / properties / issue_numbers
      Added value: +{
      +  "description": "Several issue numbers for a bulk status, assignee or severity change (no content edits). Closing more than one needs confirm: true.",
      +  "items": {
      +    "maximum": 9007199254740991,
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  "maxItems": 100,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / labels
      Added value: +{
      +  "description": "The issue's full label list (replaces it). Refused when labels are locked.",
      +  "items": {
      +    "maxLength": 50,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedInput schema / properties / title
      Added value: +{
      +  "description": "New title. Refused (FIELD_LOCKED) when the title is locked.",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / type
      Added value: +{
      +  "description": "New type. Refused (FIELD_LOCKED) when the type is locked.",
      +  "enum": [
      +    "bug",
      +    "task",
      +    "feature"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "website_id",
      -  "issue_number"
      -]New value: +[
      +  "website_id"
      +]
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes far beyond the supplied annotations (destructiveHint=true, readOnlyHint=false): it discloses required audits:write scope and owner/admin/editor role, the finding-relinking side effect of status changes, that a closed issue stays closed across later audits, that severity edits lock priority against triage, that content edits write an agent-attributed comment entry and lock the field, and that FIELD_LOCKED writes nothing. The confirmation_required bulk-close flow is exactly the behavioral detail the annotations cannot convey.

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-loaded with the operation and field list, then side effects, then bulk/confirmation semantics — a logical progression with no filler sentences. It is dense and single-paragraph, with minor redundancy ('the way a person does in the dashboard' / 'like the dashboard'), but the length is earned by the tool's numerous conditional behaviors.

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 an 11-parameter destructive mutation with no output schema, it covers permissions, error modes (FIELD_LOCKED), locking rules, side effects on findings and triage, the bulk confirmation round-trip, and the return value ('the issue as it reads afterwards'). Nothing an agent needs to invoke it safely appears to be 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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: labels is a full replacement, null clears the assignee, and issue_numbers only permits status/assigned_to/severity edits while bulk closes require confirm:true. The FIELD_LOCKED behavior per field is repeated from the schema descriptions rather than added, which keeps this from a 5.

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 concrete verb and resource ('Change one website issue') and immediately enumerates the mutable fields (status, assignee, severity, title, body_md, type, labels), so an agent knows exactly the operation and its surface. It also distinguishes the single-issue path from the bulk path via issue_numbers, making it separable from sibling tools like dismiss_issue or update_website_settings.

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?

Explicit when-to-use rules: set only fields to change, at least one field required, use issue_numbers for multi-issue status/assignee/severity changes, and re-send with confirm:true for a bulk close. It also gives the when-NOT guidance most tools omit — do not close a real problem as not planned unless the user asked, and if a field is FIELD_LOCKED, ask the user to change it in the dashboard instead.

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.