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

Patch Task

patch_task
Idempotent

Partially update a Google Task by changing only the fields you provide, such as title, due date, notes, or status. Mark tasks completed or reactivate them without overwriting other task data.

Instructions

Partially update a task via PATCH (tasks.patch).

Only provided fields are modified. Setting status='needsAction' automatically clears the completed timestamp unless explicitly set. Use this to mark a task done (status='completed'). Fails if no field is given.

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>"
    },
    "name": "patch_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
dueNoUpdated due date as RFC 3339 timestamp.
notesNoUpdated task notes.
titleNoUpdated task title.
hiddenNoUpdated hidden flag.
statusNoUpdated status: 'needsAction' or 'completed'.
deletedNoUpdated deleted flag.
task_idYesTask identifier.
completedNoUpdated completion 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

A3.8/5.0
Behavior3/5

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

Goes well beyond the annotations by disclosing the cross-field rule that setting status='needsAction' clears the completed timestamp unless explicitly set, plus the failure condition when no field is supplied. However it is silent on what other fields do behaviorally — notably that setting deleted=true is a destructive soft-delete — and says nothing about permissions or the fact that openWorldHint=true means it hits a live calendar service.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the operation and scope, with no filler. Both the timestamp-clearing rule and the empty-payload failure condition earn their place, though the API reference '(tasks.patch)' is low-value appended noise.

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?

An output schema exists so return values need not be explained, and the description covers the core mutation semantics and error precondition. The main gap is the meaning of the 'deleted' and 'hidden' flags, whose consequences are not conveyed beyond their schema text.

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 all nine parameters are already documented, which sets the baseline at 3. The description earns an extra point by adding semantics the schema cannot express: the status/completed interdependency and the requirement that at least one field be present.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Partially update a task via PATCH') and immediately clarifies the partial-update scope with 'Only provided fields are modified.' It implicitly separates itself from a full-update sibling but never names update_task or any alternative, so differentiation is left to inference.

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?

Gives concrete usage context: 'Use this to mark a task done (status="completed")' and warns that the call fails if no field is given. It does not name an alternative tool or state when a full update would be preferable, so the when-not side is incomplete.

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