Skip to main content
Glama

computer_get_window_position

Retrieve the current screen position of a specified window using its window ID. Returns coordinates for window management.

Instructions

Get the position of a window.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
window_idYesWindow identifier

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The verb 'Get' implies a read-only operation, which is a useful behavioral signal, and the description does not contradict any annotations. However, without annotations, the description carries the full burden and does not disclose coordinate space, whether the window must be visible or active, or failure behavior.

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?

The description is one short, front-loaded sentence with no filler. It is concise, though it is terse enough that it omits details that could aid the agent in selecting or invoking the tool.

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

Completeness3/5

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

For a simple one-parameter getter with an output schema, the description is minimally adequate. It correctly conveys the core operation, but it lacks contextual details like coordinate system conventions and does not position the tool relative to its siblings.

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 documents the single parameter, window_id, as 'Window identifier' with 100% coverage. The description adds no extra meaning about how the identifier should be obtained or formatted, so a baseline score of 3 is appropriate.

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?

The description uses a specific verb ('Get') and resource ('position of a window'), clearly stating what the tool does. It is distinguishable from siblings like get_window_size and set_window_position, though it does not explicitly contrast itself with them.

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 no guidance about when to use this tool instead of alternatives such as get_active_window or set_window_position. There are no explicit contexts, prerequisites, or exclusions, so the agent must infer usage entirely from the tool name.

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