Skip to main content
Glama
Things 3 MCP Server
by ebowman

update_todo

Update an existing to-do with partial changes to status, scheduling, tags, notes, deadline, project/area moves, or heading placement.

Instructions

Update an existing todo. Supports partial updates to any field including status, scheduling, tags, and content.

A successful response includes todo_id and a post-write readback. readback_succeeded reports only whether that read succeeded; it does not claim the requested fields were applied. When true, item is what the database showed immediately after the write; for URL-scheme-routed fields (heading moves, when='evening'/'tonight', when='YYYY-MM-DD@HH:MM') Things applies the write asynchronously, so it may still reflect pre-write state. A mismatch is not evidence the write failed: do not retry the write, poll get_todo_by_id with a short backoff. If the read fails after the write reports success, success remains true and readback_error plus a warning explain that callers must not retry the write automatically.

Status semantics for completed/canceled (identical across update_todo, bulk_update_todos, and update_project - see CLAUDE.md for the full 3x3 table): canceled='true' always wins regardless of completed (e.g. completed='false', canceled='true' results in canceled). Whenever canceled is not 'true', completed (if given) decides the result: 'true' -> completed, 'false' -> open. canceled='false' alone (with completed omitted) also reopens the todo - this is NOT a no-op. Omitting both leaves status unchanged. completed/canceled only accept the strings 'true'/'false' (case-insensitive) - any other value (e.g. 'yes', '1') is rejected with a structured VALIDATION_ERROR rather than being silently coerced to False.

Clear-field semantics for partial updates: a field left at its default (None/omitted) leaves the existing value unchanged. Passing notes='' or deadline='' clears that field. Passing tags='' clears all tags. title='' is rejected with a validation error (titles cannot be cleared). when='' is also rejected - use when='anytime' or when='someday' to unschedule instead.

list_id/list_title move the to-do into a project or area. Without heading, this happens via AppleScript in the same write as the other AppleScript-only fields (title/notes/tags/etc.) - it can move a to-do INTO a project or area but CANNOT place it in the inbox/today/anytime/someday lists; use move_record() for those destinations. With heading also given, the move instead happens via the Things URL scheme together with the heading placement (see below). list_id takes precedence over list_title if both are given; an unresolvable list_id/list_title (unknown id, or a title matching zero or more than one project/area) is a structured error and no field in the same call is applied.

heading moves the to-do under that heading via the Things URL scheme (things:///update) - AppleScript cannot do this. It requires the Things auth token to be configured; without one this returns {"success": False, "error": "...", "hint": "..."} and no field (including title/notes/tags/etc. in the same call) is applied. heading='' is rejected (no way to clear a heading via update). The heading must already exist in the target project or Things silently ignores it (ends up in the project, not under the heading) - a warning is returned when the heading could not be confirmed to exist. If the to-do has no project and neither list_id nor list_title is also given, a warning is returned (URL-scheme 'heading' has no effect without a project).

when='evening' (alias 'tonight') schedules the to-do for This Evening. Like heading, this is only possible via the Things URL scheme (things:///update) and requires the Things auth token to be configured; without one this returns {"success": False, "error": "...", "hint": "..."} and no field in the same call is applied. If the token IS configured and when='evening' is combined with other fields (title/notes/tags/deadline/etc.) in the same call, those AppleScript-only fields are applied FIRST, then the URL-scheme evening schedule is applied second - if that second URL-scheme call itself fails, the already-applied fields are NOT rolled back (same ordering/caveat as heading). when='evening' combined with list_id/list_title but NO heading moves the to-do via the AppleScript write only (first field group above) - list_id/list_title is not also sent on the evening URL-scheme call, since that would re-apply the same move a second time.

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

Input Schema

NameRequiredDescriptionDefault
idYesID of the todo to update
tagsNoComma-separated new tags (replaces existing tags). Omit to leave unchanged; pass '' to clear all tags
whenNoSchedule date/time: 'today', 'tomorrow', 'evening' (alias 'tonight', schedules for This Evening; requires the Things URL-scheme auth token, see hint below), 'someday', 'anytime', or a date (e.g., '2024-12-25@14:30'). Omit to leave unchanged; '' is rejected - use 'anytime' or 'someday' to unschedule
notesNoNew notes. Omit to leave unchanged; pass '' to clear existing notes
titleNoNew title. Omit to leave unchanged; '' is rejected (titles cannot be cleared)
headingNoMove the to-do under this heading (within its current project, or list_id's/list_title's project if also given). Requires the Things URL-scheme auth token (see README/CLAUDE.md 'Things URL-scheme auth token') - fails fast with a structured error and hint if not configured. Cannot be cleared with ''; '' is rejected
list_idNoProject or area ID to move the to-do into. Combined with heading, moves + places under that heading in one call via the Things URL scheme. Without heading, moves the to-do directly into that project/area via AppleScript ('project id'/'area id') - cannot target inbox/today/anytime/someday (use move_record for those). Takes precedence over list_title if both are given
canceledNoMark as canceled (true/false)
deadlineNoNew deadline. Must be YYYY-MM-DD - relative keywords like 'today' are rejected. Omit to leave unchanged; pass '' to clear the existing deadline
completedNoMark as completed (true/false)
list_titleNoProject or area title to move the to-do into (resolved to an id the same way as add_todo's list_title). Only consulted when list_id is not given. Works the same whether or not heading is also given - resolved and used as the move target either way. Errors if the title matches zero or more than one project/area

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden and does so: it discloses the Things URL-scheme auth-token requirement and the fail-fast response shape, the two-phase ordering of AppleScript then URL-scheme writes, and the fact that already-applied fields are NOT rolled back if the second phase fails. It also documents asynchronous write visibility, the readback_succeeded vs. success distinction, and that no field is applied when a list target is unresolvable — exactly the non-obvious traits an agent needs before mutating data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Paragraphs are organized by concern (readback, status, clearing, list moves, heading, evening), which aids scanning, but the prose is heavily bloated with restated schema content and duplicated caveats — the auth-token/no-rollback caveat is spelled out twice almost verbatim, and the readback narrative spans far more sentences than needed. Many sentences would be better delegated to the already-rich schema.

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 an 11-parameter mutation tool with no annotations, the description misses nothing an agent needs: failure modes, atomicity caveats, auth prerequisites, status interaction rules, and non-retry guidance are all covered. An output schema exists, so the lengthy return-value explanation is somewhat redundant, but it does not leave any gap.

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; the description earns above that by adding semantics absent from the schema — the completed/canceled precedence table (canceled='true' always wins, canceled='false' alone reopens), list_id over list_title precedence, and the heading-must-already-exist warning behavior. It does restate several clear-field rules already present in the schema descriptions (tags='', notes='', deadline='', title='' rejection), which 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?

States a specific verb and resource ("Update an existing todo") plus the scope of that update ("partial updates to any field including status, scheduling, tags, and content"). It also distinguishes itself from siblings by name — bulk_update_todos, update_project, move_record, get_todo_by_id — so an agent can route correctly without opening another 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?

Explicitly routes away from itself where appropriate: use move_record() for inbox/today/anytime/someday destinations, and get_todo_by_id with backoff instead of retrying after a readback mismatch. It also states when-not conditions clearly (titles and headings cannot be cleared) and points to the 3x3 status table shared with bulk_update_todos and update_project.

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