Skip to main content
Glama

updateTasksOrder

Reorders the tasks of this beta project. Pass the task ids in the order the testers should see them. A subset is allowed: the tasks you list are placed first, in the order given, and every task you leave out lands after the listed ones (their relative order among themselves is not guaranteed). A task carrying a label from a category set by the answer to a step (setByAnswer in listBetaLabels) must stay after the task holding that step. On a draft or scheduled beta project the change is applied immediately. On a running or paused beta project the change is STAGED: testers do not see it until commitTaskChanges publishes all staged changes (revertTaskChanges discards them; getBetaTasks with version 'unpublished' shows the staged state). While staging, these tools accept BOTH the live id and the staged id of a task or step, but always respond with the STAGED row — expect ids you did not pass in, with liveVersionId linking back to the live row. Content of finished or archived beta projects cannot be edited.

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": {
      "productId": "<productId>",
      "taskIds": "<taskIds>"
    },
    "name": "updateTasksOrder"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdsYesTask ids from getBetaTasks, in the desired order.
productIdYesID of the beta project to query. Get valid IDs from the listProducts tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes far beyond the readOnlyHint=false/destructiveHint=false annotations: it discloses that changes are STAGED on running/paused projects, that staged state is only visible via getBetaTasks 'unpublished', and that responses return the STAGED row with liveVersionId rather than the ids passed in. It also discloses the ordering constraint imposed by setByAnswer label categories and the finished/archived editing restriction.

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 the core action, then layered detail on subset behavior, staging, and id semantics. It is dense and every sentence carries information, though the single long paragraph could be broken into bullets for faster scanning of the staging rules.

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 output schema, the description covers the full calling contract: staging lifecycle, id resolution behavior in responses, ordering constraints, and terminal-state restrictions. Nothing an agent needs to invoke or interpret the result is missing.

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 taskIds and productId are already documented. The description nevertheless adds real semantics: ids are interpreted as the tester-visible order, a subset is allowed, unlisted tasks fall after the listed ones in unspecified relative order, and a setByAnswer constraint may override placement.

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 ("Reorders the tasks of this beta project") and is distinguishable from the sibling updateStepsOrder by naming tasks rather than steps. The first sentence alone lets an agent place the tool correctly.

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 clear when-to-use context: applied immediately on draft/scheduled projects, staged on running/paused projects, with the follow-up tools named (commitTaskChanges to publish, revertTaskChanges to discard, getBetaTasks with version 'unpublished' to inspect). It also states the exclusion that content of finished or archived projects cannot be edited. It does not explicitly contrast against updateStepsOrder or updateTask, but the task-vs-step distinction is implied by the purpose.

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.

Resources