Skip to main content
Glama

skein_update

Patch an existing issue. Supports field updates (title / description / type / priority / assignee / due dates / design / acceptance / notes / external ref / source context / estimated minutes), status transitions, component-set replace, and label add/remove — all in one tool call. Required: id (full hierarchical) and expectedVersion for optimistic concurrency. On version mismatch returns {error:"version_conflict", currentVersion:<int>}. Locks are honoured: caller must hold the lock or pass force=true (force_unlock: project owner, space owner, instance admin). This tool does NOT touch the lock — to release the lock use skein_unclaim(id, nextStatus, reason) (atomic over lock+status) or skein_close (terminal close). The change is atomic: fields, status, components and labels are written together or not at all — any error means nothing was written and the version did not move. ANSWERS WITH AN ACKNOWLEDGEMENT by default — the id, the applied state and the new version, no issue card and no prose — so the expectedVersion cycle continues without a re-read; pass verbose for the full IssueDetail.

A transaction abort with an unchanged declared version returns serialization_retry: nothing was written, resend the call unchanged.

closeOutcome is required when transitioning to closed; repeating a close without it preserves the previous outcome.

Text patches (description, design, acceptanceCriteria, notes, externalRef, sourceContext): omitted leaves unchanged; null or an empty string clears. Other non-string values are refused before any write with validation_error, code text_field_not_string and field naming the argument.

⚠ Field bleed: tool-call wrapper literals (<invoke, <parameter name=, </parameter>) in the prose fields (description / acceptanceCriteria / notes / design) are rejected with validation_error (code: tool_call_syntax_leaked) — a hit means you closed a parameter block with the wrong tag. Closed set + the look-alikes that are NOT rejected: skein_get_instructions ("Text fields — forbidden literals").

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": {
      "id": "<id>",
      "expectedVersion": "<expectedVersion>"
    },
    "name": "skein_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesFull hierarchical issue id (e.g. "demo-42").
