Skip to main content
Glama

tzTrack: Close an issue

tztrack_close
Destructive

Close an issue with an outcome and resolution; a refusal lists the outcomes its state allows. The answer gives the issue. Contributor (contribute) can close a task with any allowed outcome except duplicate. Other kinds and duplicate need Admin (owner). The duplicate outcome needs target; noted is for new issues or open praise. The as_designed outcome needs requirements; verified needs a live build and enough exposures. Some new issues need a kind or component update before done or superseded; the refusal explains it. Done needs a landing or proof in resolution. A bug or friction closed done without a landing can require fixed_in, which this tool cannot send. The API's settle supplies a build or null; land records a landed fix. The resolution says what changed or why none was needed. A failed note_to_reporters update leaves the close in place; not_set explains why. A filed issue stays on record; a test issue's resolution keeps its result.

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>",
      "outcome": "<outcome>",
      "resolution": "<resolution>"
    },
    "name": "tztrack_close"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
targetNoWith duplicate: the issue this one repeats.
outcomeYesThe outcome: verified, done, as_designed, declined, duplicate, superseded, or noted. unexplained is reserved for the timer.
resolutionYesWhat you did, or why no change is needed, naming what carries it: a commit, a page, an issue number, or the reason.
note_to_reportersNoThe text the issue's reporters read, in plain words, as update sets it.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, and the description adds real behavioral context on top: a permission model split between contributor and admin, partial-failure semantics ('a failed note_to_reporters update leaves the close in place; not_set explains why'), and record-retention behavior ('a filed issue stays on record'). Those are exactly the mutation consequences an agent cannot infer from the hints.

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

Conciseness3/5

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

The key action is front-loaded in sentence one, but the remainder is a dense run of terse fragments that mix permission rules, outcome prerequisites, and internal vocabulary such as 'settle', 'land', and 'fixed_in' without defining them. Nearly every sentence earns its place informationally, yet the ordering makes it hard to scan an outcome-by-outcome rule set.

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 six-parameter, destructive, non-idempotent mutation with no output schema, the description covers permissions, per-outcome requirements, refusal behavior, and failure modes, and it briefly notes the return ('The answer gives the issue'). It stops short of telling the agent what to do when fixed_in is required or how to discover the state-allowed outcome list before calling.

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 100%, so the baseline would be 3, but the description adds conditional meaning the schema cannot: target is tied to the duplicate outcome, noted is scoped to new issues or open praise, and resolution carries the landing or proof a done close requires. It does not explain space/default-space behavior or note_to_reporters formatting beyond what the schema says.

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?

The opening sentence names a specific verb and resource ('Close an issue') plus the two things the call carries (an outcome and a resolution), which separates it from tztrack_update, tztrack_reopen, and tztrack_comment without the agent needing to open a schema. The rest of the description elaborates on the outcome vocabulary rather than restating 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 Guidelines4/5

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

It gives unusually concrete eligibility conditions: Contributor can close a task with any outcome except duplicate, other kinds and duplicate need Admin, and a refusal lists the outcomes the state allows. It also states per-outcome prerequisites (as_designed needs requirements, verified needs a live build, done needs a landing or proof) and flags that some new issues need a kind or component update first. The gap is that it never names the alternative tool for the cases it rules out, e.g. where the agent should go when fixed_in is required.

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