Skip to main content
Glama
demoreel-mcp
by rkapdi

list_windows

Lists on-screen app windows with their bounds and displays so you can pick the right capture target for recording or screenshots.

Instructions

List on-screen app windows with their bounds (top-left origin, points) and the displays. Use it to pick a capture target.

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": "list_windows"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.9/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 disclosure burden, and it does add real value by specifying the coordinate system (top-left origin, points) and that displays are returned alongside windows. However, it is silent on prerequisites such as screen-recording permission, on window ordering/z-order, and on whether off-screen or minimized windows are included.

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 short sentences with no filler; the resource description is front-loaded and the usage cue follows immediately. Nothing here could be cut without losing information.

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 no-argument read tool with no output schema, the description adequately sketches the return payload (windows, bounds, coordinate system, displays). It would be complete with a single note on required macOS screen-recording permission, which materially affects invocation success.

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 takes zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. The note about points and origin is a bonus rather than a parameter clarification.

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 names a specific verb and resource ("List on-screen app windows") and scopes it to windows with bounds and displays. It does not name a sibling tool, but the purpose is unambiguous and separable from arrange_window or screenshot based on the wording alone.

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?

"Use it to pick a capture target" gives a clear situational trigger that ties the tool to a downstream capture workflow. It stops short of naming alternatives (e.g., screenshot) or stating when not to use it, so it falls just short of the explicit when/when-not/alternatives bar.

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