Skip to main content
Glama

get_issues

Read-onlyIdempotent

Batch-fetch multiple YouTrack issues in one request using a known ID list, returning compact or JSON output with per-item not-found reporting so enrichment passes avoid repeated round-trips.

Instructions

Batch-fetch multiple issues in one round-trip.

Composes a single #A or #B or #C query so a 20-issue enrichment pass takes one HTTP request instead of twenty. Useful when you already have a known ID list (active-focus picks, stuck-handoff IDs, daily-summary references). One unknown or malformed ID never fails the batch: it is reported per item as not found. JSON items carry url, so callers never build links by hand.

Reuses get_issue's default field set + normalize_issue for consistent JSON shape across tools. Default include_comments=False because batch mode usually doesn't need them and they're heavy.

Args: ids: Comma-separated issue IDs or URLs (PROJ-1, PROJ-2, ...). Up to ~100 IDs per call — large lists should be split across multiple calls. fields: Override the YT field selector. Empty uses get_issue's expanded default. format: "report" (default compact list) or "json" (array of normalized issue dicts). include_comments: Include comments in the response (default False — batch mode rarely needs them). instance: YouTrack instance (optional). description_chars: In format="json", cap each description and comment text at this many characters, with a marker giving the dropped length (default 2000; 0 = full text). A batch of long specs otherwise returns tens of thousands of tokens; use get_issue for one issue's full text.

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": {
      "ids": "<ids>"
    },
    "name": "get_issues"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes
fieldsNo
formatNoreport
instanceNo
include_commentsNo
description_charsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.40.2
    • addedInput schema / properties / description_chars
      Added value: +{
      +  "default": 2000,
      +  "title": "Description Chars",
      +  "type": "integer"
      +}
  2. First observedv1.21.0

TDQS

A5/5.0
Behavior5/5

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

Annotations already cover the safety profile (read-only, idempotent, non-destructive), and the description adds substantial context beyond them: partial-failure semantics ('One unknown or malformed ID never fails the batch: it is reported per item as not found'), the token-cost rationale for `include_comments=False`, and truncation markers from `description_chars`. These are exactly the behaviors an agent needs before committing to a batch call.

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?

Front-loaded with the core purpose and cost rationale before the Args block. The repeated mention of `include_comments` (in prose and in Args) is mildly redundant but mirrors the argument list, and no sentence is filler.

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?

For a batch-fetch tool with an output schema, the definition covers cost, failure behavior, field defaults, truncation, and limits. Nothing needed to call it correctly or interpret results is missing.

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?

With 0% schema description coverage, the description carries the full burden and does so for all six parameters, including accepted input shapes (IDs or URLs), the `description_chars` truncation semantics with the `0 = full text` special case, and the `format` values. This is meaning well beyond the bare schema titles.

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?

States a specific verb and resource ('Batch-fetch multiple issues in one round-trip') and immediately explains the mechanism ('Composes a single `#A or #B or #C` query'). It is clearly distinguished from the single-issue sibling by naming `get_issue` as the alternative for one issue's full text.

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

Usage Guidelines5/5

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

Explicitly names the triggering condition: 'Useful when you already have a known ID list (active-focus picks, stuck-handoff IDs, daily-summary references)'. It also gives a boundary rule ('Up to ~100 IDs per call — large lists should be split across multiple calls') and routes to `get_issue` when full text of a single issue is needed.

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