Skip to main content
Glama

jira_analyze_workflow

Analyze real Jira workflow behavior from JQL-selected issues: quantify status transitions, time per status, rework loops, and stall points.

Instructions

Aggregate workflow analysis across a set of issues: which status transitions actually happen and how often, median/average time spent in each status, rework loops, and where work stalls. Answers 'how does this workflow really behave' rather than how it's drawn.

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

Input Schema

NameRequiredDescriptionDefault
jqlYesJQL selecting the issues to analyze, e.g. 'project = ABC AND created >= -90d'
maxIssuesNoHow many issues to sample (each costs a changelog fetch)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.4.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses what the analysis computes and implies sampling by scoping analysis to 'a set of issues', but never states that the operation is read-only, that cost scales with the issue sample (that detail lives in the schema, not the description), or how results are shaped or ordered.

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, no padding, with the analytical outputs front-loaded and the positioning statement last. Every clause earns its place and none restate the tool name or 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?

With no output schema and no annotations, the description does most of the work by enumerating the metrics returned. The remaining gap is operational: nothing about cost of larger jql selections or that the call performs no mutations, though the schema mitigates the cost point via the maxIssues note.

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 description coverage is 100%, with jql and maxIssues fully documented including a concrete JQL example, a default of 75, and a 1–300 cap. The description adds nothing contradictory and correctly frames the tool as operating over a selected issue set, so it needn't restate parameter syntax.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Aggregate workflow analysis across a set of issues" gives a specific verb and resource, then enumerates exactly what is produced: transition frequencies, median/average time per status, rework loops, and stall points. The closing line ("how does this workflow really behave rather than how it's drawn") cleanly separates it from the static workflow-definition tool.

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?

The description establishes the decision context clearly: use this when you need empirical behavior of a workflow rather than its diagrammed definition, which implicitly routes the agent away from jira_get_project_workflow without naming it. There are no explicit exclusions or named alternatives, but the framing is enough to choose correctly.

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