Skip to main content
Glama

aiworkhub_needfix_preview_convert

Preview an explicit workforce-bound task conversion for a NeedFix, returning commit-decision facts and normalized plan digest; optionally include the signed plan verbatim.

Instructions

Preview an explicit workforce-bound task conversion.

The reply keeps plan_digest, plan_digest_accepted_alone and validation_roles_requirement -- the three facts the commit decision actually turns on -- and folds the signed plan body to its identity plus title/runner/topic/work_kind and the allowed_writes and required_outputs counts. include_plan=true returns the plan verbatim. Measured 2026-10-09 on NF-2026-01452: ~6 KB of plan echoed three times, because convert then refused plan_digest alone (NF-2026-01447). It no longer does, so the previewed plan never has to be resent.

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>"
    },
    "name": "aiworkhub_needfix_preview_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_planNoTask card fields that override the scope-derived default; a writable card needs required_outputs. Omitted runner/topic are filled from aiworkhub_manager_workforce_rank top-1 (reply filled_from), an acceptance string becomes a one-item list, and stray action/task_id keys are dropped with a warning; every change is listed under plan_normalizations and plan_digest binds the normalized plan. Other unknown fields are refused. An optional evidence string (up to 16000 characters) is carried onto the created card; it is not part of plan_digest and a digest-only convert reuses the evidence this preview held.
needfix_idYesNeedFix id, e.g. NF-2026-01447.
include_planNoReturn the signed plan body verbatim instead of a summary of its identity and counts; default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.16

TDQS

B3.4/5.0
Behavior4/5

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

Annotations only declare not-read-only, not-destructive, closed-world; the description goes further by describing exactly what the reply keeps (plan_digest, plan_digest_accepted_alone, validation_roles_requirement) and what is folded away, plus the fact that a digest-only convert reuses evidence the preview held. That last clause is the only hint that the preview persists state, which is relevant given readOnlyHint=false and 'preview' normally implying no side effects — the tension is never resolved outright.

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 one-line purpose is well front-loaded, but the second paragraph is a changelog narrative with a measured date, a byte count, and two ticket IDs explaining an old regression. "It no longer does" refers to behavior an agent has no reason to care about, and the space would be better spent naming the commit tool and the persistence/lifetime of the held evidence.

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?

Because there is no output schema, the description does useful work describing the trimmed reply shape and the digest contract. But for a non-read-only preview with a stateful digest handoff, it omits how long the held plan/evidence survives and does not name the tool that consumes plan_digest, leaving the two-step workflow to inference.

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 coverage is 100%, so task_plan/needfix_id/include_plan are already fully documented in the schema; the description mostly restates include_plan='verbatim plan body' and plan_digest binding the normalized plan. It does add one cross-call fact the schema cannot express — that plan_digest is now accepted alone — which is why this sits at the baseline rather than below it.

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?

"Preview an explicit workforce-bound task conversion" gives a clear verb (preview) plus resource (task conversion) and signals it is the non-committal sibling of aiworkhub_needfix_convert. It never names that sibling, though, so the preview/commit distinction relies on the reader already knowing a convert tool exists.

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 workflow is only implied: a preview produces a plan_digest that the later commit can accept alone ("the previewed plan never has to be resent"). There is no explicit instruction such as "call this before aiworkhub_needfix_convert" and no when-not-to-use guidance or statement of what happens after the preview.

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