Skip to main content
Glama
YouTrack MCP

YouTrack MCP

by tonyzorin

link_issues

Create a typed link between two YouTrack issues to connect related work and clarify dependencies. Provide the source issue, target issue, and link type.

Instructions

Create a link between two issues.

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>",
      "link_type": "<link_type>"
    },
    "name": "link_issues"
  }
}

Input Schema

NameRequiredDescriptionDefault
link_typeYes
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.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It states the mutation but says nothing about permissions required, whether the link is symmetric, what happens if the link already exists, or what the response contains. Sibling tools like get_available_link_types hint that link_type must be a valid enum value, but this isn't stated.

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?

A single concise sentence with no filler, but it is under-specified rather than wasteful. Front-loaded verb and resource are good.

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?

For a mutation tool with 3 required undocumented parameters and no annotations, the description is far too thin. It doesn't cover link_type values, directionality, or behavioral effects. An output schema exists, so return values needn't be explained, but the input semantics and usage are incomplete.

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% and the description only mentions 'two issues' generically; it doesn't explain source vs target directionality or what values link_type accepts. Since a sibling get_available_link_types exists, the description could have pointed to it, but doesn't. Nothing is added beyond the schema's titles.

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 uses a specific verb+resource ('Create a link between two issues'), clearly distinguishing this from read tools like get_issue_links or search_issues. However, it doesn't differentiate from siblings add_duplicate_link or add_relates_link, which appear to perform similar link creation for specific link types.

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?

No guidance on when to use this generic link tool versus add_duplicate_link or add_relates_link. No prerequisites, no indication of whether the issues must exist, whether links are bidirectional, or whether duplicates are rejected.

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