Skip to main content
Glama

task_update

DestructiveIdempotent

Replace editable fields on an existing OKF Todo task; call task_get first and resend all values to preserve because omitted optional fields are cleared.

Instructions

Replace the editable fields of an existing OKF Todo task. Call task_get first and pass every value that must be preserved; omitted optional fields are cleared.

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>",
      "title": "<title>",
      "taskTypeCode": "<taskTypeCode>"
    },
    "name": "task_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesNumeric task ID.
bodyNoReplacement HTML body; null clears it.
tagsNoReplacement plain-string tag set; null or empty removes all tags.
ownerNoReplacement task owner; null clears it.
titleYesReplacement task title.
deadlineNoReplacement deadline; null clears it.
sourceUrlNoReplacement source URL; null clears it.
taskListIdNoOptional destination task-list ID. Omit to keep the task's current list.
responsibleNoReplacement person responsible for the task; null clears it.
taskTypeCodeYesReplacement stable task type code.
bodyFormatCodeNoReplacement stable body format code; null clears it.
taskSourceCodeNoReplacement stable source code; null clears it.
sourceReferenceNoReplacement source reference; null clears it.
taskPriorityCodeNoReplacement stable priority code; null clears it.
activeWaitingForLabelNoReplacement waiting-for label; null clears active waiting.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/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 reinforces this by stating explicitly that omitted optional fields are cleared — the key data-loss behavior an agent must anticipate. It does not cover side effects such as list moves, notifications, or the response shape, so it stops short of 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?

Two sentences, zero waste, with the destructive replacement contract front-loaded before the recommended workflow. Nothing is repeated from the schema or annotations.

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?

For a 15-parameter destructive mutation with no output schema, the description supplies the one fact that matters most — that this is a full replace and omissions clear data — plus a task_get prerequisite. It would be complete at a 5 if it noted the partial-update alternative or any permission/return-value expectations.

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 would be 3, but the description adds the critical replace-vs-preserve contract: omitted optional fields are cleared, so callers must re-send values they want kept. That single sentence changes how an agent fills all 12 optional parameters, which is real added meaning beyond the schema's per-field 'null clears it' notes.

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 gives a specific verb and scope: 'Replace the editable fields of an existing OKF Todo task', which makes the full-replacement semantics distinct from a partial-update sibling like task_patch without naming it. An agent can tell what resource is mutated, though the contrast with task_patch is only implied by the word 'Replace'.

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?

'Call task_get first and pass every value that must be preserved' is concrete pre-call guidance that tells the agent how to use the tool safely. It stops short of explicitly naming task_patch as the alternative for partial updates, so the routing decision is left partly to inference.

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