typeNoChange issue type.
dueAtNoRFC3339 timestamp; replaces due date.
forceNoBypass lock + version + pinned predicates. Needs the key right `manage` (else `insufficient_scope`) and force_unlock on the issue's project (project owner, space owner, instance admin); others get `force_unlock_forbidden`. Default: false.
notesNoReplace notes.
titleNoNew title (1..1000 chars).
designNoReplace design notes.
reasonNoFree-form reason annotation; only meaningful when `status` is set (lands in events.reason and, for closed, issues.closed_reason).
statusNoStatus transition. Routed through UpdateStatus. `standing` promotes the issue: STANDING task = perpetual obligation: acted on via spawned children (skein_create parentId=<this>), never claimed or worked in place, excluded from open-work counts / skein_ready / inbox. The sole demote leg is back to 'open'. Rejected standing legs — `cannot_promote_locked_to_standing`, `cannot_work_standing_directly`, `cannot_defer_standing`, `nested_standing_forbidden` — are structural invariants that force does NOT bypass. See skein_get_instructions ("Standing tasks"). `blocked` is no longer accepted — blocked-ness is derived from the dep graph (use skein_dep_add with type='blocks' or 'waits-for' on the issue you want labelled blocked).
verboseNoReturn the full IssueDetail, prose included. Default false = acknowledgement: `id`, `ok`, `version` plus the post-state stamps that apply (`status`, `assignee`, lock / claim / close stamps) — no issue card and no free text. The version is always there, so the expectedVersion cycle needs no extra read. Details: skein_get_instructions. If the write applied but its card could not be read back, the answer is the acknowledgement plus `cardUnavailable: true` — read the card with skein_show; do not repeat the write.
assigneeNoReplace assignee handle. Pass an empty string (or null) to clear. A user UUID that does not name a person who may work in the project is refused with assignee_not_allowed and nothing is written; a username or email is stored as text. A non-string value (number, array, object, boolean) is refused with validation_error, code assignee_not_string, and nothing is written.
priorityNoPriority 0..4.
labelsAddNoLabels to add (idempotent — already-present labels are no-ops).
deferUntilNoRFC3339 timestamp; replaces defer-until date.
closeTargetNoThe issue this one duplicates (duplicate) or that replaced it (superseded); creates that edge in the same transaction.
descriptionNoReplace description body.
externalRefNoReplace external-system reference.
closeOutcomeNoHow the issue ENDED. Only done counts toward progress; the other three are excluded from scope.
componentIdsNoReplace the issue's component set. UUID strings; must belong to the issue's project.
labelsRemoveNoLabels to remove (must currently be set on the issue).
sourceContextNoReplace source-context annotation.
reviewRequiredNoWhether this issue needs the AUTHOR's review once it is closed. Only the issue's author may set it — anyone else, admins included, gets `review_forbidden`. It does NOT travel the ordinary update path: send it ALONE. Combined with any other changing argument (a field, `status`, `reason`, `componentIds`, `labelsAdd` / `labelsRemove`) the whole call is refused with `validation_error` and nothing is written — the flag is never applied half-way. Flipping it moves neither `version` nor the issue's updated-at stamp, so the acknowledgement's version is the one you already held; `expectedVersion` is still required and still checked, as the assertion that you are flipping the state you read. Clearing the flag is NOT a review mark — it leaves any existing mark untouched. There is deliberately no agent tool for the mark itself. The acknowledgement of this branch is always the lean one — `verbose=true` does NOT widen it to the card, because the card would carry the mechanism's own keys. Read them with `skein_show`.
expectedVersionYesThe version the agent expects to see on the issue. Every update — components and labels alone included — only proceeds when the live version matches; otherwise returns version_conflict with the live version. force=true skips the check.
estimatedMinutesNoReplace estimated-minutes (>=0).
acceptanceCriteriaNoReplace acceptance criteria.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / expectedVersion / description
      Previous value: -"The version the agent expects to see on the issue. The update only proceeds when the live version matches; otherwise returns version_conflict with the live version."New value: +"The version the agent expects to see on the issue. Every update — components and labels alone included — only proceeds when the live version matches; otherwise returns version_conflict with the live version. force=true skips the check."
    • changedInput schema / properties / force / description
      Previous value: -"Bypass lock + version + pinned predicates. Needs force_unlock on the issue's project (project owner, space owner, instance admin); others get `force_unlock_forbidden`. Default: false."New value: +"Bypass lock + version + pinned predicates. Needs the key right `manage` (else `insufficient_scope`) and force_unlock on the issue's project (project owner, space owner, instance admin); others get `force_unlock_forbidden`. Default: false."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well past the annotations: atomicity guarantee ('written together or not at all'), the version_conflict error payload shape, serialization_retry semantics, lock-honouring and force_unlock authorization, the acknowledgement-vs-verbose response contract, and the cardUnavailable partial-success case. The only shortfall is that the force/lock permission model is largely duplicated from the `force` schema description rather than adding new detail.

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?

Front-loaded with purpose, then the required params and error contract, then edge cases — a sensible ordering for a complex tool. It is long, and the acknowledgement-versus-verbose behaviour is explained twice (body and the `verbose` param), which is the main redundancy; the ⚠ field-bleed block earns its space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 25-parameter transactional mutation tool with no output schema, the description covers the return shape (acknowledgement fields plus version), the failure modes and their payloads, atomicity, lock/force authorization, and the special reviewRequired branch. Nothing an agent needs in order to call this correctly and recover from errors is missing.

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 the baseline is 3; the description still adds real meaning on top — the text-field tri-state rule (omitted leaves unchanged, null or empty string clears, non-strings refused with text_field_not_string), closeOutcome being required on a close transition, and reviewRequired's must-be-alone constraint. It does not restate the enum values or numeric ranges, which the schema already carries, so it stops short of a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource ('Patch an existing issue') and enumerates the exact mutation classes it covers: field updates, status transitions, component-set replace, label add/remove, in one call. It also distinguishes itself from siblings by name (skein_unclaim, skein_close, skein_update_many implied by 'all in one tool call', skein_dep_add for blocked-ness), so an agent can route without opening another schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes away from this tool where another is correct: 'This tool does NOT touch the lock — to release the lock use skein_unclaim(id, nextStatus, reason) ... or skein_close'. It also names the replacement for the removed `blocked` status (skein_dep_add with type='blocks'/'waits-for') and states the alone-only condition for reviewRequired, which is a genuine when-not rule.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.