Skip to main content
Glama

tzTrack: Link two issues

tztrack_relate
DestructiveIdempotent

Link an issue to another issue or an outside event, such as an incident. With blocks, this issue holds up target. With part_of, it is part of target. With relates_to, the two are connected. With arising_from, it came from the outside event in target. With tracked_in, link delegated work to the outside item that holds its product scope and acceptance. Write the tracker first, such as github.com/owner/repo#123. Neither item's state changes the other's. With withdraw true, a standing link is removed. An existing link is returned unchanged. The answer gives the issue and link. A duplicate uses close, not relate.

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": {
      "issue": "<issue>",
      "type": "<type>",
      "target": "<target>"
    },
    "name": "tztrack_relate"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesblocks: the issue holds up target. part_of: it is part of target. relates_to: the two are connected. arising_from: it came from the outside event. tracked_in: the outside item holds the product scope and acceptance for this delegated work.
issueYesThe issue, by its number as #n or n, or by its id.
spaceNoThe space's id, from create_space, the project's .tztrack/config.json, or a saved 'tzTrack space: <name> (<id>)' line. Left out, the call uses your default space.
targetYesGive the other issue as #n or n, or by its id. For arising_from or tracked_in, give an outside reference of 1 to 200 printable characters, with its source first, such as github.com/owner/repo#123. Below owner access, an outside reference in issue-number form, such as #7, is refused.
withdrawNotrue removes the link, which must stand; left out or false adds it.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.3/5.0
Behavior4/5

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

Adds real context beyond annotations: 'Neither item's state changes the other's' bounds the side effects, 'With withdraw true, a standing link is removed' explains what the destructive hint covers, and 'An existing link is returned unchanged' explains the idempotent behavior. It also discloses the return ('the issue and link'), so only the permission model for withdraw is left unstated.

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?

Dense and front-loaded, with the purpose statement first and constraints after; every sentence carries information. It loses a little efficiency by re-enumerating all five link types that the enum descriptions already spell out.

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?

With no output schema, the description usefully says the answer returns the issue and link, and it explains each relation's direction and the idempotent/no-cascade behavior. The only gap left for a destructive mutation tool is who may withdraw an existing link.

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 description coverage is 100%, so the baseline is 3, but the description adds meaning the schema lacks: the ordering rule for the target reference ('Write the tracker first, such as github.com/owner/repo#123') and concrete withdraw semantics. The type mapping it restates is largely duplicated from the enum descriptions.

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 an issue to another issue or an outside event') and enumerates the five link semantics, so an agent can distinguish it from siblings like tztrack_close or tztrack_update without opening the schema.

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 an explicit when-not with a named alternative: 'A duplicate uses close, not relate,' which routes the agent away from this tool for duplicates. It also advises 'Write the tracker first,' though it does not cover other adjacent cases such as when to comment instead of linking.

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