Skip to main content
Glama

Edit Jira Issue

jcm_editIssue
DestructiveIdempotent

Update a Jira issue by setting fields like summary or description, or apply incremental operations such as adding a fix version. Returns the issue key on success.

Instructions

Update a Jira issue. Pass 'fields' as {fieldName: value} to set values (description accepts markdown), and/or 'update' for incremental ops like adding a fix version: update={fixVersions: [{add: {name: '1.2.0'}}]}. 'update' values are passed verbatim, not markdown-converted. At least one is required. Returns {ok, key}.

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": {
      "issueKey": "<issueKey>"
    },
    "name": "jcm_editIssue"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoFields to set as {fieldName: value}. Example: {summary: 'New title', labels: ['bug']}
updateNoIncremental operations as {fieldName: [{op: value}]}, passed verbatim to Jira (no markdown conversion). Example: {fixVersions: [{add: {name: '1.2.0'}}]}
issueKeyYesJira issue key, e.g. PROJ-123

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.11.0
    • changedInput schema / properties / fields / description
      Previous value: -"Fields to update as {fieldName: value}. Example: {summary: 'New title', labels: ['bug']}"New value: +"Fields to set as {fieldName: value}. Example: {summary: 'New title', labels: ['bug']}"
    • addedInput schema / properties / update
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Incremental operations as {fieldName: [{op: value}]}, passed verbatim to Jira (no markdown conversion). Example: {fixVersions: [{add: {name: '1.2.0'}}]}",
      +  "type": "object"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "issueKey",
      -  "fields"
      -]New value: +[
      +  "issueKey"
      +]
  2. First observedv0.10.3

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered; the description adds value on top by disclosing the markdown-conversion asymmetry (description accepts markdown, 'update' values are passed verbatim) and the return shape {ok, key}. What it omits is any warning tied to the destructive flag — e.g. that setting fields overwrites existing values or that edits may trigger notifications — so the destructive semantics remain unexplained.

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?

The purpose is stated first, then the two parameter modes, then the constraint, then the return value — a clean front-loaded ordering. Every sentence carries information (no restatement of the title), and the inline JSON examples replace prose that would otherwise be longer and less precise.

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?

With three parameters, nested objects and no output schema, the definition covers the essentials: both input modes, the mutual-requirement rule, the format caveat, and the return shape. Gaps are secondary for a mutation tool — it doesn't indicate which fields are writable, what happens on an invalid field name, or the implications of the destructiveHint annotation.

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 both nested objects are already documented in the schema, which sets the baseline at 3. The description does add one genuine thing the schema cannot express — the requirement that at least one of 'fields'/'update' be supplied — but otherwise restates the field/update distinction and the fixVersions example nearly verbatim from the schema.

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?

The description opens with a specific verb and resource ('Update a Jira issue') and immediately splits the operation into two distinct modes: absolute field setting via 'fields' and incremental operations via 'update'. That distinction separates it from jcm_createIssue and jcm_transitionIssue conceptually, though those siblings are never named, so the differentiation is implicit rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the one hard usage constraint ('At least one is required' between fields and update) and gives a concrete example of the incremental form. However, it never says when to prefer this over the near neighbours that also change issue state — notably jcm_transitionIssue for workflow status changes, or jcm_convertIssueType — leaving an agent to infer the boundary itself.

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