Skip to main content
Glama

Link issues

link_issues

Link two issues: link_issues('PM-419', 'PM-417', 'is blocked by') records that PM-419 is blocked by PM-417. 'type' is the PHRASE, said as a person says it — 'blocks', 'is blocked by', 'duplicates', 'is duplicated by', 'clones', 'relates to' — so the direction is in the words and the arguments cannot disagree; a bare type name ('Blocks') points outward, as it does in Jira. A phrase this workspace does not have is REFUSED and the ones it does have are named, rather than quietly becoming 'relates to'. The link then shows on both issues (get_issue returns 'links'), and linking the same pair the same way again changes nothing. Requires permission to edit BOTH issues — a link is a change to the issue at each end. 'to' may also be an issue of ANOTHER company's PUBLIC project, as 'company/KEY-12' (e.g. 'math/D5-12') or its address there: it is read as somebody with no account reads it, linked only while public, shown in get_issue's 'publicLinks' with a 'state' that says 'unavailable' once its project closes, and the other company is not told. That needs permission to edit 'from' only.

Input Schema

NameRequiredDescriptionDefault
toYesThe issue at the other end, e.g. 'PM-417' — or another company's public issue, 'math/D5-12'.
fromYesThe issue the phrase is said about, e.g. 'PM-419'.
typeYesHow 'from' relates to 'to', in words: 'blocks', 'is blocked by', 'duplicates', 'clones', 'relates to'. Whatever this workspace's link types call themselves — a refusal lists them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / to / description
      Previous value: -"The issue at the other end, e.g. 'PM-417'."New value: +"The issue at the other end, e.g. 'PM-417' — or another company's public issue, 'math/D5-12'."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Far exceeds what the annotations convey: it discloses that unknown phrases are refused with the valid list named (never silently downgraded to 'relates to'), that the operation is idempotent, that it requires edit permission on BOTH endpoints, and how cross-company public links behave and decay to 'unavailable'. Annotations only say it is non-read-only/non-destructive; the description adds the real behavioral contract.

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 example and then layered operational detail, with no filler sentences. The final cross-company sentence is a long run-on that stacks several clauses, which slightly hurts scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by explaining exactly how the result surfaces (on both issues via get_issue's 'links', or under 'publicLinks' with a 'state'). Between permissions, idempotency, refusal behavior and visibility, an agent has everything needed to call it correctly.

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%, yet the description adds genuine meaning: 'type' is a spoken phrase whose direction is encoded in the words, the arguments cannot then disagree, and a bare 'Blocks' behaves like Jira's outward convention. It also explains that 'to' can be a 'company/KEY-12' reference, beyond the schema's brief note.

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?

States a specific verb and resource ('Link two issues') and reinforces it with a concrete worked example ('link_issues("PM-419", "PM-417", "is blocked by")'). That makes it immediately distinguishable from the sibling unlink_issues and from generic issue-mutation tools.

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

Usage Guidelines4/5

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

Gives strong 'how to get it right' guidance: use the phrase form, that direction lives in the words, and that a bare type name points outward. It does not explicitly name unlink_issues as the counterpart for removal, so alternative routing is implied rather than stated.

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