Skip to main content
Glama

move_task_to_project

Destructive

Moves a task from the project targeted by this call (expectedProjectId) to ANOTHER project, PRESERVING its identifier, its creation date, its emitter, its status and its assignees. This is the action that was missing when a block moves house: after create_nested_project or link_project_to_cell, blocks get recreated but the tasks stayed behind, and recreating them by hand BREAKS the id convergence of create_tasks (a sync replay would duplicate them). A user story takes its subtasks along; a lone subtask is refused. You need WRITE access to both projects, and agent writes must not be locked on the target. Refuses — without writing anything — if the target project already holds a task with the same identifier. The response declares what did NOT follow, and — separately — what followed but loses its meaning in the target project.

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": {
      "taskId": "<taskId>",
      "targetProjectId": "<targetProjectId>"
    },
    "name": "move_task_to_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
cellIdNoThe block of the TARGET project to link the task to. THREE states, and they differ: OMITTED = the task keeps its block link if the target project holds a block with the SAME identifier, otherwise it is detached (keeping its memory: it will relink by itself if that block is created there later); `null` = detach explicitly; an identifier = link to THAT block, which must exist in the target project. Affects only the named task — its subtasks always follow the "omitted" rule.
taskIdYesID of the task to move, in the project targeted by this call. Its identifier is PRESERVED on the other side — this is what keeps the `id` convergence of create_tasks valid. If it is a user story, its subtasks go WITH it.
targetProjectIdYesID of the project that must RECEIVE the task. The caller must have write access on both projects. Identifiers are read with list_projects.
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  3. Changed1 schema field changed
    • changedInput schema / properties / taskId / description
      Previous value: -"ID of the task to move, in the ACTIVE project. Its identifier is PRESERVED on the other side — this is what keeps the `id` convergence of create_tasks valid. If it is a user story, its subtasks go WITH it."New value: +"ID of the task to move, in the project targeted by this call. Its identifier is PRESERVED on the other side — this is what keeps the `id` convergence of create_tasks valid. If it is a user story, its subtasks go WITH it."
  4. Changed4 schema fields changed
    • changedInput schema / properties / cellId / description
      Previous value: -"Le bloc du projet CIBLE auquel rattacher la tâche. TROIS états, et ils diffèrent : OMIS = la tâche garde son ancrage si le projet cible porte un bloc de MÊME identifiant, sinon elle se détache (en gardant sa mémoire : elle se rattachera toute seule si ce bloc y est créé plus tard) ; `null` = détache explicitement ; un identifiant = ancre à CE bloc, qui doit exister dans le projet cible. N’affecte que la tâche nommée — ses sous-tâches suivent toujours la règle « omis »."New value: +"The block of the TARGET project to link the task to. THREE states, and they differ: OMITTED = the task keeps its block link if the target project holds a block with the SAME identifier, otherwise it is detached (keeping its memory: it will relink by itself if that block is created there later); `null` = detach explicitly; an identifier = link to THAT block, which must exist in the target project. Affects only the named task — its subtasks always follow the \"omitted\" rule."
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / targetProjectId / description
      Previous value: -"ID du projet qui doit RECEVOIR la tâche. L’appelant doit avoir un accès en écriture sur les deux projets. Les identifiants se lisent avec list_projects."New value: +"ID of the project that must RECEIVE the task. The caller must have write access on both projects. Identifiers are read with list_projects."
    • changedInput schema / properties / taskId / description
      Previous value: -"ID de la tâche à déplacer, dans le projet ACTIF. Son identifiant est PRÉSERVÉ de l’autre côté — c’est ce qui garde valide la convergence par `id` de create_tasks. Si c’est une US, ses sous-tâches partent AVEC elle."New value: +"ID of the task to move, in the ACTIVE project. Its identifier is PRESERVED on the other side — this is what keeps the `id` convergence of create_tasks valid. If it is a user story, its subtasks go WITH it."
  5. Changed1 schema field changed
    • changedInput schema / properties / targetProjectId / description
      Previous value: -"ID du projet qui doit RECEVOIR la tâche. Il te faut un accès en écriture sur les deux projets. Appelle list_projects pour les identifiants."New value: +"ID du projet qui doit RECEVOIR la tâche. L’appelant doit avoir un accès en écriture sur les deux projets. Les identifiants se lisent avec list_projects."
  6. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Far exceeds the annotations (destructiveHint=true, readOnlyHint=false) by disclosing that WRITE access is needed on both projects, that agent writes must not be locked on the target, and that a duplicate identifier causes a refusal with no partial write. It also clarifies the response semantics by separating what did not follow from what followed but loses meaning in the target project.

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-loads the action and destination before the rationale, and every clause carries information about preservation, workflow context, or failure behavior. Some rhetorical framing ('moves house', 'takes its subtasks along') and heavy capitalization cost a little tightness, but nothing is redundant filler.

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 destructive, cross-project mutation with no output schema, the description covers prerequisites (write access on both projects, unlocked agent writes), atomic refusal on identifier collision, subtask propagation rules, and what the response reports. An agent has enough to call this correctly and to interpret the outcome.

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 schema already documents all four parameters, yet the description disambiguates the easily confused source/target pair by tying the source to `expectedProjectId` and the destination to 'ANOTHER project'. The richer cellId three-state semantics live in the schema rather than the description, so it builds only modestly on the structured data.

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+resource (move a task from expectedProjectId to another project) with a precise scope constraint that the task keeps its identifier, dates, emitter, status, and assignees. It explicitly distinguishes itself from create_nested_project/link_project_to_cell, which recreate blocks but leave tasks behind, and from create_tasks by warning that manual recreation breaks `id` convergence.

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 concrete when-to-use context (after a block moves house via create_nested_project or link_project_to_cell) and names the alternative that should not be used (recreating tasks by hand). It also states the exclusion rules: a user story brings its subtasks, a lone subtask is refused, and the call is refused when the target already holds the same identifier.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.