Skip to main content
Glama

Update a task

update_task
Idempotent

Change an existing task or subtask in place: its text, deadline, estimated duration or reminder. Pass only the fields to change; everything else stays as it is, and at least one field is required. null clears due_at, duration_minutes or reminder_minutes, while label cannot be cleared and a blank label is rejected. reminder_minutes counts back from due_at, so set or clear the two together. Setting a field to the value it already has is harmless. It does not mark a task done (use complete_tasks) or move it on the timeline (use update_event; due_at is only a deadline). task_id must be in the list given by list_id; an unknown id returns an error and nothing changes. It works on any list the user can edit, and on a shared list the other people get a short notification that it changed, which never includes the task text. Returns the task as it is now. To create tasks use create_tasks, and to remove them use delete_tasks.

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

Input Schema

NameRequiredDescriptionDefault
labelNoNew text, 1 to 2000 characters; surrounding spaces are trimmed and a blank label is rejected. Omit to keep the current text
due_atNoNew deadline, ISO-8601 with an offset or Z, for example 2026-12-01T17:00:00Z; null clears it. Omit to keep it. Not the timeline time: use update_event to move a scheduled event
list_idYesId of the list that holds the task, from list_lists. The user must be able to edit it
task_idYesId of the task or subtask to change, from get_list. It must be in list_id
duration_minutesNoNew estimated time the task takes, a whole number of minutes greater than 0; null clears it. Omit to keep it
reminder_minutesNoRemind this many minutes before due_at, a whole number greater than 0; null clears it. Omit to keep it

Output Schema

NameRequiredDescriptionDefault
taskYesThe task as it is now

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare a non-read-only, idempotent, non-destructive write, and the description adds substantial context beyond them: partial-update semantics, per-field null-clearing with the exception that label cannot be cleared, the reminder/due_at pairing dependency, idempotence ("setting a field to the value it already has is harmless"), atomic failure on an unknown task_id, edit-permission scope, and a privacy guarantee about shared-list notifications. This is unusually complete behavioral disclosure for a mutation tool.

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-loads the core action and follows with constraints, then exceptions, then routing. Every sentence carries operational information, but it is a dense block rather than being broken into scannable structure, and the null-clearing rule restates what each schema property already says.

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 6-parameter mutation tool with an output schema, the description covers what an agent needs: id source and validity, permissions, atomicity, null semantics, field interdependencies, and a pointer to the return value. Return-format detail is rightly left to the output schema.

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 100%, so the baseline is 3, but the description adds meaning the schema states only per-property: the consolidated null-clears rule, the label exception, and the cross-parameter constraint that reminder_minutes counts back from due_at so the two must be set or cleared together. Some overlap with the schema's own null wording keeps it from a 5.

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 and resource ("Change an existing task or subtask in place") and enumerates the mutable fields (text, deadline, duration, reminder). It also explicitly distinguishes itself from complete_tasks, update_event, create_tasks and delete_tasks, so an agent can route without opening any sibling schema.

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 plus named alternatives with the condition that selects them: completion goes to complete_tasks, timeline movement to update_event (with the clarifying note that due_at is only a deadline), creation to create_tasks, removal to delete_tasks. It also states the precondition that at least one field must be supplied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources