Skip to main content
Glama

jira_add_comment

Add a comment to a JIRA issue using JIRA wiki markup, including headings, inline code, code blocks, and blockquotes for structured issue updates.

Instructions

Add a comment to a JIRA issue. The comment body uses JIRA wiki markup (h3. for headings, {{code}} for inline code, {code:lang}...{code} for blocks, bq. for blockquotes, regular markdown for the rest). Use real newlines to separate lines — do NOT use literal backslash-n escape sequences.

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>",
      "body": "<body>"
    },
    "name": "jira_add_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesComment body in JIRA wiki markup
issueKeyYesJIRA issue key (e.g. DOC-3143)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the behavioral burden. It earns credit for disclosing a genuinely non-obvious trait: the body is JIRA wiki markup, and literal '\n' escapes will not produce line breaks. It omits other behavior an agent would want, such as permission requirements, whether the comment triggers notifications, and what (comment id, URL) is returned.

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?

Two sentences, front-loaded with purpose, and every clause is actionable. The markup enumeration is long but each item maps to a real formatting decision the agent must make, so it earns its space; the piece is a little dense but not padded.

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 simple two-parameter, no-output-schema tool, the description covers the one thing that can realistically go wrong: malformed comment markup. Missing are return semantics and permission/failure behavior, but neither is disqualifying at this complexity level.

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 both parameters are already documented, making 3 the baseline. The description goes somewhat beyond the schema's terse 'Comment body in JIRA wiki markup' by enumerating h3., {{code}}, {code:lang}, bq. and the newline rule, but it adds nothing about issueKey or key format, so the net gain stays modest.

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: 'Add a comment to a JIRA issue.' That is unambiguous and cannot be confused with any sibling (attachment, transition, update). It does not, however, explicitly contrast itself with siblings that could plausibly touch issue text, such as jira_update_issue, so it stops short of a 5.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives, no preconditions (write permission, issue must exist and be open), and no exclusions. The only instructions given concern formatting the body, not whether or when to call the tool.

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