Skip to main content
Glama

update_task

Record task progress with structured state patches, human-readable results, and notes so intermediate work survives session ends or failed approaches. Requires an explicit task_id.

Instructions

Record progress on a task. Provide task_id explicitly. Call this after completing meaningful work, not just at the end — intermediate results are valuable if the session ends or an approach fails. Use result for a human-readable summary of what happened. Use state_patch for structured data (file paths, counts, flags, API responses) that this task or downstream sibling tasks will need programmatically. Use notes for freeform observations, corrections, or context — unlike result, notes can be updated at any point and cleared by passing null. Use goal to rename the task (pending tasks only).

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

Input Schema

NameRequiredDescriptionDefault
goalNoRename the task goal. Only allowed while the task is still pending — throws if the task is active, completed, or abandoned.
notesNoFreeform text scratchpad — use for mid-task observations, corrections, or context for downstream tasks. Unlike result, notes can be set and updated at any point. Pass null to clear.
resultNoHuman-readable summary of progress or outcome
task_idYesID of the task to update
run_scopeNoA goal run passes its run id here; anyone else leaves it out.
state_patchNoShallow-merge patch applied to state
verify_commandNoShell command Quarterdeck runs in the plan's working_dir when you complete the task, e.g. "npm test -- auth". It must exit 0 or completion is refused. Pass null to remove (pending tasks only).
verify_timeout_sNoTimeout for verify_command in seconds (default 300)
requires_approvalNoIf true, a human must approve the task in the web UI before it is completed.
acceptance_criteriaNoCheckable statements that must be true when the task is done, e.g. "GET /users returns 401 without a token". When completing, you must give evidence for each one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.32.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / state_patch / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add genuine behavioral context not in the schema: that state_patch exists for downstream sibling tasks and that intermediate writes are valuable if a session dies. But mutation-side behaviors like permission needs, failure modes on invalid state transitions, and the approval/verification flow are left entirely to the schema.

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 the core action, then a compact set of 'use X for Y' sentences. Dense but every sentence carries routing or timing information; no filler.

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?

This is a 10-parameter mutation tool with no annotations and no output schema, so the description should do more. It thoroughly covers the progress-recording fields but is silent on run_scope, the verify_command/verify_timeout_s completion gate, requires_approval, and acceptance_criteria, leaving an agent to rely on schema text alone for the riskiest parts of the call.

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 earns above that by explaining the intended division of labor between result, state_patch, and notes (human-readable vs programmatic vs freeform, and that notes are mutable/clearable while result is a summary). It adds no guidance for run_scope, verify_command, or acceptance_criteria.

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?

Opens with a specific verb+resource ('Record progress on a task') and then disambiguates its own payload fields. It does not explicitly contrast itself with update_goal or other siblings, but an agent can tell it is the task-level progress recorder rather than a goal-level tool.

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?

Gives real timing guidance: call after meaningful work, not only at the end, with the rationale that intermediate results survive session failure. It also routes each field (result vs state_patch vs notes vs goal). It stops short of naming an alternative tool or an explicit 'do not use when' case.

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