Skip to main content
Glama

auto_layout_canvas

Destructive

Rearranges the WHOLE canvas through the dedicated layout engine of each kind present (org, entity/ERD, arch, process, journey, captable): compact, deterministic positions, no overlap, routing gutters reserved, cross-kind regions separated. It tidies a canvas up where arrange_cells only makes a grid — it is the ONLY engine layout tool for arch and captable.

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_canvas"
  }
}

Input Schema

NameRequiredDescriptionDefault
_unusedNoUnused parameter
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. Changed2 schema fields changed
    • changedInput schema / properties / _unused / description
      Previous value: -"Paramètre non utilisé"New value: +"Unused parameter"
    • 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."
  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, so safety is covered; the description adds real value beyond that by disclosing the outcome properties: compact deterministic positions, no overlap, reserved routing gutters, and separated cross-kind regions. It still does not say whether hand-placed cells lose their positions or whether the operation is reversible, which matters for a destructive whole-canvas mutation.

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, front-loaded with the action and scope, then the differentiation. Nearly every clause carries information (kinds list, layout properties, sibling contrast), though the parenthetical kind list and stacked property phrases make the second half heavy.

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 zero-required-parameter destructive mutation with an output-schema-free surface, the description covers what it does and what the result looks like geometrically. The missing pieces are the fate of manual positioning and the relationship to the per-kind layout tools, both of which an agent would want before committing.

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 both parameters are documented in the schema, including expectedProjectId's override semantics, so the baseline of 3 applies. The description adds nothing about expectedProjectId or how the session project is used, and offers no explanation for the opaque '_unused' parameter.

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) and resource (the WHOLE canvas) plus the mechanism (each kind's dedicated layout engine) and enumerates the kinds covered. The scope word 'WHOLE' and the explicit contrast with arrange_cells let an agent identify the tool without opening the 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?

Provides an explicit alternative and trigger: use this to tidy a canvas where arrange_cells 'only makes a grid.' It also flags itself as the only engine layout tool for arch and captable. The gap is that the per-kind siblings (auto_layout_org, auto_layout_journey, auto_layout_process, auto_layout_mcd) are never addressed, so an agent cannot tell whether to run this whole-canvas tool or a kind-specific one.

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.