Skip to main content
Glama
verisoft-ai

windows2-mcp

by verisoft-ai

get_windows

Read-only

Retrieve all visible windows, including untitled ones. Use the returned handle to switch focus or className to identify popups and dialogs.

Instructions

Get all visible windows including untitled ones. Returns an array of { handle, title, className } objects. Use handle to switch to any window (including those with no title) via switch_to_window. Use className to identify untitled windows such as popups and dialogs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The readOnlyHint annotation covers the read-only safety aspect, and the description adds valuable behavioral details such as including untitled windows and the structure of returned objects. It explains how the data can be used, which goes beyond annotations.

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?

Two concise sentences that front-load the core purpose, mention the return type, and give examples of usage. No redundant words or filler.

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

Completeness5/5

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

For a zero-parameter, no-output-schema tool, the description covers essential information: what it returns, how to use the fields, and the specific use case for untitled windows. This is sufficient for an agent to select and invoke the tool correctly.

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

Parameters4/5

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

The tool has zero parameters, and the schema is empty, so there is no parameter semantics to clarify. The description focuses on return values, which is appropriate here.

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?

The description clearly states the tool retrieves all visible windows including untitled ones, and specifies the return shape. It distinguishes itself from sibling tools like get_window_handles by mentioning the className and untitled support.

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?

Provides clear guidance on using the handle for switching via switch_to_window and using className to identify untitled windows. Though it doesn't explicitly name alternative tools, the practical use cases are well conveyed.

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/verisoft-ai/windows2-mcp'

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