Skip to main content
Glama

Tasks Update Task

tasks_update_task
DestructiveIdempotent

Modify an existing Google Task by editing fields, marking it complete or reopening it, and moving it within or between task lists; only specified changes apply.

Instructions

Change an existing task: edit its fields, mark it done (status 'completed') or reopen it, move it within its list (parent, previous, move_to_top) or to another list (destination_tasklist_id). Only what you pass changes and at least one change is required; a move runs first, then the field changes on the list the task ends up in. Returns status 'ok' and task, shaped as in tasks_list_tasks: id, title, status, due_date, is_overdue, completed_at, updated_at, notes_snippet, notes_truncated, parent_id, deleted, hidden and url. Flagging the task deleted asks the user to confirm first.

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": "tasks_update_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
dueNoNew due date as YYYY-MM-DD (sent as midnight UTC) or RFC3339; Google Tasks keeps only the date.
notesNoNew details text, replacing the old notes.
titleNoNew text of the task.
hiddenNoSets the hidden flag (true for completed tasks cleared from the list); Google documents it as read-only, so it may be ignored.
parentNoMoves the task under this task of the same list as a subtask; a move without it puts the task at the top level. Not allowed with destination_tasklist_id.
statusNo'completed' marks the task done, recording completed (now in the account time zone when completed is omitted); 'needsAction' reopens it.
deletedNoTrue flags the task as deleted (it then lists only with show_deleted), after the user confirms, like tasks_delete_task; false clears the flag.
task_idYesTask ID, from tasks_list_tasks, tasks_tasks_digest or tasks_create_task results.
previousNoMoves the task right after this sibling task; a move without it puts the task first among its siblings. Not allowed with destination_tasklist_id.
completedNoCompletion time to record, RFC3339 (YYYY-MM-DD means midnight UTC), usually with status 'completed'; omitted there, it defaults to now in the account time zone.
move_to_topNoTrue moves the task to the first position at the top level of its list; not allowed with parent, previous or destination_tasklist_id.
tasklist_idNoTask list ID from tasks_list_tasklists; omit for the account's default list.
destination_tasklist_idNoTask list ID to move the task into, at its top level; to place it there, call again on that list with parent or previous.

Output Schema

NameRequiredDescriptionDefault
taskNo
statusNoMachine-readable operation status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already mark this as a destructive, idempotent mutation, and the description adds meaningful behavior beyond them: partial-update semantics, the minimum-one-change requirement, move-before-edit ordering, and confirmation before marking deleted. It also states the return status and task shape, so the agent knows what to expect operationally.

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?

The definition is front-loaded with the core action and remains dense but readable for a 13-parameter tool. It does enumerate return fields even though an output schema exists, which is somewhat redundant, but the rest of the description earns its space.

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 complex multi-mode update tool, it covers the essential behavior: partial updates, required minimum change, move ordering, cross-list behavior, deletion confirmation, and return status. With the output schema handling detailed return structure, no critical agent-facing context is missing.

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 description coverage is 100%, so the per-parameter details are already well documented. The description still adds cross-parameter meaning that the schema does not capture, especially that only supplied fields change and that a move runs first before field changes apply on the destination list.

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?

The description opens with a specific verb and resource: 'Change an existing task.' It then enumerates the distinct update modes—field edits, completion/reopen, in-list moves, and cross-list moves—so the agent can distinguish this from tasks_create_task and tasks_delete_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 gives clear usage conditions: only passed fields change, at least one change is required, moves execute before field changes, and flagging deleted requires user confirmation. It does not explicitly compare every alternative, such as when to prefer tasks_delete_task versus setting deleted, but the main operating context is well specified.

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

Deploy Server

Other Tools