Skip to main content
Glama

Move Task

move_task

Relocates a task to the correct goal while preserving its title, summary, files, state, and history, and leaves a dropped-task record in the original goal for reference continuity.

Instructions

Move a Task of a claimed Goal to another Goal when it belongs there. It keeps its title, summary, files and state, gets a new ID at the end of the other Goal's list (or right before or after the Task given in before or after) and a 'moved from' line. In the old Goal it stays as a dropped Task whose reason is where it went, so refs and history still work. The other Goal must not be dropped, done or held by another running Session; a Task in progress can move only if the other Goal has none in progress.

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": "<task>",
      "to_goal": "<to_goal>"
    },
    "name": "move_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNoThe claimed Goal the Task is in. Needed only when this Session holds several Goals.
taskYesThe Task ID, such as 't3'.
afterNoA Task ID in the other Goal to put it behind.
beforeNoA Task ID in the other Goal to put it in front of.
to_goalYesThe ID of the Goal to move the Task to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0

TDQS

A4.1/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden and does substantial work: preserved attributes (title, summary, files, state), the fact that the Task gets a NEW ID appended to the destination list, a 'moved from' line, and that the source Goal retains a dropped Task recording the destination so refs and history survive. It does not state what the call returns (notably the new ID) or what errors look like.

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?

Purpose is front-loaded in the first sentence, then placement, side effects, and preconditions in a logical order with no filler. The second sentence is long and packs several facts into one clause chain, which slightly hurts scanability but not correctness.

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 mutation tool with no annotations and no output schema, the definition covers side effects on both source and destination Goals plus placement and preconditions. The remaining gap is the absence of any statement about the return value, which matters here because the moved Task's ID changes.

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 coverage is 100%, so baseline is 3. The description adds genuine meaning for before/after by explaining that placement is at the end of the destination list by default and otherwise immediately before or after the referenced Task, but it adds nothing beyond the schema for goal, task, or to_goal.

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 with scope: 'Move a Task of a claimed Goal to another Goal.' The pairing of task-within-goal is narrow enough to separate it from move_goal (which moves goals) and update_task/set_task_state (which modify content or state) without needing to name them.

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?

Gives explicit when-not conditions: the destination Goal must not be dropped, done, or held by another running Session, and an in-progress Task requires the destination to have nothing in progress. It also frames usage as 'when it belongs there.' What it lacks is any named alternative for the adjacent cases it excludes (e.g., what to do instead when the destination is held).

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