Skip to main content
Glama

get_at_risk_issues

Read-onlyIdempotent

Detect at-risk YouTrack issues in a project—overdue, stalled, forgotten, unestimated, over-estimated, QA-skipped, approaching-deadline, or ancient—using configurable idle and deadline thresholds.

Instructions

Find at-risk issues: overdue, qa_skipped, stalled, forgotten, unestimated, over estimate, ancient.

Deadline / estimate / spent-time / QA-required fields are matched by name pattern, so decorated field names (Deadline ⏰, Evaluation time ⏳, Spent time ⌛, Dev Estimate, QA Required) are recognized — not just bare literals.

QA-skip: when a project has a QA-gating field (e.g. QA Required: Yes), an issue that reached a release/done state while QA was required is confirmed against its state history — flagged only if it NEVER passed a QA state (true skip, not merely "QA pending"). Projects without such a field produce no QA-skip candidates (zero added cost). The per-issue history walk runs only when this category is in scope.

Args: project: Project short name stale_days: Days idle for In Progress (default: 7) forgotten_days: Days idle for Submitted/Pause (default: 30) ancient_days: Days open to flag (default: 200) limit_per_category: Max per category in report mode (default: 10). Ignored when format="json" — JSON returns the full set. deadline_warning_days: Days before deadline warning (default: 7) exclude_patterns: Comma-separated regex to exclude category: Restrict to one bucket — overdue, qa_skipped, approaching, stalled, over_estimate, unestimated, ancient, forgotten (aliases accepted). Empty = all categories. format: "report" (default markdown) or "json" (structured payload with per-category counts + full issue lists, for programmatic consumers like a daily deadline bot). instance: YouTrack instance (optional)

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": {
      "project": "<project>"
    },
    "name": "get_at_risk_issues"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoreport
projectYes
categoryNo
instanceNo
stale_daysNo
ancient_daysNo
forgotten_daysNo
exclude_patternsNo
limit_per_categoryNo
deadline_warning_daysNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.21.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds real behavior beyond them: the QA-skip check walks per-issue state history, only runs when that category is in scope, and yields nothing for projects lacking a QA-gating field, plus the note that limit_per_category is ignored in json mode. Minor gap: it doesn't say anything about cost when all categories are in scope.

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 the category list, then the field-pattern caveat, then an Args block — a sensible structure that scans well. Some parenthetical asides ("true skip, not merely 'QA pending'") add length, but most of it is substantive behavioral detail rather than filler.

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 10-parameter tool with an output schema (so return values needn't be spelled out), the definition covers categories, thresholds, formats and the QA-skip mechanism thoroughly. One small inconsistency remains: the opening bucket list omits 'approaching', which appears in the category parameter's enumeration, and 'over estimate' vs 'over_estimate' naming is loose.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must carry the load — and it documents all ten parameters with meaning and defaults (stale_days for In Progress, forgotten_days for Submitted/Pause, ancient_days open age, deadline_warning_days, exclude_patterns as comma-separated regex, category aliases, format modes). This is exactly the compensation the low-coverage case requires, though instance and exclude_patterns remain terse.

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?

The first line states a specific verb and resource (find at-risk issues) and enumerates the exact risk buckets it detects: overdue, qa_skipped, stalled, forgotten, unestimated, over_estimate, ancient. That is far more specific than a sibling like get_issues or get_top_blocked_issues, so an agent can tell what this tool uniquely returns.

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 makes clear this is a risk-bucketing tool, explains the category parameter as a way to restrict to one bucket, and distinguishes report mode from json mode ("for programmatic consumers like a daily deadline bot"). It never names a sibling tool to prefer instead, so there is no explicit exclusion guidance.

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

Deploy Server

Other Tools