Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by khanglvm

jira_add_comment

Adds a comment with notes, feedback, or documentation to a Jira issue by issue key and comment text, so users can record updates directly on a ticket.

Instructions

Add a comment to a Jira issue. Use when user wants to:

  • Comment on a ticket

  • Add notes or feedback to an issue

  • Leave a message on a work item

  • Document something on a ticket

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 text
issueKeyYesIssue key to comment on

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It says nothing about who the comment is attributed to, whether permissions or project access are required, whether notifications are triggered, whether the comment can be edited or deleted afterward, or what the call returns — all material for a mutation tool with zero annotation coverage.

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

Conciseness3/5

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

The core action is front-loaded in a single clear sentence, which is good. The following four-bullet list is largely padding: the bullets restate the same intent in different words ('comment on a ticket' vs 'document something on a ticket') without adding selection information.

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 a simple two-parameter tool with fully documented schema and no output schema, the description covers the core action adequately. It still leaves gaps an agent would care about: no indication of the return value (e.g., created comment ID) and no note on permissions or side effects of posting a comment.

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%, and both parameters (issueKey, body) are described in the schema itself, so the baseline is 3. The description adds no further meaning — no expected key format, no body formatting or mention of length/rendering constraints — so it neither compensates nor detracts.

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 first sentence states a specific verb and resource: 'Add a comment to a Jira issue.' That clearly separates it from read-side siblings like jira_get_comments, but the description never names or contrasts any sibling explicitly, so differentiation is inferred rather than stated.

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?

The 'Use when user wants to:' list gives trigger phrasing, so usage is implied and an agent can pattern-match user intent. However, all four bullets paraphrase the same action ('comment on a ticket', 'leave a message on a work item', 'document something on a ticket') and there is no when-not guidance or pointer to alternatives such as reading existing comments first.

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