Skip to main content
Glama

github_auto_link_pr_to_jira

DestructiveIdempotent

Automatically link a GitHub pull request to its related Jira issue, using the project-bound connector authority to keep the link accurate and governed.

Instructions

Github connector operation auto_link_pr_to_jira (platform tool github.auto_link_pr_to_jira).

Routes only through the exact project/account governed connector authority.

Args: arguments: JSON string of arguments for the connector operation. project_id: Authenticated Project UUID. project_ref: Exact project correlation reference. connector_account_ref: Project-bound connector account alias. idempotency_key: Stable business-action identity. effect: Claimed read or write effect; Spring verifies it. approval_ref: Approved platform task UUID when resuming a write.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
effectNo
argumentsNo{}
project_idNo
project_refNo
approval_refNo
idempotency_keyNo
connector_account_refNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.1.1
    • addedInput schema / properties / approval_ref
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Approval Ref"
      +}
    • addedInput schema / properties / connector_account_ref
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Connector Account Ref"
      +}
    • addedInput schema / properties / effect
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Effect"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Idempotency Key"
      +}
    • addedInput schema / properties / project_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Project Id"
      +}
    • addedInput schema / properties / project_ref
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Project Ref"
      +}
  2. First observedv0.1.0

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true. The description adds useful context beyond those: the governed routing requirement, idempotency_key as a stable business-action identity, and the approval_ref/effect mechanism for resuming writes. However, it never explains what the destructiveHint=true means for this specific operation (linking a PR to Jira is not obviously destructive), and it doesn't describe what side effects occur. No direct contradiction with annotations, but the destructive flag is left unexplained.

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 is compact and well-structured: a two-line identification/routing preamble followed by a clean 7-line argument list. The governance constraint is front-loaded, and each line carries information. One small deduction because the opening line merely restates the tool name rather than adding substantive content.

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?

Despite annotations and an output schema being present, the description omits the core operational facts an agent needs: what auto-linking a PR to Jira does, what the connector 'arguments' JSON must contain (PR identifier, Jira issue key, etc.), and what the destructiveHint=true implies. For a generic wrapper with a nested arguments payload at 0% schema coverage, this is a significant gap — the agent cannot construct a correct call from the provided information.

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 0%, so the description must compensate — and it does provide a role label for all 7 parameters (e.g., project_id as 'Authenticated Project UUID', idempotency_key as 'Stable business-action identity'), giving the agent a conceptual grouping of governance-wrapper params. But several entries are vague or circular: 'arguments: JSON string of arguments for the connector operation' does not say what keys the JSON must contain for this operation, and 'project_ref: Exact project correlation reference' never defines what a correlation reference is or how to obtain it.

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

Purpose2/5

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

The description opens by restating the tool's name ('Github connector operation auto_link_pr_to_jira'), which is effectively a tautology. It never states what the operation actually accomplishes — e.g., that it creates a link between a GitHub pull request and a Jira issue. The only substantive sentence ('Routes only through the exact project/account governed connector authority') describes a routing constraint, not the tool's purpose, so an agent must infer the function entirely from the name.

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 is given on when to select this tool over alternatives. The sibling list includes relevant GitHub and Jira tools (github_create_pull_request, github_merge_pull_request, jira_link_issues), but the description neither distinguishes itself nor states conditions for use. The routing sentence explains a constraint on execution, not when the agent should choose this tool.

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