Skip to main content
Glama

Update Task

update_task
DestructiveIdempotent

Change a task's status (open, in_progress, completed, dismissed), priority (low, medium, high, critical) or assignees (the full list, by email or user id; an empty list unassigns everyone). Omitted parts keep their value. Completing or dismissing records who closed it; reopening clears that. The preview shows each change before and after. Two-step: preview=true, then commit with the previewReceipt.

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": {
      "taskId": "<taskId>",
      "input": "<input>"
    },
    "name": "update_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesThe changes to make.
taskIdYesTask id (GUID) from list_tasks.
previewNoStep 1 of the required two-step write: set true to validate and receive a structured preview plus a single-use previewReceipt. Nothing changes until the commit call.
idempotencyKeyNoCaller-generated idempotency key; required with previewReceipt to commit.
previewReceiptNoStep 2 of the required two-step write: the receipt returned by the preview call. Supply together with a fresh idempotencyKey to commit; calls without it are refused.

Output Schema

NameRequiredDescriptionDefault
okNo
taskNo
deletedNo
previewNo
expiresAtNo
actionItemIdNo
confirmationNo
correlationIdNo
approvalResultNo
idempotencyKeyNo
previewReceiptNo
idempotentReplayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing side effects the agent cannot infer: completing or dismissing records who closed it, reopening clears that record, assignees replaces the entire list, an empty list unassigns everyone, and commits without a previewReceipt are refused. This extra context matters for a destructiveHint=true mutation and is consistent with idempotentHint=true (single-use receipt, fresh idempotency key).

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?

Dense and front-loaded: field semantics first, then side effects, then the two-step flow, with no filler sentences. Every clause carries operational information an agent needs before calling.

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?

Given five parameters, a nested input object, and an output schema that covers the preview response, the description supplies everything else needed: allowed values, retention semantics, side effects, and the commit protocol. Nothing an agent needs in order to call it correctly 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 already 100%, so the baseline is 3; the description adds real meaning by explaining the relationship between preview, previewReceipt, and idempotencyKey as an ordered protocol and by restating assignee replacement semantics. It does not, however, add format details for taskId or the receipt string beyond 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 precise verb and resource plus the exact mutable fields (status, priority, assignees) and their allowed values. An agent can distinguish this from create_task or delete_task purely from the description, and the two-step commit flow is named up front.

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?

Makes clear this is the tool for changing an existing task's fields and explains the mandatory preview-then-commit sequence, including that omitted fields retain their values. It does not explicitly route away from siblings (e.g., delete_task vs. status=dismissed), which keeps it from a 5.

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