Skip to main content
Glama

Update Tasks

update_tasks

Start, complete, drop, or update one or more tasks in a single call, including states, estimates, code files, and reasons, with all changes applied only if every operation succeeds.

Instructions

Start, complete or drop Tasks, one or several in one call: start one before you change code for it (only one Task of a Goal is in progress at a time); complete it when done, with the files it touched (code), and the new summary when what you built differs from it; drop one that is no longer needed, with the reason. Also sets states and estimates. The operations are applied in order, so a start can follow the complete of the Task that was in progress; if any one fails, none is applied. A 'state' operation takes the same helper_branch, helper_folder, helper_label (with 'with a helper') and evidence (with 'checked') as set_task_state. Each operation can name its own claimed Goal with goal, else the call's goal (or the only Goal held) is used. Answers briefly, with the time a completed Task took and where the work stands, not the whole status.

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": {
      "operations": "<operations>"
    },
    "name": "update_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNoThe claimed Goal's ID, such as 'ship-oauth-login'. Needed only when this Session holds several Goals.
projectNoAnother project's plan to use instead of this one's: its name or ID on the dashboard, or its folder's full path. Changes there are marked as made from this project. Leave out for this project.
operationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses ordering ('operations are applied in order'), all-or-nothing atomicity ('if any one fails, none is applied'), the one-in-progress-per-Goal invariant, Goal resolution fallback, and the shape of the response. It also delegates state-operation payloads to set_task_state by name, which prevents the agent from guessing at helper/evidence fields.

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 primary actions and the 'one or several in one call' framing before the per-action details. It is dense but nearly every clause carries operational guidance; the semicolon-chained sentences make it slightly harder to scan than it could be.

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 multi-operation batch mutation with no output schema, the definition covers ordering, atomicity, per-operation goal resolution, required companion fields, and even the return shape ('answers briefly, with the time a completed Task took'). That is everything needed to invoke it correctly.

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 67%, and the description adds meaning the schema alone does not: it explains that each operation may name its own 'goal' otherwise the call-level goal or the sole held Goal is used, and ties 'code'/'summary' to the complete action's intent. A few optional fields (commits, tests, estimate removal) are only covered by the schema, so it stops short of fully compensating.

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 set and resource ('Start, complete or drop Tasks, one or several in one call') and names a sibling ('state' operation behaves like set_task_state), so an agent can tell what this does and how it differs from the single-task state tool. The batch capability and the enumerate of actions (start/complete/state/drop/estimate) pin the scope precisely.

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?

Gives explicit when-to-use rules per action: start before changing code (with the one-in-progress constraint), complete when done with files and a new summary if the build differs, drop only when no longer needed with a reason. It also states the fallback resolution rule for which Goal an operation applies to, leaving little to inference.

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