Skip to main content
Glama

Create or update a task

save_task
Destructive

Upsert a task. Omit id to create a new one (name required). Pass id to update an existing task — any subset of fields. To change part of the note, pass patch instead of note. Use null on listId to unlink a task from its list. Returns the saved task.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoTask reference: TASKAID-45, #45 or 45. Pass to update an existing task; omit to create a new one.
nameNoRequired when creating. On update, omit to keep the current name. A few words naming the action; the day goes in `when`, the detail in `note`.
noteNoTask notes, as Markdown, up to 15,000 characters — rendered as rich text in the app. Headings, lists, bold, and inline code are supported. Send literal newlines and characters, not escape sequences.
whenNoThe day the task is scheduled for, as "YYYY-MM-DD" (e.g. "2026-05-21"). Omit or pass null when creating to leave the task in Inbox; pass null when updating to move it back there.
patchNoEdits to the note, applied in order and atomically — if one fails, nothing is written. Only on update, in place of `note`: text you do not send keeps its exact wording.
listIdNoPass null to unlink the task from its list.
starredNo
durationNoEstimated duration in minutes, up to a day. Null clears the estimate.
reminderNoA time of day for a reminder, "HH:MM" in 24-hour time (e.g. "15:00"), on the task's `when` day in the user's time zone. Moving the task moves it; null removes it. At that time Taskaid sends the `task.reminded` event to subscribed assistants.
completedNoMarks the task done. True stamps `completedAt` with the time of the call, never the time the work finished.

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
listYes
nameYes
noteYes
whenYesCalendar date, "YYYY-MM-DD", or null for Inbox.
sourceYes
starredYes
durationYes
reminderYesTime of day on the `when` day, "HH:MM", or null for none.
completedYes
createdAtYes
updatedAtYes
completedAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / createdAt
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "url",
      -  "name",
      -  "completed",
      -  "starred",
      -  "when",
      -  "reminder",
      -  "note",
      -  "duration",
      -  "completedAt",
      -  "updatedAt",
      -  "source",
      -  "list"
      -]New value: +[
      +  "id",
      +  "url",
      +  "name",
      +  "completed",
      +  "starred",
      +  "when",
      +  "reminder",
      +  "note",
      +  "duration",
      +  "completedAt",
      +  "createdAt",
      +  "updatedAt",
      +  "source",
      +  "list"
      +]
  2. Changed18 schema fields changed
    • removedInput schema / properties / listId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / listId / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / note / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / note / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / when / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / when / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / completedAt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / completedAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / duration / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / duration / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / note / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / note / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / reminder / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / reminder / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / source / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / source / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / when / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / when / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  3. Changed3 schema fields changed
    • addedInput schema / properties / reminder
      Added value: +{
      +  "anyOf": [
      +    {
      +      "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "A time of day for a reminder, \"HH:MM\" in 24-hour time (e.g. \"15:00\"), on the task's `when` day in the user's time zone. Moving the task moves it; null removes it. At that time Taskaid sends the `task.reminded` event to subscribed assistants."
      +}
    • addedOutput schema / properties / reminder
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Time of day on the `when` day, \"HH:MM\", or null for none."
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "url",
      -  "name",
      -  "completed",
      -  "starred",
      -  "when",
      -  "note",
      -  "duration",
      -  "completedAt",
      -  "updatedAt",
      -  "source",
      -  "list"
      -]New value: +[
      +  "id",
      +  "url",
      +  "name",
      +  "completed",
      +  "starred",
      +  "when",
      +  "reminder",
      +  "note",
      +  "duration",
      +  "completedAt",
      +  "updatedAt",
      +  "source",
      +  "list"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / name / description
      Previous value: -"Required when creating. On update, omit to keep the current name."New value: +"Required when creating. On update, omit to keep the current name. A few words naming the action; the day goes in `when`, the detail in `note`."
  5. Changed2 schema fields changed
    • addedInput schema / properties / completed / description
      Added value: +"Marks the task done. True stamps `completedAt` with the time of the call, never the time the work finished."
    • addedInput schema / properties / name / description
      Added value: +"Required when creating. On update, omit to keep the current name."
  6. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, readOnlyHint=false), the description discloses that patches are applied in order and atomically with nothing written if one fails, that unsent patch text preserves exact wording, that `completed: true` stamps the call time rather than the work-finish time, and that reminders emit a `task.reminded` event to subscribed assistants. These are non-obvious side effects and failure semantics not derivable from structured fields.

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?

Four short sentences, front-loaded with the create-vs-update decision, followed by the partial-edit rule, the unlink rule, and the return value. No filler or restatement of the title.

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 10-parameter upsert with an output schema (so return shape needs no explanation), the description covers the branching call modes, the destructive note-editing path, and the notable side effects. An agent can select mode and invoke correctly without reading further.

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 90%, so the baseline is 3, and the description adds cross-parameter semantics the schema cannot express: which fields are required per mode, `patch` as a substitute for `note`, and null `listId` as an unlink signal. It does not clarify the sparse parameters like `starred` or `duration` beyond the schema, keeping it below 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?

"Upsert a task" names a specific operation, and the two modes are spelled out precisely: omit `id` to create (name required), pass `id` to update with any subset of fields. This immediately distinguishes it from read-only siblings such as view_task or search_tasks.

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 explicit mode-selection rules (omit vs. pass `id`), tells the agent to use `patch` instead of `note` for partial note edits, and explains that null `listId` unlinks. It stops short of naming alternatives (e.g. using view_task to read or save_list to manage lists), so there are no explicit exclusions.

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