Skip to main content
Glama

update_task

Destructive

Patch a queued task or open epic without a lease holder to change its title, description, priority, dependencies, or rationale, while using an optional version lock to prevent conflicting updates.

Instructions

Patch a queued task or an open epic with no lease holder: title, description (the contract), priority, depends_on (replaces the list, <=100 ids; epics take no deps), comment (rationale). Immutable: status, assignee (the lease holder), project, epic_id, reporter, max_attempts. version is an optional optimistic lock; a stale one answers CONFLICT. Refused for in_progress/review/blocked or closed tasks — use add_comment; no editable field → INVALID: nothing to update; a value equal to the stored one is a no-op (changed:[]). Output {id,version,changed}.

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

Input Schema

NameRequiredDescriptionDefault
idYes
agentYes
titleNo
commentNorationale stored as a comment; <=10000 code points
versionNooptimistic lock; omit to skip the version check (a stale version still refuses)
priorityNo
depends_onNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only supply the safety profile (readOnly=false, destructive=true, idempotent=false); the description goes well beyond by listing immutable fields (status, assignee, project, epic_id, reporter, max_attempts), explaining the optimistic-lock semantics and the CONFLICT response, and stating the output shape {id,version,changed}. The destructive replacement of depends_on is made explicit, which is the key risk an agent must understand.

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

Conciseness5/5

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

Dense but front-loaded: the precondition leads, editable fields follow, then immutable fields and error semantics. Telegraphic phrasing ('no editable field → INVALID', 'changed:[]') packs information without wasted words.

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 mutation tool with no output schema, the description still discloses the return shape, the lock/conflict behavior, and the full immutability boundary. Nothing material is missing except the meaning of the required 'agent' parameter.

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 only 25% across 8 parameters, and the description compensates well for most of them: depends_on replaces the list and caps at 100 ids with no deps on epics, comment is the rationale, version is an optional optimistic lock whose staleness yields CONFLICT. The gaps are 'id' and 'agent' (the required lease-holder identity), which are never explained in the description.

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?

States a specific verb (Patch) and resource (queued task or open epic with no lease holder), then enumerates exactly which fields are editable. An agent can distinguish this from update_status, add_comment, or claim_task from the description alone.

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?

Explicit when-not rules are given: refused for in_progress/review/blocked or closed tasks, with the named alternative 'use add_comment'. It also defines the degenerate cases (no editable field → INVALID, unchanged value → no-op) so the agent knows what conditions make the call pointless or rejected.

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