Skip to main content
Glama

aiworkhub_needfix_add

Add a NeedFix entry to record bugs, features, improvements, or other findings, with dedupe-aware receipts that prevent duplicate records.

Instructions

Manager-authority add of a NeedFix (dedupe-aware).

kind must be one of: bug, feature, improvement, idea, technical_debt, optimization, benchmark_gap, documentation_drift, security_risk, investigation, roadmap_candidate, refactor, security, docs, other. Common synonyms are normalised server-side and reported as kind_normalized: gap->improvement, defect->bug, performance->optimization, design->refactor, dead_code->technical_debt, test_coverage->improvement. severity must be one of: critical, high, medium, low, info. status defaults to captured; its authoritative choices are published in the field hint. Store lifecycle and manager authority still govern it.

Replies with a receipt (aiworkhub.needfix_add_receipt.v1): id, dedupe_key, status, kind, severity, created_at, provenance.origin, deduped with existing_id when the dedupe key matched a live row (the existing row is returned, nothing new is written), kind_normalized. The row itself is one aiworkhub_needfix_show away.

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": {
      "title": "<title>",
      "description": "<description>"
    },
    "name": "aiworkhub_needfix_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoAccepted kind values: benchmark_gap, bug, docs, documentation_drift, feature, idea, improvement, investigation, optimization, other, refactor, roadmap_candidate, security, security_risk, technical_debt. Case, surrounding space and known synonyms are normalized server-side.other
tagsNoOptional list of free-text tags.
scopeNoOptional free-text scope label. With title and description it forms the dedupe key, so the same text under another scope is a separate row.
titleYesShort title of the NeedFix; required, non-empty.
statusNoAccepted status values: accepted, archived, captured, deferred, duplicate, rejected, resolved, task_created, task_planned, triaged. Defaults to captured; store lifecycle and authority gates still apply.captured
evidenceNoOptional evidence object, at most 500000 bytes serialized; omit when there is none.
severityNoAccepted severity values: critical, high, info, low, medium.medium
caused_byNoOptional object naming the accepted outcome that introduced the defect: schema_id aiworkhub.accepted_outcome_identity.v1, repository_id, task_id, request_id and accepted_outcome_receipt. Verified against the canonical task store and write-once; omit if unknown.
provenanceNoOptional object describing where the finding came from; the server sets origin to manager_add when it is absent and marks the row verified.
descriptionYesFull description of the finding; required, non-empty, at most 200000 bytes.
scope_filesNoOptional list of repository file paths this NeedFix concerns.
evidence_refsNoOptional list of evidence reference strings.
scope_symbolsNoOptional list of code symbols this NeedFix concerns.
readiness_scoreNoReadiness score, an integer from 0 to 100; default 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.16

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive write, and the description adds material behavior beyond them: dedupe-key matching returns the existing live row and writes nothing, and lifecycle/manager authority still govern status despite the 'captured' default. It also enumerates the receipt fields returned, which compensates for the absent output schema.

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 lead sentence is well front-loaded, but the kind and severity value lists duplicate enum values already fully documented in the input schema, consuming several lines without adding information. The receipt paragraph is dense but earns its space.

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 14-parameter write tool with no output schema, the description covers the two things an agent most needs: dedupe semantics and the shape of the returned receipt. The optional parameters (caused_by, provenance, evidence, scope_files) are left entirely to the schema, which documents them adequately, so no critical gap remains.

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 baseline is 3, but the description adds genuine meaning not in the schema: the server-side synonym normalisation table (gap->improvement, defect->bug, performance->optimization, etc.) and the reported kind_normalized field. The severity and status enumerations, by contrast, merely restate what the schema already lists.

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 sentence gives a specific verb and resource ('add of a NeedFix') plus differentiating qualifiers ('Manager-authority', 'dedupe-aware'). It is clearly distinct from the sibling draft/list/update tools, though it never names the alternative it is not (e.g. aiworkhub_manager_needfix_draft).

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?

Usage context is implied by 'Manager-authority add' and by the closing pointer that 'The row itself is one aiworkhub_needfix_show away', which routes the agent to the read tool for the full row. However there is no explicit when-to-use/when-not guidance versus the sibling draft or roadmap_add tools, so the agent must infer the boundary.

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