Skip to main content
Glama

Add Jira comment

jira_add_comment

Add a comment to a Jira issue by issue key, with the comment body format auto-detected for the deployment. Returns the new comment ID and creation time.

Instructions

Add a comment to an issue. Returns {id, created}. The body format (wiki string vs ADF) is chosen automatically per deployment.

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

Input Schema

NameRequiredDescriptionDefault
commentYesComment text
issueKeyYesIssue key, e.g. 'ABC-123'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations and no output schema, the description does real work by disclosing the return shape {id, created} and that wiki-vs-ADF body format is auto-selected per deployment. It omits permission requirements, visibility of the comment to watchers, and how invalid issue keys fail, so significant behavioral burden remains undisclosed.

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?

Three short sentences, front-loaded with the purpose, then return shape, then the format caveat. Every sentence carries distinct information and there is no filler.

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 two-parameter tool with no annotations, the description covers what it does, what it returns, and the one non-obvious input behavior (format auto-detection). Only auth/permission context and failure behavior are missing, which is a minor gap at this complexity.

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, and the description adds nothing about the issueKey format beyond the schema's example. The format auto-detection note does reduce ambiguity about whether 'comment' must be pre-converted to ADF, which is a modest addition over 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?

"Add a comment to an issue" gives a specific verb plus resource, and the resource is clearly distinct from siblings such as jira_add_attachment and jira_add_worklog. It stops short of explicitly naming a sibling to contrast with, but the action is unambiguous.

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 only implied: comment on an existing issue when you have something to record. There is no statement about prerequisites (issue must exist, user needs comment permission) and no exclusion or alternative named, though for a tool this narrow the inference is easy.

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