Skip to main content
Glama

Update a task

update_task

Edit one existing task in place to reschedule, reprioritize, reword, reopen, or cancel it without rewriting the note; match by task ID or unique text fragment.

Instructions

Edit one task in place: reschedule (due), reprioritize, reword, reopen, or cancel — without rewriting the note. Matches by id (from list_tasks) or a unique text fragment, including done and cancelled tasks. Use complete_task to finish a task.

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

Input Schema

NameRequiredDescriptionDefault
dueNoNew due date YYYY-MM-DD, or null to clear
taskYesTask id or unique text fragment
textNoNew description; dates and priority are kept. Include any #tags to keep
statusNo'open' reopens, 'done' completes (stamps today), 'cancelled' drops it
priorityNoNew priority, or null for normal

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It does add real behavioral context — the edit is in place, the note is not rewritten, and closed tasks remain matchable — but it says nothing about what happens on an ambiguous or non-matching text fragment, whether the change is reversible, 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.

Conciseness5/5

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

Two sentences, zero filler, with the core capability and the not-this-for-note-bodies constraint front-loaded before the sibling routing. Nothing repeats the schema verbatim.

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 a five-parameter mutation tool with no annotations and no output schema, the definition covers purpose, addressing, and the main sibling boundary adequately. It stops short of describing failure modes on ambiguous text matches or confirmation of the returned state, which is the only material gap.

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

Parameters3/5

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

Schema description coverage is 100%, so all five parameters are already documented, and the description's field mapping (due/reschedule, priority/reprioritize, text/reword, status/reopen or cancel) largely restates them. It adds only the marginal nuance that matching also works on done and cancelled tasks, which the schema does not state per-parameter.

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?

"Edit one task in place" is a specific verb+resource, and the enumeration (reschedule, reprioritize, reword, reopen, cancel) maps each capability to a distinct field. The phrase "without rewriting the note" and the pointer to complete_task separate it cleanly from note-editing siblings and from complete_task.

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?

It names an explicit alternative and the condition that selects it: "Use complete_task to finish a task." It also states addressing modes (id from list_tasks, or unique text fragment) and that done/cancelled tasks are reachable. The only soft spot is that the schema's status='done' overlaps with the recommended complete_task path, so the boundary between the two is slightly blurry.

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