Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by khanglvm

jira_search

Search Jira issues by project, status, assignee, priority, type, or date using JQL to find open bugs, tasks, stories, epics, and unassigned or recently updated work.

Instructions

Find Jira issues matching specific criteria. Use when user asks to:

  • Find, list, or show issues (bugs, tasks, stories, epics)

  • Search for work by status, assignee, project, priority, or date

  • Get open, closed, in-progress, or unassigned items

  • Find "my tasks" or someone else's work

  • List recent or updated issues

Build JQL from natural language requests:

  • "my open bugs" → assignee = currentUser() AND type = Bug AND status != Done

  • "high priority tasks in PROJECT" → project = PROJECT AND type = Task AND priority = High

  • "issues updated this week" → updated >= startOfWeek()

  • "unassigned bugs" → assignee IS EMPTY AND type = Bug

Common JQL fields: project, status, assignee, reporter, priority, type, created, updated, due

CRITICAL JQL GOTCHAS:

  • statusCategory ("To Do", "In Progress", "Done") is NOT an issue type! Use for broad status filtering.

  • status (exact workflow status name like "Open", "In Review") is project-specific.

  • type (Bug, Task, Story, Epic) is the issue type field.

  • "todo tickets" → statusCategory = "To Do", NOT type = "To Do" (which causes errors)

  • Example: statusCategory = "To Do" AND assignee = currentUser() AND created >= -1w

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

Input Schema

NameRequiredDescriptionDefault
jqlYesJQL query. Examples: "project = PROJ AND status = Open", "assignee = currentUser() AND type = Bug"
fieldsNoFields to include in results
startAtNoPagination offset (default 0)
maxResultsNoMax results (1-100, default 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.1

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden, and it usefully discloses the highest-value failure mode: confusing statusCategory, status, and type causes JQL errors. Beyond that it says nothing about read-only nature, result-size limits, pagination behavior, or permission scoping, so an agent still lacks behavioral context for a tool that can issue arbitrary queries.

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 trigger conditions followed by progressively deeper JQL guidance, which is a sensible ordering. The gotchas section repeats itself slightly, explaining the statusCategory-vs-type distinction three separate times, but the redundancy is defensible for the most common error mode and the wording stays tight.

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 should gesture at what a search returns (issue list shape, total count, whether `fields` narrows the payload), and it says nothing about return values. Its JQL construction guidance is thorough, but for a search tool with no annotations and no output schema the definition leaves the response contract entirely implicit.

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 baseline would be 3, but the description genuinely adds meaning for the required jql parameter by enumerating valid field names (project, status, assignee, reporter, priority, type, created, updated, due) and warning which field-value pairings break. The optional fields/startAt/maxResults parameters are left entirely to the schema, which already documents them adequately.

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?

Opens with a specific verb+resource: "Find Jira issues matching specific criteria," which clearly frames this as a query tool rather than a single-issue fetch. The trigger bullets reinforce scope with concrete object types (bugs, tasks, stories, epics). It stops short of explicitly contrasting itself with jira_get_issue for key-based lookups, so it falls 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 Guidelines4/5

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

Provides an explicit when-to-use list covering the common intents (list issues, search by status/assignee/project, find recent items) with natural-language-to-JQL mappings. However, it never states when NOT to use it or names an alternative sibling for adjacent intents such as fetching one issue by key, so the guidance is contextual rather than exhaustive.

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