Skip to main content
Glama

Link two issues

add_relation
Idempotent

Link two issues. type: blocks | blocked_by | related | duplicate. blocks/blocked_by form the dependency graph that drives blocking; dependency cycles are rejected. If this call is refused for billing (BILLING_INACTIVE or MONTHLY_CAP_REACHED), the response carries tellHuman, a ready-to-relay sentence: PASS IT TO YOUR HUMAN. You cannot fix it yourself — only an owner can — so do NOT absorb the refusal and continue with read-only work as if the session were healthy; every value-bearing write will keep failing until they act.

Input Schema

NameRequiredDescriptionDefault
typeYes
sourceIdYes
targetIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, and the description adds real behavioral context beyond them: dependency cycles are rejected, and billing refusals return a `tellHuman` payload with explicit instructions not to silently degrade. It does not state whether the link applies immediately or what other error modes exist, but the failure-mode disclosure is unusually useful.

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?

Purpose and type semantics are front-loaded, and the billing paragraph, while long and somewhat repetitive, covers a genuine failure mode. A sentence could be trimmed in the billing warning without losing meaning.

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 3-required-param mutation with no output schema and zero param coverage, the description covers link types, cycle rejection, and billing refusal, which is solid. It leaves the source/target directionality and any duplicate-link behavior unaddressed, which an agent needs before calling correctly.

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

Parameters2/5

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

Schema description coverage is 0% for all three required params. The description restates the enum values already present in the schema but never explains the direction of the relation — whether `sourceId` blocks `targetId` or vice versa — which is the single most error-prone semantic for this call, nor what kinds of IDs are accepted.

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?

States a specific verb and resource ("Link two issues") and enumerates the four link types, so the resource and action are unambiguous. It does not name a sibling to distinguish from, notably remove_relation, 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 Guidelines3/5

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

Inclusion of `blocks`/`blocked_by` as the dependency graph that drives blocking and the cycle-rejection rule gives implied guidance on when to pick those types. There is no explicit guidance on when to use this vs `remove_relation`, or what permissions/preconditions are needed to link two issues.

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.

Resources