Skip to main content
Glama
mcp-google-tasks
by dcode

Update Task

update_task
Idempotent

Replace all fields of a Google Task using a PUT request, clearing omitted optional fields; use patch for partial updates instead.

Instructions

Replace a task's fields via PUT (tasks.update).

Any omitted optional fields may be cleared by Google Tasks. For partial updates, prefer patch_task.

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": {
      "task_id": "<task_id>",
      "title": "<title>"
    },
    "name": "update_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
dueNoDue date as RFC 3339 timestamp.
notesNoTask notes.
titleYesTask title.
hiddenNoWhether the task is hidden.
statusNoTask status: 'needsAction' or 'completed'.needsAction
deletedNoWhether the task is marked as deleted.
task_idYesTask identifier.
completedNoCompletion date as RFC 3339 timestamp.
tasklist_idNoTask list ID, or '@default' for the primary list.@default

Output Schema

NameRequiredDescriptionDefault
idNo
dueNo
etagNo
kindNo
linksNo
notesNo
titleNo
hiddenNo
parentNo
statusNo
deletedNo
updatedNo
positionNo
completedNo
self_linkNo
web_view_linkNo
assignment_infoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and idempotentHint=true but not destructiveHint, so the description's warning that omitted optional fields may be cleared by Google Tasks is genuinely valuable — it discloses data-loss behavior the structured fields do not. It stops short of covering auth/permission requirements or failure modes, keeping it below a 5.

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?

Three short sentences: mechanism first, then the risky consequence, then the alternative. Every sentence carries distinct, actionable information with no filler.

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 9-parameter mutation tool with a full output schema and annotations covering read-only and idempotency, the remaining risk (field clearing on omission) is explicitly called out and the safer sibling is named. Nothing an agent needs to call this 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 100%, so per-field documentation is already handled. The description still adds cross-parameter meaning the schema lacks: because this is a PUT replacement, omitting optional fields (which default to null in the schema) can clear them — a critical interpretation of the defaults that the schema alone would mislead on.

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 fields via PUT') plus the underlying API method, so the replace semantics are unambiguous. It also implicitly distinguishes itself from patch_task by naming the contrasting operation.

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 the agent: use this for full replacement, use patch_task for partial updates. This is a clear when-to-use-this-vs-alternative statement with no inference required.

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