Skip to main content
Glama

Edit Task

task_edit
DestructiveIdempotent

Update fields on one task (task) or on several at once (tasks, max 50). Only the provided fields are changed; omitted fields are left untouched. when moves a task between views, and start_date (YYYY-MM-DD, after today) schedules it in Upcoming for that day. To remove a value, list the field in clear (e.g. clear: ["deadline"]). Notes replace the existing notes (no append). assignee assigns the task; clear it to unassign. add_labels and remove_labels change which labels are on it. Editing several tasks applies the same changes to every one of them and cannot be undone in one call, so confirm the list with the user first. For status changes use task_done, task_reopen or task_archive, and for checklist items use the available checklist tools; this tool does not change either.

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": {
      "context": "<context>"
    },
    "name": "task_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskNoWorkspace-scoped task number, encoded as a string
teamNoTeam id, key, or name
whenNoMove to a different GTD view. upcoming schedules tomorrow unless `start_date` names a later day
clearNoFields to remove a value from, e.g. ["deadline"]. Use this rather than sending an empty string.
notesNoNew description/notes (replaces existing)
tasksNoSeveral workspace-scoped task numbers (max 50), instead of `task`. Confirm the list with the user first: one call changes every task in it.
titleNoNew title
contextYesExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."
projectNoProject id, key, or name
assigneeNoAssign to a member (user id, name, or email) or a task agent (id or name)
deadlineNoSet due date (YYYY-MM-DD)
timezoneNoIANA timezone used to resolve "today" for views and scheduling (e.g. Australia/Melbourne). Defaults to UTC, which misclassifies Today/Upcoming for users in other timezones, so always pass the user's timezone when known.
workspaceNoWorkspace id, slug, or name. Required when the account has more than one workspace: a call without it then fails and names the choices
add_labelsNoLabels to attach (each a label id, title, or id prefix). The label has to exist already — create one with label_create
start_dateNoDay the task starts, in YYYY-MM-DD format. Must be after today in `timezone`. Places the task in Upcoming until that day, then in Today. Use with `when: "upcoming"` or no `when`; any other `when` is rejected.
remove_labelsNoLabels to detach (each a label id, title, or id prefix)

Output Schema

NameRequiredDescriptionDefault
okYes
countYes
tasksYesEvery task the call changed, in the order it was given
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / start_date
      Added value: +{
      +  "description": "Day the task starts, in YYYY-MM-DD format. Must be after today in `timezone`. Places the task in Upcoming until that day, then in Today. Use with `when: \"upcoming\"` or no `when`; any other `when` is rejected.",
      +  "type": "string"
      +}
    • changedInput schema / properties / when / description
      Previous value: -"Move to a different GTD view"New value: +"Move to a different GTD view. upcoming schedules tomorrow unless `start_date` names a later day"
  2. Changed1 schema field changed
    • changedInput schema / properties / assignee / description
      Previous value: -"Assign to a member (user id, name, or email)"New value: +"Assign to a member (user id, name, or email) or a task agent (id or name)"
  3. Changed1 schema field changed
    • changedInput schema / properties / workspace / description
      Previous value: -"Workspace id, slug, or name"New value: +"Workspace id, slug, or name. Required when the account has more than one workspace: a call without it then fails and names the choices"
  4. Changed9 schema fields changed
    • addedInput schema / properties / add_labels
      Added value: +{
      +  "description": "Labels to attach (each a label id, title, or id prefix). The label has to exist already — create one with label_create",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / remove_labels
      Added value: +{
      +  "description": "Labels to detach (each a label id, title, or id prefix)",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / tasks
      Added value: +{
      +  "description": "Several workspace-scoped task numbers (max 50), instead of `task`. Confirm the list with the user first: one call changes every task in it.",
      +  "items": {
      +    "description": "Workspace-scoped task number, encoded as a string",
      +    "pattern": "^[1-9]\\d*$",
      +    "type": "string"
      +  },
      +  "maxItems": 50,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "task",
      -  "context"
      -]New value: +[
      +  "context"
      +]
    • addedOutput schema / properties / count
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • removedOutput schema / properties / id
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / number
      Removed value: -{
      -  "exclusiveMinimum": 0,
      -  "maximum": 9007199254740991,
      -  "type": "integer"
      -}
    • addedOutput schema / properties / tasks
      Added value: +{
      +  "description": "Every task the call changed, in the order it was given",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "number": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "title": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "number",
      +      "title"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "action",
      -  "id",
      -  "number",
      -  "ok"
      -]New value: +[
      +  "action",
      +  "count",
      +  "ok",
      +  "tasks"
      +]
  5. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds the crucial operational detail: only provided fields change, omitted fields are untouched, notes replace rather than append, and a multi-task edit applies the same change to every task and cannot be undone in one call. That is exactly the risk context an agent needs before invoking a destructive bulk mutation.

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?

Front-loads the single-vs-bulk distinction, then walks through the field semantics in short, dense sentences with no filler. Every clause carries either a constraint or a routing rule.

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 16-parameter destructive mutation with an output schema and full annotation coverage, the description supplies the missing pieces: bulk-edit irreversibility, replace-vs-append notes, clear semantics, and the start_date/when interaction. Nothing an agent needs to call it safely is absent.

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 still adds meaning by explaining that `when` moves a task between views, that `start_date` must be after today and pairs only with `when: upcoming` or no `when`, that `clear` is preferred over empty strings, and that clearing `assignee` unassigns. These are behavioral couplings the schema alone does not spell out.

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 ('Update fields on one task or on several at once') and immediately scopes the two modes via the `task`/`tasks` parameters. It also explicitly disclaims the status and checklist domains, naming task_done, task_reopen, task_archive and the checklist tools, so an agent can separate it from siblings without opening a 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 routing: use task_done/task_reopen/task_archive for status and checklist tools for checklist items, and this tool for field edits. It also states a precondition for the bulk path ('confirm the list with the user first') and explains the `clear` mechanism versus sending empty strings.

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