Skip to main content
Glama

Undo a move of messages

colliedesk_message_move_undo
Idempotent

Put the messages of a move back where they were, with the statuses it changed while nobody changed them since. Undoing it again changes nothing. Only the newest move of a message is undone (move_superseded); a move to the intake queue whose card was decided since is not (move_decided).

Needs: conversations:update.

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": {
      "move_id": "<move_id>"
    },
    "name": "colliedesk_message_move_undo"
  }
}

Input Schema

NameRequiredDescriptionDefault
move_idYesFrom colliedesk_message_moves_list.

Output Schema

NameRequiredDescriptionDefault
idYes
moved_atNo
undoableYes
undone_atNo
via_tokenNo
decision_idNo
message_idsYes
gathering_idNoThe intake card a move to the queue made.
closed_sourceNoThe move took every customer message of the source and closed it.
moved_by_agent_idNo
to_conversation_idYesNull for a move back to the intake queue.
undone_by_agent_idNo
created_conversationNoThe move opened to_conversation_id (a split).
from_conversation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description adds real behavioral detail: the undo restores changed statuses only when nobody changed them since, repeated undo is a no-op, and certain moves are silently skipped with named reasons (move_superseded, move_decided). It also discloses the required permission (conversations:update), which annotations cannot convey.

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 behavior is front-loaded and the skip conditions plus permission requirement are packed into a few sentences with no filler. The opening sentence is slightly convoluted ('with the statuses it changed while nobody changed them since'), which costs a point on readability.

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?

With an output schema present, return values need not be described, and the description covers preconditions, partial/no-op outcomes, and authorization. The main remaining ambiguity is the granularity of a 'move' (one message vs. a batch) when a move_id spans multiple messages, which an agent might still wonder about before invoking.

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?

There is a single parameter with 100% schema description coverage, and the schema already tells the agent the move_id comes from colliedesk_message_moves_list including its UUID pattern. The description adds no further meaning about the identifier, so the baseline of 3 is appropriate when the schema does the work.

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 states a specific verb and resource: put the messages of a move back where they were, restoring any statuses it changed. It is clearly the inverse of colliedesk_messages_move and works on a move_id from colliedesk_message_moves_list, though it never names those siblings explicitly, so sibling differentiation is left to inference.

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 concrete applicability conditions: only the newest move of a message is undone (move_superseded) and a move to the intake queue whose card has since been decided is skipped (move_decided). It does not spell out prerequisite steps such as 'call colliedesk_message_moves_list first', but the schema supplies that pointer, so guidance is clear without being exhaustive.

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