Skip to main content
Glama

get_issue

Read-onlyIdempotent

Fetch full YouTrack issue details by ID or URL, including comments, and return chat-friendly Markdown or normalized JSON for reporting and automation.

Instructions

Get full details of a YouTrack issue.

Default returns a markdown render (chat-friendly). format="json" returns a normalized JSON dict — flat keys for id/summary/state/ assignee + assignee_login, a tags list, a custom_fields dict (custom field name → value), and a links list. Matches the JSON shape used by pulse and handoffs so consumers see one consistent structure across tools.

Use fields to override the field selector for power callers who need specific YT response fields. When fields is set and format="json", the raw YT response is returned unaltered (no normalization, full control). When fields is set and format="report", the markdown render may be sparse if the selector is narrower than the default.

Args: issue_id: Issue ID or URL. include_comments: Include comments in default selector (default: True). format: "report" (default markdown) or "json" (normalized dict). fields: Override the YT fields selector. Empty uses a richer default with login on assignee, presentation/text on custom-field values, and tags + created. instance: YouTrack instance (optional). include_bots: Also show workflow-automation nags and service stamps in comments (hidden by default; the hidden count is always reported). comment_chars: Per-comment truncation in compact mode (default: 200; 0 = untruncated). description_chars: Description cap in the report format, in characters. 0 = full text; -1 (default) keeps the mode's default (compact mode caps at 500, the full report does not).

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": {
      "issue_id": "<issue_id>"
    },
    "name": "get_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNo
formatNoreport
instanceNo
issue_idYes
include_botsNo
comment_charsNo
include_commentsNo
description_charsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A4.3/5.0
Behavior4/5

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

Adds substantial behavior beyond the readOnly/idempotent annotations: the normalized JSON key shape, the fact that `fields` + json returns raw unaltered YT output, that report may be sparse with a narrow selector, and that hidden bot comments are always counted. Rich disclosure, though the interaction between `description_chars` modes is described somewhat densely.

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 purpose followed by format semantics and an Args list, which is good structure. There is some redundancy — the format parameter is explained both in prose and again in Args — and the parenthetical asides make it denser than necessary.

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 an 8-parameter tool with an output schema present, the description covers format behavior, field overrides, comment/description truncation, and instance selection. Nothing an agent needs to invoke it correctly 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 coverage, the description carries the full load and does so via an Args block covering all eight parameters — including non-obvious semantics like description_chars -1 meaning 'keep mode default' and 0 meaning unlimited, and comment_chars 0 meaning untruncated.

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?

States a specific verb and resource: 'Get full details of a YouTrack issue.' It clearly scopes to a single issue and the format/fields options further differentiate it from list tools, but it never explicitly names a sibling (e.g. get_issues or get_issue_history) to route callers away from the wrong 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?

Gives concrete when-to-use guidance for the output modes — default markdown for chat, format="json" for normalized consumption, `fields` for power callers needing raw YT responses. Clear context, but no explicit exclusions or pointers to sibling tools for other needs.

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