Skip to main content
Glama
Todoist AI MCP Server
by todoist

reorder-objects

Idempotent

Reorder personal or workspace projects and sections by setting sibling positions; optionally move personal projects to a new parent or root level.

Instructions

Reorder projects or sections, and optionally move personal projects to a new parent. Personal projects: order places a project among its siblings; parentId moves it ("root" for top level). Workspace projects: order places a project within its folder, in the shared default ordering every member sees; needs permission to reorder the workspace. Sections: order places a section within its 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": {
      "type": "<type>",
      "items": "<items>"
    },
    "name": "reorder-objects"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes"project": personal projects among the siblings under their parent, or workspace projects within their folder. "section": sections within their project.
itemsYesEach item needs order and/or parentId. Moves happen first, so order is a position under the new parent.

Output Schema

NameRequiredDescriptionDefault
typeYesThe type of entity that was reordered/moved.
successYesWhether every entity was moved and reordered as asked.
failuresYesEntities that could not be moved or reordered, with the reason for each.
movedCountYesThe number of entities moved to a new parent.
affectedIdsYesThe IDs of the entities moved or reordered.
reorderedCountYesThe number of entities reordered.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv18.1.0
    • addedOutput schema / properties / failures / items / properties / retryAfterSeconds
      Added value: +{
      +  "minimum": 0,
      +  "type": "number"
      +}
  2. Changed1 schema field changedv17.0.0
    • addedInput schema / properties / items / maxItems
      Added value: +50
  3. Changed8 schema fields changedv13.8.4
    • changedInput schema / properties / items / description
      Previous value: -"The items to reorder or move. Each item must have at least order or parentId. Items with parentId will be moved first, then items with order will be reordered. All items being reordered should be siblings for predictable results."New value: +"Each item needs order and/or parentId. Moves happen first, so order is a position under the new parent."
    • changedInput schema / properties / items / items / properties / order / description
      Previous value: -"The new position/order value for the entity. Lower values appear first."New value: +"0-based position among its siblings after the reorder: 0 is first, past the end is last. Unlisted siblings keep their relative order."
    • changedInput schema / properties / items / items / properties / parentId / description
      Previous value: -"Move a project to be a sub-project of this parent project ID, or use \"root\" to move to the top level. Only valid when type is \"project\"."New value: +"Move a personal project under this parent project ID, or \"root\" for the top level. Personal projects only."
    • changedInput schema / properties / type / description
      Previous value: -"The type of entity to reorder. \"project\" reorders sibling projects within the same parent (and can move projects to a new parent). \"section\" reorders sections within the same project."New value: +"\"project\": personal projects among the siblings under their parent, or workspace projects within their folder. \"section\": sections within their project."
    • changedOutput schema / properties / affectedIds / description
      Previous value: -"The IDs of all affected entities."New value: +"The IDs of the entities moved or reordered."
    • addedOutput schema / properties / failures
      Added value: +{
      +  "description": "Entities that could not be moved or reordered, with the reason for each.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "type": "string"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "item": {
      +        "description": "Usually the ID of the item that failed.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "item",
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / success / description
      Previous value: -"Whether the operation was successful."New value: +"Whether every entity was moved and reordered as asked."
    • changedOutput schema / required
      Previous value: -[
      -  "type",
      -  "movedCount",
      -  "reorderedCount",
      -  "affectedIds",
      -  "success"
      -]New value: +[
      +  "type",
      +  "movedCount",
      +  "reorderedCount",
      +  "affectedIds",
      +  "failures",
      +  "success"
      +]
  4. Changed2 schema fields changedv13.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  5. First observedv10.4.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare non-destructive, idempotent, non-read-only behavior, so the bar is lower, and the description still adds meaningful context beyond them: the workspace reorder requires permission, and the resulting ordering is the shared default every member sees, which flags a cross-user side effect. It does not spell out partial-failure behavior or what happens to unlisted siblings (that lives only in the schema). Solid added value without contradictory claims.

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?

The core action is front-loaded in the first clause, and the three-mode breakdown is logically ordered and scannable. The sentence structure is dense with semicolons and parentheticals, which is slightly harder to parse than a bulleted form, but nothing is padding.

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?

An output schema exists, so return values do not need explaining, and the description covers all three modes, the permission prerequisite, and the shared-visibility implication. Combined with full schema coverage and annotations, an agent has what it needs to invoke this correctly. It could mention idempotency/permission errors explicitly, but that is a minor gap.

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% and the schema already defines 'type', 'id', 'order' (0-based, past-the-end allowed), and 'parentId' ('root' for top level, personal projects only), so the heavy lifting is done structurally. The description restates those meanings in prose without adding format details, edge cases, or constraints beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resources ('Reorder projects or sections, and optionally move personal projects to a new parent') and then breaks the operation into three named modes: personal projects, workspace projects, and sections. It is not tautological and an agent can tell exactly what class of object is being mutated. It does not name or distinguish any sibling tool, which is the only reason it falls short of a 5.

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?

It gives clear per-case semantics: for personal projects 'order' reorders among siblings while 'parentId' moves, for workspace projects the ordering is shared and requires workspace reorder permission, and for sections order applies within their project. That effectively tells the agent which fields to use in which situation. It stops short of explicit when-not-to-use or pointing at an alternative sibling (e.g. add-projects for creating/moving into a new parent), so 4 rather than 5.

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