Skip to main content
Glama

link_github_issue

DestructiveIdempotent

Links a GitHub issue or pull request to a Maidan thread so messages sync both ways between GitHub and the thread.

Instructions

Link a GitHub issue/PR to a Maidan thread so the projector bridges messages both ways. The workspace/channel and attribution member come from the authenticated caller and thread. Requires workspace:write + access to the thread.

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": {
      "thread_id": "<thread_id>",
      "repo": "<repo>",
      "issue_number": "<issue_number>"
    },
    "name": "link_github_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesowner/name
thread_idYes
issue_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses that the link is bidirectional via a projector and that workspace/channel and attribution member are derived from the authenticated caller and thread rather than supplied as parameters. It also names the required scope (workspace:write) and thread access, which the annotations do not cover. It does not explain what an existing conflicting link does or how to undo the bridge, leaving a small gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences: the first states the action and its effect, the second states the access requirements. Nothing is redundant and the purpose is front-loaded.

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, the description covers purpose, side effect, derived inputs, and authorization — enough to invoke it correctly. What is missing is behavior on an already-linked issue or partial failure, which the idempotentHint annotation only partly compensates for.

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 only 33% (only repo has 'owner/name'), and the description adds no format guidance for thread_id or issue_number beyond their names. It does earn some credit for clarifying why there is no workspace/member parameter — those are derived from the caller and thread — which explains an otherwise implicit input context.

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 gives a specific verb+resource ('Link a GitHub issue/PR to a Maidan thread') and explains the mechanism ('the projector bridges messages both ways'), which makes it clearly distinct from unlink_github_issue and list_github_issue_links. It stops short of explicitly naming a sibling to contrast with, so it lands at a strong 4 rather than a 5.

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?

It states prerequisites ('Requires workspace:write + access to the thread') but no when-to-use vs when-not guidance and no explicit alternative such as unlink_github_issue for removal or list_github_issue_links for inspection. The usage is implied by the name, which is the minimum viable level.

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