Skip to main content
Glama

aiworkhub_needfix_link_existing_task

Atomically links a NeedFix to an existing finished, accepted task, blocking conflicting links and allowing safe duplicate no-ops.

Instructions

Manager-only: atomically link a NeedFix to an existing, finished, accepted task.

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": {
      "needfix_id": "<needfix_id>",
      "existing_task_id": "<existing_task_id>"
    },
    "name": "aiworkhub_needfix_link_existing_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
needfix_idYesNeedFix id, e.g. NF-2026-01447.
existing_task_idYesId of an existing task in this repository; the NeedFix must be accepted or task_planned. Re-linking the same task is a no-op; a different task conflicts.
integrated_commitNoOptional commit sha (7-40 hex characters) that must be reachable from HEAD; required to link an archived superseded task, and a verified commit resolves the NeedFix. Default empty.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.16

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare a non-read-only, non-destructive, closed-world mutation, and the description adds the 'atomically' guarantee and the manager-only authorization requirement, which are genuine value beyond the structured data. It does not disclose what state change results from a successful link or how failure surfaces, leaving the behavioral picture partial.

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?

A single front-loaded sentence with the authorization qualifier, the atomicity guarantee, and the target constraint packed in with no filler. Every clause earns its place.

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?

The tool is a simple three-parameter mutation with no output schema, and the description covers authorization and atomicity but not the resulting NeedFix state or what happens on conflict. Those gaps are partly covered by the schema's conflict and no-op notes, keeping this adequate but not complete.

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 description coverage is 100%, so all three parameters already carry documentation of ids and the commit sha constraint, and the description adds no further parameter meaning. With the schema doing the heavy lifting, the baseline of 3 is appropriate.

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 pairs the verb 'link' with two specific resources (a NeedFix and an existing task) and constrains the target to a 'finished, accepted' task, so the operation is unmistakable. It stops short of naming the sibling it complements, such as aiworkhub_needfix_reopen_superseded_task_link, but the purpose is still clear on its own.

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?

The phrase 'Manager-only' establishes a permission gate and 'existing, finished, accepted task' implies a precondition, which is useful implied when-to-use guidance. However, the description never states when an agent should prefer this over related tools such as reopen_superseded_task_link or the task_* family, so the routing decision is left to inference.

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