Skip to main content
Glama

arrange_cells

Destructive

Arranges several blocks according to a layout (row, column, grid) from a starting position with configurable spacing. For LOCAL repositionings of a few blocks only; auto_layout_canvas (dedicated engines per kind) tidies the whole canvas up.

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": {
      "cellIds": "<cellIds>",
      "layout": "<layout>",
      "startX": "<startX>",
      "startY": "<startY>"
    },
    "name": "arrange_cells"
  }
}

Input Schema

NameRequiredDescriptionDefault
layoutYesArrangement type: row (horizontal), column (vertical), grid
startXYesStarting X position
startYYesStarting Y position
cellIdsYesIDs of the blocks to arrange
spacingNoSpacing between the blocks in pixels (default: 120)
gridColumnsNoNumber of columns for layout='grid' (default: 3)
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

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. Changed7 schema fields changed
    • changedInput schema / properties / cellIds / description
      Previous value: -"IDs des cellules à arranger"New value: +"IDs of the blocks to arrange"
    • 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 / gridColumns / description
      Previous value: -"Nombre de colonnes pour layout='grid' (défaut: 3)"New value: +"Number of columns for layout='grid' (default: 3)"
    • changedInput schema / properties / layout / description
      Previous value: -"Type d'arrangement: row (horizontal), column (vertical), grid (grille)"New value: +"Arrangement type: row (horizontal), column (vertical), grid"
    • changedInput schema / properties / spacing / description
      Previous value: -"Espacement entre les blocs en pixels (défaut: 120)"New value: +"Spacing between the blocks in pixels (default: 120)"
    • changedInput schema / properties / startX / description
      Previous value: -"Position X de départ"New value: +"Starting X position"
    • changedInput schema / properties / startY / description
      Previous value: -"Position Y de départ"New value: +"Starting Y position"
  4. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation risk is covered structurally. The description implies positional mutation ('from a starting position with configurable spacing') but says nothing about overwriting existing coordinates, reversibility, or collision behavior, so it adds only modest context beyond the 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?

Two dense sentences with no filler, and the core operation is front-loaded before the sibling comparison. The parenthetical '(dedicated engines per kind)' is slightly extra but supports the routing decision.

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?

Seven parameters with four required are fully documented in the schema, annotations carry the destructive/closed-world profile, and no output schema exists to explain. The only remaining gap is unspecified behavior for overlapping blocks or grid fill order, which is minor for this tool's complexity.

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 every parameter, including the layout enum, spacing default, gridColumns, and expectedProjectId override, is documented in the schema itself. The description only restates that layout and spacing are configurable, adding no syntax or interaction detail beyond the structured fields, so the baseline 3 applies.

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?

The description states a specific verb and resource (arranges blocks per a row/column/grid layout from a start position) and explicitly contrasts its scope with auto_layout_canvas, so an agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

It gives an explicit when-to-use constraint ('for LOCAL repositionings of a few blocks only') and names the alternative for the opposite case ('auto_layout_canvas ... tidies the whole canvas up'), which is exactly the routing information an agent needs.

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.