Skip to main content
Glama

windows

Lists open GUI applications on a hyprcage virtual screen with their IDs, titles, and app IDs so agents can identify and target them without touching user monitors.

Instructions

List the windows of a screen with their ids, titles and app ids.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "windows"
  }
}

Input Schema

NameRequiredDescriptionDefault
screenNoscreen name; optional when the session owns exactly one screen

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

There are no annotations, so the description carries the full burden. It implies a safe read via 'List' and discloses the returned fields, but says nothing about ordering, whether minimized/hidden windows are included, or error behavior when the screen argument is ambiguous — the last point is only covered by the schema, not the description.

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?

A single sentence with zero filler, front-loading the verb and naming exactly what comes back. Nothing needs trimming and nothing essential is buried.

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 read-only lister with one optional, fully documented parameter and no output schema, stating the returned fields covers most of the gap. The remaining omissions — ordering and edge-case behavior — are minor for this level of tool complexity.

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% and the single 'screen' parameter already documents its optionality condition ('optional when the session owns exactly one screen'). The description adds no extra meaning about accepted values or matching semantics, so this sits at the baseline for a fully documented schema.

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 (list) and resource (windows of a screen) and enumerates the returned fields (ids, titles, app ids), which clearly separates it from screen_list, screenshot, or app_launch. It stops short of naming any sibling explicitly, but the resource is distinct enough that an agent can route correctly.

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

Usage Guidelines2/5

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

The description only asserts what the tool does; it gives no when-to-use, no prerequisite, and no contrast with alternatives such as screen_list or screenshot. An agent must infer that this is the discovery step before clicking/typing into a specific window.

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