Skip to main content
Glama
windows-computer-use-mcp

windows-computer-use-mcp

computer_close_window

Closes an allowed visible Windows window normally, prompting the user first when unsaved work may be lost.

Instructions

Request a normal close for an allowed visible window. Ask the user before closing unsaved work.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "handle": "<handle>"
    },
    "name": "computer_close_window"
  }
}

Input Schema

NameRequiredDescriptionDefault
handleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that this is a polite/request-style close rather than a forced kill, and it defines an unsaved-work safeguard, but it leaves unexplained what 'allowed' means, where the handle comes from, what happens on failure, and whether the process actually terminates.

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?

Two short sentences with the main action front-loaded and the safety caveat second; nothing is padded. It is arguably too terse given the undocumented handle parameter, but no sentence 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 simple one-parameter tool with no output schema the basics are covered, but the undefined 'handle' parameter and ambiguous 'allowed' qualifier leave real gaps. An agent could invoke it, but not confidently pick the argument.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single required parameter 'handle' has 0% schema description coverage and the description never mentions it, so an agent gets no guidance on its format or provenance (presumably from computer_list_windows). This is exactly the case where the description must compensate and does not.

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 and resource ('close ... window') and qualifies it as a 'normal close', which signals the distinction from any forced-termination behavior. It does not name a sibling or explicitly contrast alternatives, so it falls short of a 5.

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?

Implies eligibility conditions ('an allowed visible window') and gives one concrete escalation rule ('Ask the user before closing unsaved work'). However, it never says when to prefer this over other window operations or what to do if the window is not 'allowed' or not visible.

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