Skip to main content
Glama
YouTrack MCP

YouTrack MCP

by tonyzorin

get_issue_comments

Retrieves all comments for a specified YouTrack issue, helping you review discussion history and track decisions without opening the issue manually.

Instructions

Get comments for a specific issue as a resource.

FORMAT: get_issue_comments(issue_id="DEMO-123")

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

Input Schema

NameRequiredDescriptionDefault
issue_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, yet it only says comments are returned 'as a resource'. It does not state that this is a non-mutating read, whether permissions or visibility scopes apply, or how comments are ordered or paginated — all material for a discussion-thread tool.

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?

Two short lines with the purpose front-loaded and a concrete example second. Efficient, with no filler; the only nit is the vague phrase 'as a resource'.

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?

The existence of an output schema means return values need not be described, and a one-parameter read tool is simple. Still, for a comment-listing endpoint the definition says nothing about ordering, completeness of the list, or required access, leaving meaningful gaps.

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

Parameters3/5

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

Schema coverage is 0% for the single issue_id parameter, so the description must compensate. The example get_issue_comments(issue_id="DEMO-123") does convey the expected key-style ID format, which is real added value, though it never says whether the key or the numeric ID is accepted.

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 comments for a specific issue'. It is clearly distinguishable from write-side siblings like add_comment, but it does not explicitly differentiate itself from other read tools such as get_issue or get_field_values.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus alternatives (e.g., get_issue if you only need the ticket body, or add_comment to post). The only guidance is an invocation example, which tells the agent how to call it, not when.

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