Skip to main content
Glama

jira_search_issues

Search Jira issues with a JQL query, paging results via nextPageToken and optionally fetching descriptions or extra fields for full-text matching and custom field data.

Instructions

Search JIRA issues with a JQL query (e.g. 'project = DOC AND reporter = currentUser() ORDER BY created ASC'). Returns up to maxResults issues per page; pass the returned nextPageToken to fetch the next page. Descriptions are omitted by default — set includeDescription for full-text matching needs. Pass extraFields to fetch any additional Jira fields (custom fields included) — their raw REST values are returned per issue under extra.

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": {
      "jql": "<jql>"
    },
    "name": "jira_search_issues"
  }
}

Input Schema

NameRequiredDescriptionDefault
jqlYesJQL query string
maxResultsNoPage size (1-100, default 50)
extraFieldsNoAdditional Jira field ids to fetch, e.g. ["fixVersions", "customfield_15000"]. Returned raw (unmapped) per issue under `extra`, keyed by field id.
nextPageTokenNoPagination token from a previous page of the same query
includeDescriptionNoInclude each issue description as plain text

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, the description carries the full burden and does well: it discloses pagination semantics (up to maxResults per page, nextPageToken to continue), that descriptions are omitted by default, and that extraFields are returned raw under `extra`. It does not mention authentication/permission requirements, rate limits, or whether the call is strictly read-only, which keeps it short of 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.

Conciseness4/5

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

Front-loaded with purpose and a JQL example, then one clause per notable option; no filler sentences. It is a dense paragraph of parameter hints rather than clearly separated sections, which slightly hurts scannability.

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 read-only search tool with no annotations and no output schema, the description covers query input, paging, and the shape of extra fields, which is most of what an agent needs. It omits what the default issue payload contains and how errors or oversized queries are handled.

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 description coverage is 100%, so the schema already documents all five parameters and the baseline is 3. The description adds genuine meaning about pagination flow and the raw `extra` mapping, but it largely restates parameter purposes already present in 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?

States a specific verb and resource ('Search JIRA issues with a JQL query') and includes a concrete JQL example, so the agent knows exactly what this tool does. It does not explicitly contrast itself with siblings like jira_get_issue or jira_board_issues, leaving that differentiation to be inferred.

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?

Conditional guidance is embedded ('set includeDescription for full-text matching needs', 'pass extraFields to fetch any additional Jira fields'), which hints at when to use those options. However, there is no explicit statement of when to choose this tool over jira_get_issue (single issue) or jira_board_issues, and no stated prerequisites.

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