Skip to main content
Glama

Create issue link

create_issue_link
Idempotent

Links two issues of the organization: issueKey [relation] otherIssueKey, e.g. 'BRD-7 BlockedBy BRD-3' means BRD-7 waits for BRD-3. Requires canEdit on issueKey (see get_issue/list_issues) and read access to otherIssueKey - if you can edit only the other issue, swap the keys and use the opposite relation (Blocks <-> BlockedBy, Duplicates <-> DuplicatedBy; RelatesTo is the same both ways): the link is the same. Two issues can have only one link - delete_issue_link first to change its type. Blocks links can't form a cycle.

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": {
      "issueKey": "<issueKey>",
      "relation": "<relation>",
      "otherIssueKey": "<otherIssueKey>"
    },
    "name": "create_issue_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
issueKeyYesThe issue to link from, e.g. 'BRD-7'.
relationYesWhat the link means from issueKey's side, one of (case-insensitive): Blocks (issueKey must be done before otherIssueKey), BlockedBy (otherIssueKey must be done before issueKey), RelatesTo (related, no order), Duplicates (issueKey is a duplicate of otherIssueKey, the original), DuplicatedBy (otherIssueKey is a duplicate of issueKey, the original).
otherIssueKeyYesThe issue on the other end, e.g. 'BRD-3'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing permission requirements, the one-link-per-pair uniqueness constraint, and the no-cycles rule for Blocks. The remaining gap is what happens when the identical link already exists (silent no-op versus error), which matters because idempotentHint=true is asserted but not explained; the description never states the return or error shape.

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?

Front-loaded with the call syntax before the constraints, and every clause carries real information (permissions, swap fallback, uniqueness, cycles). It is dense and semicolon-chained into one block, which slightly hurts scanability, but nothing is wasted.

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?

For a 3-parameter mutation with no output schema, it covers inputs, prerequisites, and constraints thoroughly enough to call correctly. The only omission is outcome behavior on duplicate/cycle rejection, which an agent would want before retrying or branching.

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

Parameters4/5

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

Schema coverage is already 100% and the relation enum is fully enumerated in the schema, so this dimension starts at baseline 3. The description still adds genuine meaning: a worked example ("BRD-7 BlockedBy BRD-3 means BRD-7 waits for BRD-3") that pins down directionality, and the key-swapping rule showing which relation pairs are inverses.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource ("Links two issues") plus the exact input shape "issueKey [relation] otherIssueKey", so an agent knows both what it does and how to form the call. It is clearly distinguished from delete_issue_link, which it names as the tool for changing an existing link's type.

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

Usage Guidelines5/5

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

States the precondition (canEdit on issueKey, read access to otherIssueKey) and then gives an explicit workaround when only the other issue is editable, including the exact relation inversion table (Blocks <-> BlockedBy, Duplicates <-> DuplicatedBy, RelatesTo symmetric). It also tells the agent to call delete_issue_link first when changing a link type, which is a real when-not condition.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.