Skip to main content
Glama

aiworkhub_manager_needfix_draft

Read-only

Drafts NeedFix candidates from a request's own review evidence, pulling title, scope, and evidence from failing checks or findings; writes nothing until you file via needfix_add.

Instructions

READ-ONLY: draft the NeedFixes one request's own review evidence justifies.

A NeedFix could not be drafted from the evidence that justifies it, so it was retyped. Measured 2026-09-08: of 204 manual filings, 76 had an accept/ reject/status/collect result within the previous 15 calls, 43 carried a 32-hex request id, and 355 of 540 typed identifiers (66%) appeared verbatim in the previous 15 tool results; 453 of 557 stored rows carry a hand-typed evidence dict at p50 549 B. Meanwhile 589 accepted-shape reviewer findings and 1,623 failed-gate payloads became a NeedFix only if someone retyped them, and reviewer cards are archived (1,796 so far), taking every unconverted finding with them.

Everything returned is mechanical: title from the failing check id or the finding summary, kind and severity from the finding category through a fixed map, scope_files from the card's changed paths, evidence from terminal_review.evidence (error, returncode, declared command) plus the finding's own path/line/check_id, evidence_refs from the attempt -artifact manifest reference and this request id, and provenance {origin: server_draft, request_id, verified: false}.

The DESCRIPTION is deliberately empty -- it is your judgement about what to do, not a fact on the card, and this never invents one. Writes nothing: file a candidate with aiworkhub_needfix_add once you have written that description. finding_id / check_id narrow the draft to exactly one finding or one failing check.

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": {
      "request_id": "<request_id>"
    },
    "name": "aiworkhub_manager_needfix_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
check_idNoOptional id of one failing check; narrows the draft to exactly that check. Leave empty to draft every failing check.
finding_idNoOptional id of one reviewer finding; narrows the draft to exactly that finding. Leave empty to draft every finding.
request_idYesId of the launched request whose own review evidence to draft from; an unknown request returns request_not_found.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.12.67
    • addedInput schema / properties / check_id / description
      Added value: +"Optional id of one failing check; narrows the draft to exactly that check. Leave empty to draft every failing check."
    • addedInput schema / properties / finding_id / description
      Added value: +"Optional id of one reviewer finding; narrows the draft to exactly that finding. Leave empty to draft every finding."
    • addedInput schema / properties / request_id / description
      Added value: +"Id of the launched request whose own review evidence to draft from; an unknown request returns request_not_found."
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description reinforces rather than contradicts them ("Writes nothing"). Beyond that it discloses genuinely non-obvious behavior: every returned field is mechanically derived from named sources, provenance is stamped ``verified: false``, and the description field is deliberately left empty for the caller to author. The long empirical backstory (204 filings, 1,796 archived cards) adds motivation but no invocation-relevant behavior.

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

Conciseness2/5

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

The operative instructions are front-loaded and at the end, but the middle is a dense wall of measurement statistics (76 of 204, 453 of 557 rows, p50 549 B) that an agent cannot act on when invoking the tool. Roughly two-thirds of the text is justification for the tool's existence rather than guidance for calling it, which pushes the key constraint about writing the description far from the opening.

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 read-only three-parameter drafting tool with an output schema, the description covers what matters: it is safe to call, it derives rather than invents, the caller must supply the description, and the add tool is the follow-up. Since an output schema exists, the enumerated return fields are redundant but harmless. Nothing needed to call it correctly is missing.

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 the schema already documents all three parameters, including the ``request_not_found`` behavior for unknown ids. The description's notes on ``finding_id`` / ``check_id`` narrowing largely restate the schema defaults. Baseline 3 is appropriate; the description adds only the framing that evidence comes from the request's *own* review evidence.

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 opening line states a specific verb and resource ("draft the NeedFixes") scoped to "one request's own review evidence," and the closing paragraph distinguishes it from the write path by naming ``aiworkhub_needfix_add``. An agent can tell what it produces and what it does not. The purpose is nonetheless buried under several sentences of filing statistics before the operative scope becomes clear.

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 an explicit next step ("file a candidate with ``aiworkhub_needfix_add`` once you have written that description") and states that ``finding_id`` / ``check_id`` narrow the draft to exactly one finding or check. That is real when-to-use guidance tied to a sibling. It stops short of naming when *not* to draft, e.g. whether a request with no failing checks is worth calling.

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