Skip to main content
Glama

window_layout

DestructiveIdempotent

Save, restore, list, and delete named browser window layouts. Restore recognizes windows by tab URL overlap and repositions them.

Instructions

Save the current window arrangement under a name, restore one, list or delete saved ones. save overwrites a same-named layout without asking. Window ids do not survive a browser restart, so restore recognises windows by the overlap of their tab URLs (same type required) and repositions the best match — windows it cannot recognise are reported, not guessed. Needs extension >= 1.14.0 for window geometry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoLayout name, required except for list
actionYessave snapshots every window; restore repositions the recognised ones
Behavior5/5

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

The description adds substantial behavioral context beyond the annotations: save overwrites without asking, restore uses URL-overlap matching because window IDs don't survive restarts, and unrecognized windows are reported rather than guessed. This fully discloses the tool's quirks and limitations.

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 compact and front-loaded with the core actions. Every sentence provides value: overwrite behavior, recognition logic, and the version requirement—no filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite lacking an output schema, the description covers the essential behaviors and edge cases: overwriting, window ID instability, matching strategy, and version dependency. This is sufficient for an agent to invoke the tool correctly across all actions.

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 100%, so the baseline is 3, but the description adds meaningful semantics: name is required except for list, and action descriptions like 'save snapshots every window' clarify the effect. This goes beyond the simple enum descriptions in the schema.

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 saves, restores, lists, or deletes named window arrangements, distinguishing it from sibling tools like tile_windows or move_tab. The verb+resource structure is explicit and specific.

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 context is implied by the action enum and the description's narrative, but there's no explicit guidance on when to use this tool versus alternatives, nor any exclusions or alternative recommendations. The version requirement is a partial prerequisite note but not a full usage guideline.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/frsorrentino/chrome-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server