Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by wince87

jira_link_issues

Idempotent

Create a relationship between two Jira issues by specifying a link type and which issue sits on the inward or outward side.

Instructions

Create a link between two issues. The inward side uses the linkType.inward phrasing ("is blocked by", "duplicates"), the outward side uses linkType.outward ("blocks", "is duplicated by"). If unsure which linkType names exist in this instance, call jira_get_link_types. Call sequentially (2-3 at a time) to avoid permission prompt storms in Claude Code.

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": {
      "inwardIssue": "<inwardIssue>",
      "outwardIssue": "<outwardIssue>"
    },
    "name": "jira_link_issues"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkTypeNoLink type name. Common: Relates, Blocks, Duplicate, Cloners. Call jira_get_link_types for instance-specific list.Relates
inwardIssueYesIssue key on the inward side (the one that "is blocked by" / "duplicates" the other)
outwardIssueYesIssue key on the outward side (the one that "blocks" / "is duplicated by" the inward one)

Output Schema

NameRequiredDescriptionDefault
urlNo
messageNo
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare non-read-only, open-world, idempotent and non-destructive, so the safety profile is covered. The description adds real operational context not in annotations: repeated calls trigger permission prompts in Claude Code, so links should be issued in small batches. It stops short of saying what happens if the same link is created twice, which matters given idempotentHint=true.

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?

Three sentences, front-loaded with the action and then the directional rule, with no filler. The pacing sentence is slightly compressed ("sequentially (2-3 at a time)") and costs a little clarity for its brevity.

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

Completeness4/5

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

Because an output schema exists, return values need not be explained; the description instead spends its budget on the direction model, link-type discovery and prompt-storm avoidance, which are the real failure modes for this call. The only gap is duplicate-link behavior for an idempotent-flagged mutation.

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 100% and the schema's own descriptions already spell out the "is blocked by"/"blocks" semantics for inwardIssue and outwardIssue, so the description largely restates them. It does add that linkType defaults exist and points to jira_get_link_types for instance-specific names, but that is marginal value over a fully documented schema.

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 ("Create a link between two issues") and immediately explains the inward/outward directional model, which is the non-obvious part of the operation. It does not differentiate itself from jira_add_remote_link, so an agent given a URL-based linking need has no stated basis for choosing.

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 a concrete escalation path: call jira_get_link_types when the instance-specific linkType names are unknown, which names the exact sibling to use and the condition triggering it. It also prescribes invocation pacing (2-3 links at a time), though that is guidance about batching rather than when-to-use.

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