Skip to main content
Glama

Set Task state

set_task_state

Set a Task’s state to show progress, blockers, helper work, checks, or release status on the developer dashboard.

Instructions

Set a Task's state. 'with a helper': handed to a helper agent that is working on it (several Tasks can be). 'waiting on you': you are waiting on the Developer, such as for them to test something by hand; the dashboard shows the Goal as waiting on them, so tell them what you need. 'waiting on someone': waiting on a person other than the Developer (a team member, a lawyer, a provider): give person and need; it is shown apart from what waits on the Developer. 'checked': you checked a helper's work (tests, review) but it is not merged or released yet; give evidence, one short line on what you checked ("715 passed, live send OK"), which the Developer sees on the step. With 'with a helper', give helper_branch, helper_folder (the worktree path) and helper_label: they are recorded with the Task and shown in get_status and on the dashboard, and get_status warns when a finished Task's helper branch still has unmerged work. 'released': merged and out (shipped, installed or published); counts as done. 'pending', 'in progress' and 'done' work too (in progress allows one Task of a Goal at a time). Set a state as soon as it changes, such as 'checked' right after you check a helper's work, so the Developer's dashboard keeps moving. If the project has a helper limit (get_status shows it), keep at most that many Tasks with a helper: one more is still set, with a warning. To drop a Task, use update_tasks (action drop).

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": "<task>",
      "state": "<state>"
    },
    "name": "set_task_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNoThe claimed Goal's ID, such as 'ship-oauth-login'. Needed only when this Session holds several Goals.
needNoWith state 'waiting on someone': what they need to do, in one line, such as 'Sign and send back the contract'.
roleNoWith person: what they are to the project, such as 'payments lawyer'; kept on the project's people (an empty role removes it).
taskYesThe Task ID, such as 't3'.
stateYes
personNoWith state 'waiting on someone': who it waits on, by name (or ID, such as 'p2'), such as 'Priya' or 'Stripe support'. Someone new is added to the project's people.
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.
evidenceNoWith state 'checked': one short line on what you checked, such as '715 passed, live send OK'. Give it: the Developer sees it on the dashboard step.
helper_labelNoWith state 'with a helper': a label for the helper, such as the model it runs on ('Sonnet').
helper_branchNoWith state 'with a helper': the git branch the helper works on, such as 'feat/export'. Recorded so a branch left behind can be found later.
helper_folderNoWith state 'with a helper': the helper's worktree folder (its path).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that helper_branch/folder/label are recorded and surface in get_status and the dashboard, that get_status warns about unmerged helper branches, that exceeding the helper limit still succeeds but warns, and that an empty role string removes it. What it does not cover is permissions or what the call returns.

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

Conciseness3/5

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

It is front-loaded with the core action, and most clauses carry real information, but the state rules, the helper bookkeeping, the limit warning and the drop routing are chained into one dense paragraph that is hard to scan. A per-state list would have delivered the same content more cheaply.

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 an 11-parameter mutation tool with no annotations and no output schema, the definition is nearly complete: it binds every state-conditional parameter to its state and explains side effects and warnings. The gaps are the 'project' parameter (using another project's plan) and 'goal', neither of which the description mentions.

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 91%, so the baseline is 3, but the description earns above that by explaining downstream effects rather than restating field docs — evidence appears on the Developer's dashboard step, role is kept on the project's people, and helper fields are what get_status later checks. The 'project' and 'goal' parameters are not addressed at all.

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?

The first sentence gives a clear verb+resource ('Set a Task's state') and the definition then enumerates all eight states with concrete meaning. It distinguishes itself from update_tasks for dropping but never positions itself against update_task or move_task, so sibling differentiation is partial.

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?

Each state is paired with the situation that selects it ('waiting on you' when blocked on the Developer, 'checked' after reviewing a helper's tests), and the guidance to set state as soon as it changes is explicit. It also routes the drop case to update_tasks (action drop), though it never states when to prefer this tool over update_task or move_task.

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