Skip to main content
Glama

update_todo

DestructiveIdempotent

Update todo fields like title, description, status, priority, due date, and completion percentage without iCal formatting; adjust recurring series and cancel or restore individual occurrences.

Instructions

PREFERRED: Update todo fields without iCal formatting. Supports: SUMMARY (title), DESCRIPTION (details), STATUS (NEEDS-ACTION/IN-PROCESS/COMPLETED/CANCELLED), PRIORITY (0-9), DUE (due date), PERCENT-COMPLETE (0-100), and any RFC 5545 VTODO or custom X-* property. Recurring todos: fields change the whole series; changing DTSTART moves every occurrence, cancelled and changed ones included, and the reply lists what moved (a move the rule cannot follow is refused, saying what to give instead). To cancel or bring back single occurrences use cancel_occurrences/restore_occurrences; to change one occurrence otherwise, use todo_multi_get and update_todo_raw.

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": {
      "todo_url": "<todo_url>",
      "todo_etag": "<todo_etag>"
    },
    "name": "update_todo"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoFields to update, keyed by bare UPPERCASE property name (e.g., SUMMARY, STATUS, PRIORITY). Any RFC 5545 VTODO property or custom X-* property is supported, except EXDATE and RDATE: use cancel_occurrences/restore_occurrences. Property parameters such as "DUE;VALUE=DATE" are not accepted here, and values must not contain line breaks.
todo_urlYesThe URL of the todo to update
todo_etagYesThe etag of the todo (required for conflict detection)
cancel_occurrencesNoRecurring todo: cancel these occurrences, each given exactly as todo_query, list_todos or todo_multi_get list it ("Occurrence ID"). Occurrences are named by their ORIGINAL start (where the occurrence was before any change) in the series' own form: the wall-clock time in its zone without Z ("2026-12-24T09:00:00"), with Z for a UTC series ("2026-12-24T09:00:00Z"), or the date for an all-day series ("2026-12-24"). Adds to the exclusions already there; a changed version of the occurrence is removed too. Names refer to the series as it is before this call.
restore_occurrencesNoRecurring todo: bring back these cancelled occurrences, each given exactly as todo_query, list_todos or todo_multi_get list it under "Cancelled occurrences" (named as for cancel_occurrences). Removes only those exclusions. Applied before cancel_occurrences and fields.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv5.1.2
    • addedInput schema / properties / cancel_occurrences
      Added value: +{
      +  "description": "Recurring todo: cancel these occurrences, each given exactly as todo_query, list_todos or todo_multi_get list it (\"Occurrence ID\"). Occurrences are named by their ORIGINAL start (where the occurrence was before any change) in the series' own form: the wall-clock time in its zone without Z (\"2026-12-24T09:00:00\"), with Z for a UTC series (\"2026-12-24T09:00:00Z\"), or the date for an all-day series (\"2026-12-24\"). Adds to the exclusions already there; a changed version of the occurrence is removed too. Names refer to the series as it is before this call.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / fields / description
      Previous value: -"Fields to update, keyed by bare UPPERCASE property name (e.g., SUMMARY, STATUS, PRIORITY). Any RFC 5545 VTODO property or custom X-* property is supported. Property parameters such as \"DUE;VALUE=DATE\" are not accepted here, and values must not contain line breaks."New value: +"Fields to update, keyed by bare UPPERCASE property name (e.g., SUMMARY, STATUS, PRIORITY). Any RFC 5545 VTODO property or custom X-* property is supported, except EXDATE and RDATE: use cancel_occurrences/restore_occurrences. Property parameters such as \"DUE;VALUE=DATE\" are not accepted here, and values must not contain line breaks."
    • addedInput schema / properties / fields / properties / COMPLETED
      Added value: +{
      +  "description": "When the todo was completed, with a time: \"2026-10-26T18:00:00Z\" or with an offset",
      +  "type": "string"
      +}
    • addedInput schema / properties / fields / properties / DTSTART
      Added value: +{
      +  "description": "Start date: ISO 8601 with a zone (\"2026-10-26T18:00:00Z\", \"2026-10-26T14:00:00-04:00\"; that instant, written in the todo's own timezone if it has one), without one (kept in the todo's own timezone if it has one; a todo stored without a zone stays without one, and a value with a zone becomes its local time in the calendar's time zone; else read in the calendar's time zone), or a date (\"2026-10-26\") for an all-day value. Moving it keeps the stored DUE, so to move a todo give DTSTART and DUE together. For a recurring todo this is the start of the SERIES (its first occurrence), not of an occurrence a listing showed: every occurrence moves by the difference. To cancel one occurrence use cancel_occurrences; to move one, todo_multi_get and update_todo_raw.",
      +  "type": "string"
      +}
    • changedInput schema / properties / fields / properties / DUE / description
      Previous value: -"Due date (ISO 8601 or iCal format: 20250128T100000Z)"New value: +"Due date: ISO 8601 with a zone (\"2026-10-26T18:00:00Z\", \"2026-10-26T14:00:00-04:00\"; that instant, written in the todo's own timezone if it has one), without one (kept in the todo's own timezone if it has one; a todo stored without a zone stays without one, and a value with a zone becomes its local time in the calendar's time zone; else read in the calendar's time zone), or a date (\"2026-10-26\") for an all-day value. Must be later than DTSTART and of the same kind (both dates or both with a time). Replaces a DURATION. For a recurring todo this is the due date of its first occurrence."
    • addedInput schema / properties / restore_occurrences
      Added value: +{
      +  "description": "Recurring todo: bring back these cancelled occurrences, each given exactly as todo_query, list_todos or todo_multi_get list it under \"Cancelled occurrences\" (named as for cancel_occurrences). Removes only those exclusions. Applied before cancel_occurrences and fields.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. First observedv4.0.0

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, and the description adds genuinely non-obvious semantics: whole-series mutation, DTSTART moving every occurrence including cancelled and changed ones, the reply listing what moved, and refusal with a corrective message when the rule cannot follow the move. A 3 reflects that this is already strong for an annotated tool, with the remaining gap being that it doesn't say whether a partial update is atomic or how a conflict on todo_etag is surfaced.

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-loaded with the PREFERRED marker and the field list before moving into the recurrence caveats, which is the right ordering. The recurrence sentences are long and parenthetical-heavy, but each carries distinct operational information rather than filler.

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 tool with a nested fields object, five parameters and non-trivial recurrence semantics, the description covers what mutates, what recurses, what is refused, and where to go for the exceptions. No output schema exists, but the reply behavior (listing what moved) is described, so nothing essential 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 coverage is 100%, so field-level formats (DUE/DTSTART ISO forms, STATUS values, PRIORITY scale) are already documented. The description still adds value by calling out the forbidden EXDATE/RDATE keys, the ban on property parameters like "DUE;VALUE=DATE", the no-line-breaks rule, and by pointing at cancel_occurrences/restore_occurrences for exceptions rather than letting the agent guess.

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?

States a specific verb and resource ("Update todo fields") and immediately distinguishes itself from the raw variant via "without iCal formatting" and the PREFERRED marker, then enumerates the supported fields. An agent can tell it apart from update_todo_raw without opening either 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?

Explicit routing is provided for every alternative case: single-occurrence cancel/restore goes to cancel_occurrences/restore_occurrences, and any other single-occurrence change goes to todo_multi_get plus update_todo_raw. It also declares itself the preferred path, which is exactly the when-to-use signal an agent needs.

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