Skip to main content
Glama

edit_issue

Fully replaces an issue's text content - not an append or merge. Fetch the existing content via get_issue first if you need to preserve any of it. Also requires the title - pass the current one (from get_issue) to keep it. Does not change status. Requires canEdit (see get_issue/list_issues). Fails while the issue is handed to the agent (an open run in get_issue's latestAgentRun) - cancel_agent_run first.

Input Schema

NameRequiredDescriptionDefault
filesNoFiles to attach, base64-encoded - each becomes a new attachment, in addition to the issue's existing ones. Same format as create_issue.
titleYesThe issue's title: a short one-line summary, max 256 characters. Required - pass the current title to keep it.
contentYesThe issue's complete new text content, replacing what's there now, max 4096 characters.
issueKeyYesThe issue's key, e.g. 'BRD-42'.
assigneeIdNoUser id to reassign the issue to, from list_members. Must belong to the caller's organization. Omit to leave the current assignee unchanged.
attributesNoAttribute id -> plain-text value, same format as create_issue. Omit to leave every attribute untouched; pass {} to clear all of them.
removeAttachmentIdsNoIds of existing attachments to remove, from get_issue's Attachments list. Can be combined with files to replace one attachment with another.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / content / description
      Previous value: -"The issue's complete new text content, replacing what's there now."New value: +"The issue's complete new text content, replacing what's there now, max 4096 characters."
    • addedInput schema / properties / content / maxLength
      Added value: +4096
    • addedInput schema / properties / title / maxLength
      Added value: +256
  2. Changed2 schema fields changed
    • addedInput schema / properties / title
      Added value: +{
      +  "description": "The issue's title: a short one-line summary, max 256 characters. Required - pass the current title to keep it.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "issueKey",
      -  "content"
      -]New value: +[
      +  "issueKey",
      +  "content",
      +  "title"
      +]
  3. Changed5 schema fields changed
    • addedInput schema / properties / assigneeId
      Added value: +{
      +  "default": null,
      +  "description": "User id to reassign the issue to, from list_members. Must belong to the caller's organization. Omit to leave the current assignee unchanged.",
      +  "format": "uuid",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedInput schema / properties / attributes / description
      Previous value: -"Attribute id -> plain-text value, e.g. {\"5\": \"7\"}. Call list_attributes first for the ids/types/expected format per attribute - for a List-typed attribute, the value is one of its list value ids (also from list_attributes), not its display text. Omit entirely to leave every attribute untouched; pass an empty object {} to clear every attribute the issue currently has."New value: +"Attribute id -> plain-text value, same format as create_issue. Omit to leave every attribute untouched; pass {} to clear all of them."
    • changedInput schema / properties / content / description
      Previous value: -"The issue's complete new text content. Fully replaces the existing content - fetch it via get_issue first if you need to preserve any of it."New value: +"The issue's complete new text content, replacing what's there now."
    • changedInput schema / properties / files / description
      Previous value: -"Files to attach, in addition to the issue's existing ones. Same base64 format as create_issue."New value: +"Files to attach, base64-encoded - each becomes a new attachment, in addition to the issue's existing ones. Same format as create_issue."
    • changedInput schema / properties / removeAttachmentIds / description
      Previous value: -"Ids of existing attachments to remove, from get_issue's Attachments list. Can be combined with files to replace an attachment with another."New value: +"Ids of existing attachments to remove, from get_issue's Attachments list. Can be combined with files to replace one attachment with another."
  4. Changed4 schema fields changed
    • changedInput schema / properties / attributes / description
      Previous value: -"Attribute name -> plain-text value, same as create_issue. Omit to leave every attribute untouched (not cleared)."New value: +"Attribute id -> plain-text value, e.g. {\"5\": \"7\"}. Call list_attributes first for the ids/types/expected format per attribute - for a List-typed attribute, the value is one of its list value ids (also from list_attributes), not its display text. Omit entirely to leave every attribute untouched; pass an empty object {} to clear every attribute the issue currently has."
    • changedInput schema / properties / content / description
      Previous value: -"The issue's new text content, replacing what's there now."New value: +"The issue's complete new text content. Fully replaces the existing content - fetch it via get_issue first if you need to preserve any of it."
    • addedInput schema / properties / files
      Added value: +{
      +  "default": null,
      +  "description": "Files to attach, in addition to the issue's existing ones. Same base64 format as create_issue.",
      +  "items": {
      +    "properties": {
      +      "base64Content": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "contentType": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "fileName": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "fileName",
      +      "contentType",
      +      "base64Content"
      +    ],
      +    "type": [
      +      "object",
      +      "null"
      +    ]
      +  },
      +  "type": [
      +    "array",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / removeAttachmentIds
      Added value: +{
      +  "default": null,
      +  "description": "Ids of existing attachments to remove, from get_issue's Attachments list. Can be combined with files to replace an attachment with another.",
      +  "items": {
      +    "format": "uuid",
      +    "type": "string"
      +  },
      +  "type": [
      +    "array",
      +    "null"
      +  ]
      +}
  5. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does: it discloses destructive replacement semantics, the canEdit permission requirement, the precondition failure while an agent run is open, and the remediation (cancel_agent_run). This is exactly the operational context an agent cannot infer from the schema.

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?

Front-loaded with the most consequential fact (full replacement), then prerequisites, then failure conditions. Every clause carries information; no filler.

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 7-parameter mutation tool with no annotations and no output schema, the description covers replacement semantics, auth requirements, prerequisites, and failure/remediation paths. The remaining field-level detail (attachments, attributes, assignee) is fully handled by the schema.

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 description coverage is 100%, so every parameter is already documented, giving a baseline of 3. The description reinforces the title-required and content-replacement semantics, but adds little beyond what the schema fields already state verbatim.

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 sentence states a precise verb+resource+scope: 'Fully replaces an issue's text content - not an append or merge.' It explicitly distinguishes itself from the append/merge interpretation an agent might assume, and 'Does not change status' separates it from edit_issue_status.

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 names concrete alternatives and conditions: use get_issue first to preserve existing content, cancel_agent_run first when a run is open, and note that status changes belong elsewhere. When-to-use and when-not-to-use are both explicit.

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.