Skip to main content
Glama

update_task

Patch a retained task atomically to add, set, remove, or unset fields, reject stale writes, and return the complete updated record.

Instructions

Patch a retained task atomically. Duplicate additions are silent no-ops. Returns the complete record.

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

Input Schema

NameRequiredDescriptionDefault
idYes
patchYes
storeNoDestination store, when ambiguous.
configNoProgram configuration path for slow_query_ms; otherwise OUTASK_CONFIG or the Outask default config.
schema_pathNoProject-relative task schema; overrides selection of tasks/task-schema.json.
project_pathNoProject directory; defaults to server working directory.
if_updated_atNoExact last-read updated_at; rejects stale writes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and it does disclose three useful traits: the write is atomic, duplicate additions are silent no-ops (idempotent), and the full record is returned. It omits error behavior for unknown ids or unsetting absent fields, and ignores the stale-write rejection that if_updated_at enables.

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?

Three short sentences, zero filler, with the core action stated first and supporting behavior after. Every sentence adds information.

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?

For a 7-parameter mutation tool with a deeply nested patch object and no output schema, the description covers atomicity, add-idempotency, and the return shape. It leaves the central patch-verb semantics (set vs add vs unset vs remove) and failure modes undocumented, which is a material gap for a caller composing a patch.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

At 71% schema coverage the top-level params (store, config, schema_path, project_path, if_updated_at) are documented in the schema, but the nested patch object's add/set/unset/remove properties have no descriptions at all. The description clarifies only `add` (duplicate additions are no-ops) and says nothing about how set differs from add, or what unset/remove do.

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?

"Patch a retained task atomically" gives a specific verb (patch) and resource (task), and the word "retained" implies persistence rather than creation. It reads clearly against create_task/delete_task/get_task by implication, but it never names or contrasts any sibling, and "retained" is unexplained jargon an agent may not decode.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance: nothing says when to patch with update_task versus transition_task, or when get_task first is required. The only operational hint is the atomicity/no-op note, which describes behavior rather than tool selection.

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