Skip to main content
Glama
pironjulien

NexusWindows for Antigravity

window

Idempotent

Close a specified app or UI element by HWND, title, or process using UI Automation and WM_CLOSE, verify it closed, and report any Save prompt without responding.

Instructions

Manage a NAMED window (hwnd: number, title or process). action="close": close it cleanly (UI Automation, then WM_CLOSE), the closing is read back; a "Save?" prompt, if any, is reported, never answered. Example: {"action": "close", "hwnd": 123456}

Input Schema

NameRequiredDescriptionDefault
hwndYes
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Adds substantial behavior beyond annotations: it names the close sequence (UI Automation, then WM_CLOSE), states the closing is read back (verification), and clarifies a 'Save?' prompt is reported but never answered, which is key context given destructiveHint=false. Still silent on what other action values do and on side effects beyond closing.

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?

Front-loads the resource and target identification, then the action semantics, then a compact JSON example. Dense but each clause carries information; nothing is wasted.

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 2-parameter mutation tool with no output schema, the close path is well covered including verification and prompt handling. However, the free-form 'action' parameter's other possible values and their behavior are entirely undocumented, which is a meaningful gap.

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 description coverage is 0%, so the description carries the burden. It adds real meaning for 'hwnd' (accepts a number, a title, or a process), but 'action' is an unconstrained string documented only with the single value 'close', leaving the valid action vocabulary ambiguous.

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?

States a specific verb+resource ('manage a NAMED window') and identifies targets by hwnd, title, or process, which distinguishes it from the sibling 'windows' that presumably lists them. However, only the 'close' action is spelled out, so the full scope of 'manage' is not clear.

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?

The description implies usage (obtain/identify a window by hwnd, number, title, or process), but never explicitly says when to use this over 'windows' or 'act'. With sibling 'windows' present, an explicit 'call windows first to get the hwnd' instruction would have made this a 4-5.

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

Deploy Server

Other Tools