Skip to main content
Glama

update_task

Replace a task's title, tags, priority, due date, time, and alarm using one line of text; unspecified fields are cleared while today's plan and completion state remain.

Instructions

Replace the title, the tags, the priority, the due day, the due time and the alarm of a task from one line of text. Parts that are not in the text are cleared. The plan for today and the done state stay. Inline syntax: words are the title. #tag adds a tag. ! means high priority, !! means urgent. @today, @tomorrow, a weekday like @fri (the next Friday after today), @2026-11-03 or @+3d set the due day. @15:30 sets the due time, today when no day is given. @none removes the date. @alarm sets an alarm at the user's default lead before the due time (3 minutes unless Settings changes it). @alarmN sets one N minutes before (N from 0 to 1440). An alarm needs a due time. The desktop app shows it. Returns the task.

Input Schema

NameRequiredDescriptionDefault
idYesThe task id.
textYesThe whole new task line, for example 'Call the dentist @mon ! #health'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided, so the description carries the behavioral burden and does well: it discloses that missing fields are cleared, today's plan and done state are preserved, alarms require a due time, and alarms appear in the desktop app. It leaves some operational gaps around permissions, invalid task IDs, invalid text, and error behavior.

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?

The description is front-loaded with the replacement behavior and clearing semantics, then lists the inline syntax rules in a compact sequence. Although it is long, every sentence appears to earn its place given the complexity of the text grammar.

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?

With no annotations and no output schema, the description must carry the behavior, and it largely does: mutation semantics, field clearing, preservation rules, alarm prerequisites, and return are covered. It still lacks error cases, permission requirements, and details about the returned task shape.

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

Parameters5/5

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

Schema coverage is 100%, but the description adds substantial meaning beyond the schema for the text parameter: words become the title, #tag adds tags, ! and !! set priority, date forms set due days, @15:30 sets due time, @none clears dates, and @alarm sets alarm lead times. The id parameter is left to the schema.

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: replace a task's title, tags, priority, due date/time and alarm from one line of text. It also clarifies scope by saying unspecified parts are cleared while today's plan and done state stay, which distinguishes it from add_task and complete_task/reopen_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?

Clearly implies this should be used when replacing multiple task fields from a one-line text, and warns that missing parts are cleared. It also implicitly excludes completion tools by stating the done state stays, but it does not explicitly name alternatives such as add_task or complete_task.

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