Skip to main content
Glama

Link Jira issues

jira_link_issues

Create a link between two Jira issues with a link type such as Relates, Blocks, or Duplicates to connect related work.

Instructions

Create a link between two issues (e.g. type 'Relates', 'Blocks', 'Duplicates'). Jira's issueLink endpoint requires BOTH inwardIssue and outwardIssue keys plus the link type name.

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

Input Schema

NameRequiredDescriptionDefault
linkTypeYesLink type name, e.g. 'Relates', 'Blocks', 'Duplicates'
inwardIssueKeyNoThe inward side of the link (e.g. the blocked issue for 'Blocks')
outwardIssueKeyNoThe outward side of the link (e.g. the blocking issue)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does add one genuinely useful behavioral fact — that Jira's issueLink endpoint requires both sides plus a link type name — but it omits what happens on duplicate links, what permissions are needed, whether the link is reversible, and what the call returns. It also asserts that BOTH inwardIssue and outwardIssue are required while the schema marks only linkType as required, leaving the agent unsure which constraint to trust.

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 sentences with the core action front-loaded and no filler. The second sentence is slightly redundant with the schema's parameter descriptions but earns its place as a statement of the endpoint's constraint.

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?

For a three-parameter mutation tool with no annotations and no output schema, the description covers the action and link types but leaves the agent without return-value, error, or permission context. It is minimally adequate rather than complete.

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 description coverage is 100%, so each parameter already documents itself, including the inward/outward semantics with the 'Blocks' example. The description repeats the link-type examples and the both-sides requirement without adding format, casing, or resolution details (e.g. whether keys or IDs are accepted) beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 opens with a specific verb+resource ('Create a link between two issues') and enumerates valid link types, so an agent knows exactly what operation this performs. It does not name or contrast itself with the sibling 'jira_add_remote_link', which is the nearest source of confusion (issue link vs. remote/web link), so it stops short of full sibling differentiation.

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 'jira_add_remote_link' or other issue-mutation siblings, and no prerequisites (permissions, whether issues must be in the same project, whether the link type must already exist in Jira). Usage is only implied by the operation itself.

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