Skip to main content
Glama

bulk_update_tasks

Set done status or priority on many tasks in one request, writing only the fields you pass. Requires Vikunja 2.7.1+ and write access to every project involved.

Instructions

Set done or priority on many tasks in one request. Needs Vikunja 2.7.1 or later.

Only the fields you pass are written, on either API version. This endpoint takes the field names separately from the values. That makes it a genuine partial update on v1 too, where updating a single task is a replace.

You need write access to every project involved. If it is missing on even one, the whole request is refused and nothing changes.

Up to Vikunja 2.7.0 the same endpoint also cleared every assignee and reminder and unset the favourite flag on each task it touched. The server's release is read once from /info, and below 2.7.1 this tool refuses and writes nothing. update_task per task is the safe path there.

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_ids": "<task_ids>"
    },
    "name": "bulk_update_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
doneNo
priorityNo
task_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses atomic all-or-nothing refusal on missing write access ("nothing changes"), partial-update semantics versus replace on v1, and the destructive side effects on servers up to 2.7.0 (cleared assignees, reminders, unset favourite). It further explains the version gate is read from `/info` and that the tool refuses and writes nothing below 2.7.1.

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?

Front-loaded with purpose and version requirement, and nearly every sentence carries material behavioral information. There is some redundancy in restating the 2.7.1 cutoff twice and in the field-names-versus-values explanation, which could be tightened without losing meaning.

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 mutation tool with no annotations and no output schema, the description covers the critical unknowns: permission requirements, atomicity guarantees, version gating with refusal behavior, version-specific destructive side effects, and the safe fallback. The only omission is the response shape, which is low-stakes for a bulk write.

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 description coverage is 0%, so the description must compensate: it explains that both `done` and `priority` are optional and only passed fields are written, and that `task_ids` accepts many tasks. It does not state a valid range for `priority` or any batch-size limit on `task_ids`, which leaves minor gaps for an undocumented 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 specific verb and resource ("Set `done` or `priority`") and an explicit scope ("many tasks in one request"), which distinguishes it from the single-task `update_task` sibling without opening either schema. It also names the exact fields the tool can write, so the agent knows the tool's boundary.

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?

Gives both the when-to-use (bulk field changes across many tasks) and the when-not-to-use with a named alternative: "`update_task` per task is the safe path there" for servers below 2.7.1. The version precondition is stated up front and repeated where the refusal behavior is explained, leaving nothing to inference.

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