Skip to main content
Glama

Arrange board

arrange_board
Destructive

Tidy up the board, like Figma's Tidy up: screens keep their reading order and rows, each row aligned on its top with even spacing (80 px), rows 160 px apart; each note travels with the screen it is about (the nearest one), stacked on its right or below it. Locked nodes stay. It is one undo step for the people on the board. Without ids: every screen, note and section of the page (or section) parentId; with ids: only those (and their screens' notes), the rest stays put.

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": {
      "fileId": "<fileId>"
    },
    "name": "arrange_board"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNoOnly these frames, notes or sections (same page or section).
fileIdYes
parentIdNoPage or section to tidy (get_file). Defaults to the parent of ids, else the first page. In a section, the content starts at 40 px from its edge and the section grows to hold it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the destructiveHint annotation, the description discloses concrete side effects: exact spacing/alignment applied, that locked nodes are untouched, that notes follow the nearest screen, and that the whole operation is a single undo step. It stops short of stating permission requirements or what the response contains, but adds substantial value the annotations do not.

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?

One dense paragraph, front-loaded with the action, then layout math, then scoping rules. Every sentence carries information, but the run-on phrasing around the ids/parentId behavior would read better as separated clauses or bullets.

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, no-output-schema layout tool, it covers what changes, what is preserved (locked nodes, unselected content), undoability, and target selection. Missing only permission/auth expectations and any error/return indication, which are minor here.

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 67%, and the description compensates well by explaining the no-ids default (whole page or section), the partial-ids behavior (only those plus their screens' notes, everything else stays put), and the parentId fallback chain. Only fileId and the exact form of ids remain unelaborated.

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?

Opens with a specific action and resource ('Tidy up the board') and grounds it in a familiar analogue (Figma's Tidy up), then spells out the resulting layout. It does not explicitly contrast with siblings such as check_layout, but the described transform is unmistakable.

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 is implied by the scope rules ('Without ids: every screen...; with ids: only those...'), which tell the agent how to target the operation but not when to prefer this tool over check_layout or manual node placement. There are no explicit exclusions or prerequisites (e.g., permissions).

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.