Skip to main content
Glama

auto_layout_process

Destructive

Automatically rearranges the process blocks into a left-to-right grid: event-start on the left, tasks in flow order, event-end on the right. If lanes exist, each block is placed vertically in its lane (swimlaneOrder). Does not change the internal layout of the other kinds; if the recomputed region overlaps another, the FOLLOWING regions in the stacking order (org, ERD, process, journey, arch, captable) may be shifted AS A WHOLE, and not card by card. Useful after several add_kind_node calls to get a clean rendering.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "auto_layout_process"
  }
}

Input Schema

NameRequiredDescriptionDefault
laneHeightNoVisual height of each lane in pixels. Default: 180.
columnWidthNoWidth reserved for each column (event/task/gateway). Default: 220.
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. Changed3 schema fields changed
    • changedInput schema / properties / columnWidth / description
      Previous value: -"Largeur réservée à chaque colonne (event/task/gateway). Défaut: 220."New value: +"Width reserved for each column (event/task/gateway). Default: 220."
    • 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 / laneHeight / description
      Previous value: -"Hauteur visuelle de chaque lane en pixels. Défaut: 180."New value: +"Visual height of each lane in pixels. Default: 180."
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds genuinely new behavioral detail: a recomputed region that overlaps shifts FOLLOWING regions in the stated stacking order (org, ERD, process, journey, arch, captable) as a whole. That collateral-damage disclosure is exactly what an agent needs before invoking a destructive layout pass. It does not say whether the rearrangement is undoable or what the call returns.

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?

Front-loaded with the primary outcome, then side effects, then the usage hint. The stacking-order parenthetical is long but is real information, not padding; overall it is dense and mostly earns its length.

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, parameterless-required layout tool with no output schema, the description covers what moves, what does not move, and the cross-region side effect. The main remaining gap is that it does not state what the response contains, e.g., whether new positions are returned.

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% for all three optional parameters (laneHeight, columnWidth, expectedProjectId), so the schema already carries their meaning. The description does not mention any of them, including that a lane must exist for laneHeight to matter. Baseline 3 applies when the schema does the heavy lifting.

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 ('rearranges') plus the exact resource and the resulting geometry: event-start left, tasks in flow order, event-end right. The 'process blocks' scoping and the lane/swimlaneOrder clause make it distinguishable from siblings like auto_layout_canvas or auto_layout_journey without opening another schema.

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?

Gives a concrete trigger ('useful after several add_kind_node calls to get a clean rendering') and delimits scope by noting it does not change the internal layout of other kinds. It stops short of explicitly naming the sibling alternatives (auto_layout_journey, auto_layout_org, etc.) or when not to call it, so it is clear but not fully routing.

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.