Skip to main content
Glama

Get Jira issue

jira_get_issue

Retrieve a Jira issue by key as compact card fields with a truncated description, optionally including paginated comments and worklogs.

Instructions

Fetch one issue as compact card fields plus a truncated description; optionally include paginated comments and worklogs. Use fields=['*all'] for the raw Jira payload (not recommended).

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

Input Schema

NameRequiredDescriptionDefault
fieldsNoExtra Jira field names merged into the card field set. Pass ['*all'] to get the raw, unfiltered Jira payload (a size warning is prepended).
issueKeyYesIssue key, e.g. 'ABC-123'
includeCommentsNoInclude paginated comments (each comment body truncated to 500 chars)
includeWorklogsNoInclude paginated worklogs (each comment body truncated to 500 chars)
maxDescriptionCharsNoMaximum number of characters returned for the description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are supplied, so the description must carry the behavioral load, and it does disclose meaningful traits: output is a compact card set, the description is truncated, comments and worklogs are paginated, and the raw payload path prepends a size warning. It omits auth/permission requirements and failure behavior for invalid or inaccessible issue keys, 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, both front-loaded: the primary behavior first, the escape-hatch parameter second. No filler and nothing redundant with the schema.

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 five-parameter read tool with no output schema and no annotations, the description covers return shape, truncation, and optional expansions adequately. The unresolved question of how comment/worklog pagination is controlled is the notable omission.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema by flagging that fields=['*all'] returns the unfiltered raw Jira payload and is discouraged. It does not explain how the 'paginated' comments and worklogs are actually paged, which is the one remaining semantic gap.

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 ('Fetch one issue') and describes the return shape (compact card fields plus a truncated description, optional comments and worklogs). The 'one issue' phrasing implicitly separates it from list/search siblings, but no sibling is named to sharpen the boundary.

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?

The only explicit guidance is parameter-level: use fields=['*all'] for the raw payload and it is 'not recommended'. There is no statement of when to prefer this over jira_search_issues or other read siblings, so the when-to-use decision is left implied by the required issueKey.

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