Skip to main content
Glama

tile_windows

Idempotent

Tile Chrome windows on a monitor in equal grid, column, or row layouts with adjustable padding. Specify windows or include types, using a reference window's monitor; restores maximized windows first to apply bounds.

Instructions

Tile Chrome windows over one monitor in equal parts with no gap. Only Chrome windows. The monitor is the one of a window already on it, whose work area is read from a page there: at least one target needs a scriptable tab (not chrome://). Maximized windows are restored first, since maximized ignores bounds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
areaNoMonitor area to fill, when no target window has a scriptable tab to read it from
layoutNocolumns splits left to right, rows top to bottom, grid keeps tiles as square as it cangrid
paddingNoPx of empty margin kept inside the work area
window_idsNoWindows to tile; omitted = every normal window on the reference monitor
include_typesNoWindow types to include; omitted = normal only
reference_window_idNoWindow whose monitor is used; omitted = the focused one

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.15.0

TDQS

A3.8/5.0
Behavior4/5

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

The description discloses important behavioral nuances beyond the annotations, such as 'Maximized windows are restored first, since maximized ignores bounds' and the prerequisite that at least one target must have a scriptable tab. These details inform the agent about side effects and conditions, complementing the annotations (readOnlyHint false, idempotentHint true) without contradicting them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, using two sentences to convey purpose, scope, and behavioral details. It is front-loaded with the core action ('Tile Chrome windows over one monitor in equal parts with no gap') and then efficiently covers constraints and edge cases. Every sentence adds value without redundancy or fluff.

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?

Given the complexity (6 parameters, nested object, enums) and the rich schema descriptions, the description is largely complete. It covers the main purpose, scope, prerequisites, and a key behavioral quirk. It does not mention return values or error handling, but those are not expected from the schema's lack of an output schema. The description fills the context gap well for an agent to decide and invoke the tool.

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?

The input schema already provides descriptions for all six parameters, and these descriptions are specific and informative (e.g., layout 'columns splits left to right', padding 'Px of empty margin kept inside the work area'). The tool description adds little beyond what the schema says; it reinforces the overall behavior but does not materially enhance parameter understanding. With 100% schema coverage, a baseline of 3 is appropriate.

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 clearly states the tool's purpose: 'Tile Chrome windows over one monitor in equal parts with no gap.' It specifies the resource (Chrome windows), the action (tile), and the scope (one monitor, equal parts, no gap). The additional clarification 'Only Chrome windows' further narrows the scope, leaving no ambiguity about what the tool does.

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

Usage Guidelines2/5

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

The description provides implicit constraints (e.g., 'at least one target needs a scriptable tab') but does not explicitly state when to use this tool over alternatives. There is no comparison with sibling tools like 'window_layout' or 'move_tab', and no conditions like 'use this when...'. It lacks direct usage guidance for an agent choosing among similar window management tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.