Skip to main content
Glama

b24_scrum_task_move

Move a task card to another column on a Bitrix24 Scrum sprint board. Removes the card's placement and re-adds it to the target stage, since standard update calls don't actually shift the card.

Instructions

Move a task to a column on a Scrum sprint board.

Bitrix has no single "move" call, and the obvious candidates each fail in a way that looks like success — all of the following was established by watching a real board, not by reading API responses:

  • tasks.api.scrum.kanban.addTask only places a card that is not currently on the board. For a card already sitting in a column it returns true and does nothing at all — no field change, no history entry, no movement.

  • tasks.task.update with STAGE_ID does change the field and does write a history entry that everyone can see, but the card does not move. That is the worst outcome: colleagues see "stage changed" in the log while the board still shows the old column.

  • task.stages.movetask answers false — it governs the plain group kanban, not sprint boards.

What works is taking the card off the board and putting it back in the target column: kanban.deleteTask then kanban.addTask. This tool does that, in that order.

deleteTask does not delete the task and does not produce a second card. It removes only the column placement; the task, its sprint membership and everything on it survive, so addTask puts the same card back. Measured before and after a move: identical id, GUID, creation date, story points, checklist, logged time and tags — the only difference was one added history row. Moving the same card repeatedly is safe.

Do not verify the result with b24_task_get: STAGE_ID is unreliable for sprint boards — it read 0 while the card was visibly sitting in the target column. The board is the source of truth; the pull channel's tasks / task_update event carries AFTER.STAGE_INFO and is the only reliable read.

Returns: JSON: {"moved": true, "task_id", "sprint_id", "stage_id", "steps": {"removed_from_board": ..., "added_to_stage": ...}, "note": "..."}.

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>",
      "sprint_id": "<sprint_id>",
      "stage_id": "<stage_id>"
    },
    "name": "b24_scrum_task_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYesTask id to move.
stage_idYesTarget kanban column id (from b24_scrum_kanban_stages or b24_scrum_board).
sprint_idYesSprint id the task belongs to (from b24_scrum_sprint_list or b24_scrum_board).
webhook_urlNoOverride the default incoming webhook for this call (https://<portal>/rest/<user_id>/<token>/). If omitted, uses personal_webhook, then the X-B24-Webhook HTTP header, then the BITRIX_WEBHOOK_URL env default.
personal_webhookNoAct as a specific user (their personal incoming webhook). Takes precedence over webhook_url. Required to write to the portal under that user's permissions.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say readOnly=false, destructiveHint=false, openWorld=true, idempotent=false. The description adds the crucial non-obvious behavior: kanban.deleteTask does not delete the task, does not create a duplicate card, only removes the column placement, and the task's id, GUID, story points, checklist, logged time and tags survive intact. It also discloses the side effect of one added history row per move and that repeated moves are safe, which is exactly the kind of information annotations cannot carry.

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?

It is long, but the length is justified by genuinely non-obvious failure modes; the operation is front-loaded in the first sentence, the failed alternatives are bulleted, and the return shape is stated compactly. A little repetition in the 'what works' paragraph keeps it just short of a 5.

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 multi-step mutation against a non-obvious API, this is complete: annotations cover the safety profile, the schema covers all five parameters, an output schema exists and the return shape is restated, and the description adds the ordering, the non-destructive semantics and the verification caveat. Nothing an agent needs in order to call it correctly is missing.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents task_id, stage_id, sprint_id, webhook_url and personal_webhook, including where the ids come from. The description adds no parameter-level detail beyond that, so the baseline of 3 applies.

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?

The first sentence states a specific verb and resource with scope: 'Move a task to a column on a Scrum sprint board.' The description then distinguishes this tool from the plausible alternatives (tasks.api.scrum.kanban.addTask, tasks.task.update with STAGE_ID, task.stages.movetask), so an agent knows exactly what operation this is and why the others are wrong.

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?

It gives explicit when-to-use guidance by ruling out three alternatives with concrete failure modes, and an explicit when-not-to: do not verify with b24_task_get because STAGE_ID is unreliable for sprint boards. It also names the reliable verification path (the pull channel's tasks/task_update event with AFTER.STAGE_INFO).

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

Deploy Server

Other Tools