Skip to main content
Glama

move_window

Move a macOS window to any top-left position, with optional targeting by app, window ID, or display. Specify coordinates to place windows precisely.

Instructions

Move a macOS window to a display-aware top-left position.

Args: x: Target top-left x coordinate y: Target top-left y coordinate app_name: Optional app name, bundle id, or process name window_id: Optional CoreGraphics window id window_index: Optional 1-based index among the app's windows display_index: Optional 1-based display index for clamping placement

Returns: JSON string with final window metadata, or an error message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYes
yYes
app_nameNo
window_idNo
window_indexNo
display_indexNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses that the position is display-aware, with clamping via display_index, and returns JSON with final metadata or an error. However, it does not detail behavior for invalid coordinates, missing windows, or system requirements.

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 with a front-loaded summary line, structured Args and Returns sections, and no unnecessary words.

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 6 parameters (2 required) and an output schema mentioned, the description covers all parameters and return format. It could elaborate on 'display-aware clamping' and absolute vs relative movement, but it is largely complete.

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 description coverage is 0%, and the description adds value by explaining each parameter's purpose (e.g., 'target top-left x coordinate', 'Optional app name, bundle id, or process name'). This compensates for the schema's lack of descriptions.

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 it moves a macOS window to a display-aware top-left position, using a specific verb and resource. It distinguishes from sibling tools like focus_window, resize_window, tile_windows, etc.

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?

No explicit guidance on when to use this tool versus alternatives like resize_window, tile_windows, or focus_window. While optional identifiers are listed, there is no discussion of prerequisites or when to prefer one identifier over another.

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/altic-dev/altic-mcp'

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