Skip to main content
Glama

update_task

Update an existing Vibeflow task's status, title, description, links, or verification verdict to keep your kanban board accurate.

Instructions

Update an existing task. Supports status changes, title/description updates, adding comments, and changing the task's links (parent/relates/blocks). Pass setVerify to record your verification verdict: "pass" attests the task IS implemented correctly (verified=true, green badge — required for annotated tasks at the review transition, which vibeflow verify never sets itself), "fail" records that it is NOT implemented correctly (verified=false, amber badge, the review gate rejects it), and "cannot" clears the verdict back to absent (no badge) for a task that cannot be assessed here — "cannot" REQUIRES verifyReason, which is recorded in the task's activity.

LINKS — everything merges, and clearLinks is the only destructive path. links and addLinks both MERGE: a link you do not name is PRESERVED, and re-sending a link that is already there is a no-op, so neither of them can destroy a link by being incomplete. removeLinks removes exactly the taskId+type pairs you name and leaves every other link alone. clearLinks: true is the ONLY way to remove links wholesale — to drop a single link, name that taskId+type in removeLinks rather than editing links. Omitting all four fields leaves links untouched. The CLI's --set-parent/--relates/--blocks/--unrelates/--unblocks behave the same way (each is surgical and preserves every link it does not name), so the CLI and MCP surfaces now agree on link semantics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTask id — a full id, or any unique prefix of one, of the task to update. An id that matches nothing is refused with TASK_NOT_FOUND and changes nothing.
linksNoADD the listed links without touching the rest (merge, same as the CLI's --relates/--blocks). A pair already present is a no-op. `links: []` is REFUSED — use clearLinks:true to clear. Combining `links` with `addLinks` merges their union once.
titleNo
branchNo
dryRunNo
statusNo
commentNo
addLinksNoADD links without touching the rest (merge). Same semantics as `links` — sending both merges their union once. Use clearLinks:true to drop the whole set.
setVerifyNoYour verification verdict: "pass" = the task IS implemented correctly (required for an annotated task at review), "fail" = it is NOT (the review gate blocks it), "cannot" = unverifiable here, which REQUIRES verifyReason. Omit to leave any stored verdict untouched.
clearLinksNoRemove EVERY link from the task. Applied BEFORE the merge: clearLinks -> (links + addLinks) -> removeLinks. `true` clears; `false` or absent is a no-op.
descriptionNo
removeLinksNoREMOVE the listed links without touching the rest. Applied after clearLinks and after the links/addLinks merge.
verifyReasonNoWhy the task cannot be verified. REQUIRED with setVerify:"cannot", and refused as E_USAGE on its own — a reason belongs to a "cannot" verdict.
commitMessageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.0

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotation hints: it discloses that links/addLinks both MERGE and cannot destroy by omission, that re-sending a pair is a no-op, the exact application order (clearLinks -> links+addLinks -> removeLinks), that clearLinks is the only wholesale-destructive path, and the refusal modes (links: [] refused, TASK_NOT_FOUND changes nothing, verifyReason alone refused as E_USAGE). None of that is derivable from readOnlyHint/destructiveHint/idempotentHint.

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

Conciseness4/5

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

Purpose is front-loaded, a dryRun-style LINKS block separates the dense link rules, and every sentence about merge/surgical/clear semantics earns its place. The final sentence describing CLI flag parity (--set-parent/--relates/etc.) is length the MCP caller cannot act on and is the one trimmable element.

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-param mutation with no output schema and only one required field, the risky link and verification paths are documented thoroughly enough to call correctly. The omissions are dryRun (does it validate or no-op?) and commitMessage, plus no statement of what the tool returns after a successful update.

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?

With only 50% schema description coverage across 14 params, the description carries real weight: it fully explains links, addLinks, removeLinks, clearLinks, setVerify, and verifyReason, including the ordering contract and empty-array refusal. It leaves branch, dryRun, and commitMessage entirely undefined in both schema and description, which is the remaining gap.

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?

"Update an existing task" states a specific verb and resource, and the follow-up enumerates the updatable surfaces (status, title/description, comments, links). It stops short of naming the siblings it overlaps with — add_comment and verify_task — so an agent must infer that the `comment` and `setVerify` params here are alternatives to those tools.

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?

Strong condition-based guidance for each mode: merge vs surgical remove vs wholesale clear, and the three setVerify verdicts with the requirement that "cannot" needs verifyReason and that "pass" is required for annotated tasks at the review transition. It does not route among sibling tools (e.g. when to call add_comment or verify_task instead), so it is clear context without explicit alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.