Skip to main content
Glama
NasirSultan

desktop-control-mcp

by NasirSultan

Minimize folder window

minimize_folder_window

Minimize an open File Explorer window for a given folder path. If multiple windows show the same folder, use the window handle to pick the correct one.

Instructions

Minimize an open File Explorer window for the given folder.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hwndNoWindow handle (hwnd) to pick a specific window when more than one Explorer window shows this path. Omit it first - if there are multiple matches, the tool lists their hwnds so you can retry with the right one. Get it from list_open_folders or the error message.
pathYesFolder path, or a friendly name like "documents"
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure; it clearly communicates the core behavior of minimizing a window. However, it does not describe what happens when the window is not found, or the multi-match behavior with hwnds, although the input schema's hwnd description partially fills that gap. The absence of side-effect detail is a moderate gap for a state-changing operation.

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 a single, focused sentence with no filler. It front-loads the action and object, making it immediately scannable and easy for an agent to parse.

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?

For a simple window-minimizing action, the description plus the detailed hwnd parameter guidance is nearly complete. There is no output schema or mention of failure modes, but the tool's low complexity and the schema's behavior notes make it unlikely an agent will be badly misled.

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 100%, so the schema already documents both parameters well, including the rich hwnd retry flow. The description itself adds little parameter meaning beyond 'given folder,' so the baseline 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 states a specific verb ('Minimize') and resource ('an open File Explorer window for the given folder'), making the tool's purpose clear. It does not explicitly distinguish itself from siblings like minimize_app or focus_folder_window, but the 'File Explorer window' phrasing narrows the scope enough to avoid major confusion.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context: use this when you want to minimize an existing File Explorer window for a specific path. It does not mention alternatives or exclusions, but the single-purpose nature of 'Minimize an open File Explorer window for the given folder' gives sufficient situational guidance.

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/NasirSultan/desktop-control-mcp'

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