Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by cbagula

jira_ls_comments

Lists comments for a Jira issue by ID or key, with pagination and formatted Markdown output showing author, date, and content.

Instructions

Lists comments for a specific Jira issue identified by issueIdOrKey. Supports pagination via limit and startAt. Returns a formatted Markdown list of comments with author, date, and content. Pagination information including next page instructions is included in the returned text. 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>"
    },
    "name": "jira_ls_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of comments to return (1-100). Default is 25.
orderByNoSort comments by field and direction. Use "created" or "updated" for ascending order, and "-created" or "-updated" for descending order.
startAtNoIndex of the first comment to return (0-based offset). Used with limit for pagination.
issueIdOrKeyYesThe ID or key of the Jira issue to get comments from (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 supplied, the description carries the full burden and does reasonably well: it discloses the return format (formatted Markdown with author, date, content), that pagination metadata and next-page instructions are embedded in the returned text, and that Jira credentials must be configured. It stops short of stating that the operation is read-only and non-mutating, or how errors/empty results appear, so it is not exhaustive.

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?

Four short sentences, front-loaded with the core purpose, then pagination, then return shape, then prerequisites. The 'Supports pagination' and 'Pagination information ... is included in the returned text' sentences overlap slightly but each adds a distinct fact, so waste is minimal.

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?

There is no output schema and no annotations, so the description must describe returns and safety itself, and it does cover the Markdown return shape and pagination signaling along with the credential prerequisite. The main remaining gap is that it never explicitly frames the call as a non-mutating read with no side effects on the issue.

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 the schema already documents issueIdOrKey, limit, startAt, and orderBy in detail. The description echoes issueIdOrKey, limit, and startAt but adds no format or constraint detail beyond the schema, and it omits orderBy entirely; baseline 3 applies when the schema does the heavy lifting.

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 description states a specific verb and resource ('Lists comments for a specific Jira issue') plus the identifying parameter, so an agent can immediately tell this is the read-side counterpart to jira_add_comment. It does not explicitly name or contrast with any sibling tool, which keeps it just short of a 5.

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: call this when you need the comment thread of a known issue key. There is no explicit when-to-use or when-not-to-use guidance and no mention of alternatives (e.g., jira_get_issue, jira_add_comment), so an agent must infer routing from the name alone.

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