Skip to main content
Glama

jira_comment

List or add comments on a JIRA issue using the issue key. Use 'add' to post a markdown comment, or 'list' to retrieve existing comments as YAML.

Instructions

Manage JIRA issue comments on key (e.g. PROJ-123). action = "list" returns comments as YAML; action = "add" posts the given body (JFM markdown — GitHub-style, see resource omni-dev://specs/jfm). Supply the body as body (inline) OR body_path (a filesystem path the server reads) — not both. Listed comment authors are Atlassian account IDs — resolve them to display names with jira_user_get. To change the text of an existing comment use jira_comment_edit (it needs the comment id from the list output).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesJIRA issue key (e.g., `PROJ-123`).
bodyNoComment body (JFM markdown — see resource `omni-dev://specs/jfm`). Required for `action = "add"`. Mutually exclusive with `body_path`.
limitNoMaximum number of comments to return. `0` means unlimited.
actionYes`list` to fetch comments; `add` to post a new one.
body_pathNoFilesystem path the server reads the comment body from, instead of `body`. Prefer this when the body is already on disk. Mutually exclusive with `body`.
Behavior4/5

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

With no annotations, the description carries full burden. It explains that list returns YAML, add posts body, and that body and body_path are mutually exclusive. It could be more explicit about side effects of add (creating) and permissions, but overall provides good behavioral context.

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 description is a single paragraph with concise sentences, front-loading the main purpose and then detailing parameters and related tools. No wasted words.

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?

Given 5 parameters, no output schema, and no annotations, the description is fairly complete. It covers all actions, parameter usage, output format (YAML), and points to related tools. Could mention permissions or error cases but sufficient for typical use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and the description adds meaningful context beyond schema: explains that list returns YAML, body is JFM markdown, body_path is an alternative, limit=0 means unlimited, and reinforces mutual exclusivity of body/body_path. Also gives example key PROJ-123.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool manages JIRA comments with two actions: list and add. It differentiates itself from sibling jira_comment_edit for editing, and provides context on resolving author IDs using jira_user_get.

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

Usage Guidelines5/5

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

Explicitly states when to use the tool (list/add actions) and when not to (for editing, use jira_comment_edit). It provides the prerequisite of needing comment id from list output for editing, and mentions resolving author IDs with jira_user_get.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rust-works/omni-dev'

If you have feedback or need assistance with the MCP directory API, please join our Discord server