Skip to main content
Glama

jira_comment

List or add comments on a JIRA issue using its key. Fetch comments as YAML, or post a new comment with JFM markdown body.

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 provided, the description carries the full burden of behavioral disclosure. It reveals that list returns YAML, that authors are Atlassian account IDs (requiring resolution), and that body input has a mutual exclusion constraint. However, it does not describe the return format for `add`, potential side effects, or error conditions, which would be valuable for a mutation tool.

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?

The description is dense but each sentence adds value: purpose, actions, input methods, author resolution, and pointer to edit tool. It is slightly long but well-organized, front-loading the core purpose. No superfluous content, but the density could be improved by splitting into fewer clauses.

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?

There is no output schema, so the description must explain return values. It states that list returns comments as YAML but does not detail the structure of each comment or what `add` returns. It also omits the behavior of the `limit` parameter (though the schema covers it). Given the tool's complexity and lack of output schema, the description provides a solid foundation but leaves return format and edge cases unspecified.

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?

The schema already covers all parameters with 100% description coverage, giving a baseline of 3. The description adds significant meaning by explaining the interplay between `body` and `body_path`, the JFM markdown format, and the semantics of `action` values. It also provides a concrete example and cross-references to other tools, going well beyond the schema.

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 issue comments on a specific key, and immediately enumerates the two actions (`list` and `add`). It distinguishes itself from sibling tools by explicitly naming `jira_comment_edit` for editing and `jira_user_get` for resolving author IDs, making its scope unambiguous.

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?

The description provides explicit usage guidance: it explains when to use `list` vs `add`, when to use `body` vs `body_path`, and directs users to `jira_comment_edit` for updating existing comments. This effectively differentiates from alternatives and prevents misuse.

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