Skip to main content
Glama
YouTrack MCP

YouTrack MCP

by tonyzorin

add_relates_link

Creates a 'relates to' link between two YouTrack issues by specifying source and target issue IDs, enabling you to document related work and dependencies.

Instructions

Add a 'relates to' link.

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": {
      "source_issue_id": "<source_issue_id>",
      "target_issue_id": "<target_issue_id>"
    },
    "name": "add_relates_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
source_issue_idYes
target_issue_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.1

TDQS

C2.4/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 behavioral burden. It discloses only that a 'relates to' link is added; it says nothing about permissions, duplicate-link behavior, directionality, or side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of wasted wording. However, it is under-specified for a tool with two required parameters, so its brevity comes at the cost of actionable detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The output schema means return values need not be described, but the definition still lacks parameter meaning and usage guidance. For a mutation tool with no annotations and 0% schema description coverage, the description is too thin to invoke confidently.

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

Parameters1/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 explain the parameters, but it never mentions source_issue_id or target_issue_id. It does not clarify which issue is the source, whether IDs are issue keys or numeric IDs, or whether the relationship is symmetric.

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?

The description states a specific verb and resource: add a 'relates to' link. That distinguishes it from sibling link-creation tools such as add_duplicate_link and add_dependency, though it does not explicitly say the link is between issues.

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?

It gives no guidance on when to use this tool versus add_dependency, add_duplicate_link, or link_issues. The intended link type is implied, but alternatives and exclusions are not addressed.

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