Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by cbagula

jira_add_comment

Adds a Markdown-formatted comment to a specified Jira issue, converts it to Atlassian Document Format, and returns a confirmation with a link to the new comment.

Instructions

Adds a new comment to a specific Jira issue identified by issueIdOrKey. The content of the comment is provided in commentBody and supports Markdown formatting which will be converted to Jira's Atlassian Document Format (ADF). Returns a confirmation message and link to the newly created comment. Requires Jira credentials to be configured.

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": {
      "issueIdOrKey": "<issueIdOrKey>",
      "commentBody": "<commentBody>"
    },
    "name": "jira_add_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentBodyYesThe text content of the comment to add. Supports Markdown formatting including headings, lists, code blocks, tables, and other common markdown elements.
issueIdOrKeyYesThe ID or key of the Jira issue to add a comment to (e.g., "PROJ-123" or "10001").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.7/5.0
Behavior4/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 add real behavioral context: input is Markdown converted to Atlassian Document Format, the response is a confirmation plus a link to the new comment, and Jira credentials must be configured. It omits permission requirements and side effects such as watcher notifications, which keeps it below a 5.

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?

Three sentences, front-loaded with the action, each contributing new information (inputs, format conversion, return value and auth). No filler or repetition; only the credential sentence is borderline boilerplate.

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 write tool with no annotations and no output schema, the description covers targets, content format, response shape, and the credential prerequisite. Permission and failure behavior are the remaining gaps, but nothing an agent needs in order to invoke it correctly is missing.

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 in the input schema. The description restates that issueIdOrKey identifies the target issue and that commentBody is Markdown, adding no syntax or format detail beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource (add a new comment to a Jira issue) and names both required inputs, so the action is unambiguous. It does not explicitly contrast with the closest sibling, jira_add_worklog, or with jira_ls_comments, so it falls short of full sibling differentiation.

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?

Usage is implied by the purpose: it is the tool to call when appending commentary to an existing issue. There is no explicit when-to-use or when-not-to-use guidance, and no mention of alternatives such as worklogs for time entries or how to locate existing comments.

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