Skip to main content
Glama

move_cell

Destructive

Moves a block under a new parent. Automatically manages the structural dependencies: deletes the old one (struct-{oldParent}-{id}) and creates the new one (struct-{newParent}-{id}). The response DECLARES what the call recomputed besides the parent: adjusted (+ note) names order (appended last when you give none) and x/y (re-bounded inside the new parent) with their from/to values; the handler does not re-pack the siblings, but the layout tidy-up that runs AFTER the call (over MCP before the reply, in the chat at the end of the burst) may still move the card and its neighbours, which adjusted does not report: read the final position with get_cell_details.

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": {
      "id": "<id>",
      "newParentId": "<newParentId>"
    },
    "name": "move_cell"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesID of the block to move
orderNoNew position among the children of the new parent
newParentIdYesID of the new parent (null for root)
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).
confirmRootPlacementNo⚠️ Required (true) ONLY if the project has locked its root placement (Settings), newParentId is null, AND the block WAS NOT ALREADY a root: without it, the detachment to the root is refused. Not applicable if the block was already a root (an update, not a creation).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  3. Changed3 schema fields changed
    • addedInput schema / properties / order / maximum
      Added value: +2147483647
    • addedInput schema / properties / order / minimum
      Added value: +-2147483648
    • changedInput schema / properties / order / type
      Previous value: -"number"New value: +"integer"
  4. Changed5 schema fields changed
    • changedInput schema / properties / confirmRootPlacement / description
      Previous value: -"⚠️ Requis (true) UNIQUEMENT si le projet a verrouillé son placement racine (Réglages), que newParentId est null, ET que la cellule N'ÉTAIT PAS DÉJÀ racine : sans lui, le détachement vers la racine est refusé. Sans objet si la cellule était déjà racine (une mise à jour, pas une création)."New value: +"⚠️ Required (true) ONLY if the project has locked its root placement (Settings), newParentId is null, AND the block WAS NOT ALREADY a root: without it, the detachment to the root is refused. Not applicable if the block was already a root (an update, not a creation)."
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / id / description
      Previous value: -"ID de la cellule à déplacer"New value: +"ID of the block to move"
    • changedInput schema / properties / newParentId / description
      Previous value: -"ID du nouveau parent (null pour racine)"New value: +"ID of the new parent (null for root)"
    • changedInput schema / properties / order / description
      Previous value: -"Nouvelle position parmi les enfants du nouveau parent"New value: +"New position among the children of the new parent"
  5. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond destructiveHint=true, the description discloses the concrete destruction ('deletes the old one (struct-{oldParent}-{id})') and creation it performs, and — crucially — warns that a layout tidy-up running AFTER the call may move the card and its neighbours in ways the `adjusted` response does not report. It even names the field that reports recomputation (`adjusted`, `note`) and tells the agent to verify with get_cell_details, which is exactly the kind of post-call side effect an agent cannot get from annotations.

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 and every sentence carries information (mechanism, response fields, post-call caveat, verification step). The third sentence is a long run-on dense with parentheticals and backticks, which costs some readability 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 destructive move with no output schema, the description covers the mutation mechanism, the shape of the response reporting, its blind spot, and the recommended verification call. Gaps are minor: no mention of failure modes for the root-placement confirmation or of expectedProjectId behaviour, though both are fully specified in the schema.

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 the baseline would be 3, but the description adds real meaning: without `order` the block is appended last, and x/y are re-bounded inside the new parent with from/to values returned. It does not touch confirmRootPlacement or expectedProjectId, which remain documented only in the schema.

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 first sentence gives a specific verb and resource ('Moves a block under a new parent') and the follow-up sentences describe the mechanism (old struct link deleted, new one created), so the agent knows exactly what operation this is. It never names a sibling such as move_content_block or update_cell, so differentiation from nearby move/update tools is left to inference rather than stated.

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 context is implied by the mention that the parent must be changed and by the pointer to get_cell_details for reading the final position after the call. There is no explicit 'use this instead of X' routing against the other move_* siblings, and no statement of when not to use it (e.g., same-parent reordering).

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.