Skip to main content
Glama

task_patch

DestructiveIdempotent

Safely update only named task fields, preserving omitted values and clearing nullable fields with null; make targeted task edits without overwriting other data.

Instructions

Safely change only named editable task fields. The changes object may contain title, taskTypeCode, body, bodyFormatCode, taskPriorityCode, taskSourceCode, sourceReference, sourceUrl, deadline, activeWaitingForLabel, tags, owner, responsible, or taskListId. Explicit null clears a nullable field; omitted fields are preserved.

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": {
      "id": "<id>",
      "changes": "<changes>"
    },
    "name": "task_patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesNumeric task ID.
changesYesJSON object containing only approved fields. Example: {"taskPriorityCode":"URGENT","deadline":"2026-08-10"}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description adds genuinely non-redundant behavior: patch semantics where omitted fields are preserved and explicit null clears a nullable field. That is exactly the disclosure an agent needs to avoid accidentally wiping fields, though it does not mention permission requirements or error/not-found behavior.

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?

Three sentences, front-loaded with the guarantee before the field enumeration, and the null/omitted rule closes it out. The long field list is dense but each item carries information; only minor tightening is possible.

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?

With only two parameters, full schema coverage, and annotations covering safety and idempotency, the description supplies enough to call the tool correctly. It does not say what the call returns or how validation failures are reported, which is a minor gap given there is no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the schema only describes 'changes' generically while the description enumerates the full set of approved keys and explains the null-vs-omitted distinction that the schema does not express. This adds real meaning beyond the structured fields rather than restating them.

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?

The description names a specific verb (change/patch) and resource (named editable task fields) and bounds scope with 'only named editable task fields', so an agent can tell it apart from create/complete/delete siblings. It stops short of naming an alternative tool or an explicit exclusion, which keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied through the partial-update contract ('omitted fields are preserved') but there is no explicit when-to-use guidance and no routing to siblings such as task_move_to_list or task_create for cases this tool does not cover. The agent must infer that this is the general-purpose mutation endpoint.

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