Skip to main content
Glama

Reorder item

reorder_item

Move an item to a zero-based position within one list; only the order changes, except that a today move makes it a hand-picked Today item and position 0 in project_backlog makes it the project's next action. For template_actions the id is a template action and template_id its template.

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": {
      "list": "<list>",
      "id": "<id>",
      "position": "<position>"
    },
    "name": "reorder_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe item to move, from `list_items`, `get_horizons` (horizons) or `get_item` type=project_template (template_actions).
listYesinbox; next; today; waiting; someday; projects; project_backlog: one project's backlog; recurring: recurring action templates; horizons: a Horizons item within its level; template_actions: an action within a project template.
positionYesZero-based; 0 is the top.
timezoneNoIANA timezone for day-based results, e.g. Europe/Ljubljana. Default: the user's WhatsNextAction timezone.
template_idNoTemplate id from `list_items` list=project_templates; required with template_actions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / id / description
      Added value: +"The item to move, from `list_items`, `get_horizons` (horizons) or `get_item` type=project_template (template_actions)."
    • addedInput schema / properties / list / description
      Added value: +"inbox; next; today; waiting; someday; projects; project_backlog: one project's backlog; recurring: recurring action templates; horizons: a Horizons item within its level; template_actions: an action within a project template."
    • changedInput schema / properties / list / enum
      Previous value: -[
      -  "inbox",
      -  "next",
      -  "today",
      -  "waiting",
      -  "someday",
      -  "projects",
      -  "project_backlog",
      -  "recurring"
      -]New value: +[
      +  "inbox",
      +  "next",
      +  "today",
      +  "waiting",
      +  "someday",
      +  "projects",
      +  "project_backlog",
      +  "recurring",
      +  "horizons",
      +  "template_actions"
      +]
    • addedInput schema / properties / position / description
      Added value: +"Zero-based; 0 is the top."
    • addedInput schema / properties / template_id
      Added value: +{
      +  "description": "Template id from `list_items` list=project_templates; required with template_actions.",
      +  "pattern": "^[A-Za-z0-9_-]{1,100}$",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description goes further by disclosing that the operation is order-only but carries semantic side effects — a today move marks the item as hand-picked Today, and position 0 in project_backlog sets the project's next action. That is real behavioral context an agent could not infer. It stops short of describing the response, permission requirements, or what happens if position exceeds list length.

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?

A single dense sentence with the core action and its main constraint front-loaded, no filler. The trailing template_actions clause is somewhat redundant with the schema and makes the sentence long, but it earns limited keep by flagging the cross-field pairing.

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 non-destructive mutation tool with 5 params, full schema coverage, and annotations covering the safety profile, the description supplies the one thing structured data lacks: the positional side effects on Today and project next-action. No output schema exists, but the operation's outcome (order change) is implied clearly enough that nothing critical 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 every parameter, including the template_actions/template_id pairing, is already documented in structured fields. The description restates the template_actions id meaning and the template_id association, which slightly reinforces the conditional constraint but adds no new syntax, range, or default information.

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 ("Move an item to a zero-based position within one list") and immediately scopes it: "only the order changes." The two named exceptions (today moves, position 0 in project_backlog) make it distinguishable from state-changing siblings like change_action_state or convert_item.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the list enum and the noted exceptions, so an agent can infer this is for reordering within a single list. However, it never states when not to use it or names an alternative for cases where an item must move between lists (which presumably requires a different tool). No prerequisites or preconditions are given.

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