Skip to main content
Glama

Search Jira Issues

jcm_searchIssues
Read-onlyIdempotent

Search Jira issues using JQL to return key, summary, status, type, parent, assignee, and updated timestamps for polling; invalid JQL returns errors, not empty results.

Instructions

Search Jira issues using JQL. Returns {total, issues: [{key, summary, status, type, parent, assignee, updated, updatedJql}]}. parent is {key, summary, type} or null. updatedJql is the issue's updated time floored to the minute in your Jira timezone; poll with key = X AND updated > "<updatedJql>" (at-least-once, dedupe). Zero results are validated: invalid JQL values (unknown issue type, missing parent, etc.) return an error instead of an empty list.

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": "jcm_searchIssues"
  }
}

Input Schema

NameRequiredDescriptionDefault
jqlYesJQL query string
maxResultsNoMax results to return (default 20, max 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.10.3

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, yet the description still adds substantial behavior: the exact return envelope, the timezone-floored `updatedJql` semantics, at-least-once delivery requiring dedupe, and the important quirk that invalid JQL values raise an error instead of returning an empty list. That last point is a non-obvious failure mode an agent could not infer from any structured field.

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 and front-loaded: purpose first, then return shape, then field semantics, then polling recipe, then the validation caveat. The inline return-shape notation earns its space because there is no output schema, though the single run-on block is slightly harder to scan than a broken-out structure would be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description takes on the burden of explaining return values and does so precisely (total, issues array, nested parent, updatedJql). Combined with the polling recipe and the zero-results validation rule, an agent has everything needed to call and interpret this tool correctly.

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% (both `jql` and `maxResults` are documented with default and max), so the baseline is 3. The description goes beyond that by describing what happens to the `jql` value when it references unknown issue types or missing parents — it errors rather than silently yielding zero results — which shapes how an agent should construct and validate queries.

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 opens with a specific verb and resource ("Search Jira issues using JQL"), which distinguishes it from single-issue siblings like jcm_getIssue and mutation siblings like jcm_editIssue. It stops short of explicitly naming an alternative, but the JQL-driven search framing makes the tool's role unambiguous.

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

Usage Guidelines4/5

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

It gives a concrete, actionable usage pattern for incremental polling (`key = X AND updated > "<updatedJql>"`) with the at-least-once/dedupe caveat, which is real when-to-use guidance rather than boilerplate. What's missing is any explicit statement of when to prefer this over jcm_getIssue or jcm_searchArticles, so it lands below the top band.

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