Skip to main content
Glama
Ding-Ding-Projects

lowlevel-computer-use-mcp

resize_hidden_window

Resize a specified hidden desktop window by exact HWND and process identity, returning outer and client rectangles in physical pixels for headless GUI automation.

Instructions

Resize only an exact named hidden desktop HWND with fresh native identity and outer geometry.

Caller must freshly verify launch ancestry and HWND ownership before each call. No title selection, desktop discovery, activation, showing or process termination. Dimensions and returned outer/client rectangles are physical pixels.

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.4

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false). The description goes beyond that by disclosing the per-call ownership/ancestry verification requirement, the negative scope (no activation/showing/termination), and that rectangles are physical pixels — meaningful context annotations cannot express.

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?

Four short lines, front-loaded with the core action, then scope limits, then units. No filler, though the precondition and exclusion lines are terse enough that they read as fragments rather than fully developed guidance.

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?

An output schema exists, so returned rectangles need not be explained. But with eight undocumented required nested parameters at 0% coverage, the definition stops short of explaining what each identity field must contain or what failure looks like when identity checks mismatched, leaving a real gap for a mutation tool with no schema descriptions.

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?

Schema coverage is 0% and the eight required fields (handle, pid, creation_filetime, executable_path, desktop_name, expected_outer, width, height) have no descriptions at all. The description adds partial meaning — 'outer geometry' maps to expected_outer and physical-pixel units apply to width/height and returns — but it leaves the identity fields (pid, creation_filetime, executable_path, handle) largely for the agent to infer from the precondition sentence.

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?

States a specific verb (resize), a narrowly scoped resource (an exact named hidden desktop HWND), and the identity/geometry basis for the operation. The word 'hidden' plus 'exact named' distinguishes it cleanly from the sibling resize_window and move_window tools without opening any schema.

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?

It gives a clear precondition ('Caller must freshly verify launch ancestry and HWND ownership before each call') and a useful exclusion list (no title selection, desktop discovery, activation, showing, termination), which scopes the tool well. However, it never names an alternative tool for visible windows or for discovery, so the agent must infer the routing rather than being told.

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