Skip to main content
Glama

jira_create_issue_link

Create a link between two Jira issues with a specified type and optional comment. Provide the inward and outward issue keys to establish the relationship.

Instructions

Create a link between two Jira issues.

Args: ctx: The FastMCP context. link_type: The type of link (e.g., 'Blocks'). inward_issue_key: The key of the source issue. outward_issue_key: The key of the target issue. comment: Optional comment text. comment_visibility: Optional dictionary for comment visibility.

Returns: JSON string indicating success or failure.

Raises: ValueError: If required fields are missing, invalid input, in read-only mode, or Jira client unavailable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentNo(Optional) Comment to add to the link
link_typeYesThe type of link to create (e.g., 'Duplicate', 'Blocks', 'Relates to')
inward_issue_keyYesThe key of the inward issue (e.g., 'PROJ-123')
outward_issue_keyYesThe key of the outward issue (e.g., 'PROJ-456')
comment_visibilityNo(Optional) Visibility settings for the comment (e.g., {'type': 'group', 'value': 'jira-users'})

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, but the description compensates by detailing the return format ('JSON string indicating success or failure') and failure conditions ('ValueError: If required fields are missing, invalid input, in read-only mode, or Jira client unavailable'). It also describes optional comment and visibility parameters.

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?

The description uses a structured docstring style with clear sections and remains succinct. The first sentence states the purpose, while the Args/Returns/Raises sections are compact and informative.

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 tool with 5 parameters and an output schema, the description covers the purpose, parameters, return value, and error conditions. It could include guidance on valid link_type values or behavior on duplicate links, but it is functionally 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%, and the schema already documents each parameter with examples. The description adds a slight clarification by labeling inward as 'source' and outward as 'target', but otherwise repeats schema information.

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?

The description clearly states 'Create a link between two Jira issues' and the args specify issue keys, distinguishing it from remote issue links and epic links among siblings. The specific verb and resource make it unambiguous.

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

Usage Guidelines3/5

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

The description implies usage through its action sentence but does not explicitly state when to use it compared to jira_create_remote_issue_link or jira_link_to_epic. No exclusions or alternative recommendations are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SharkyND/mcp-atlassian'

If you have feedback or need assistance with the MCP directory API, please join our Discord server