Skip to main content
Glama
bluechonk

dsh-computer-use

by bluechonk

list_windows

Retrieve window bounds and focus information for a specified application to support desktop control and UI automation.

Instructions

List an application's windows with bounds and focus info.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_refYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.14

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. 'List' implies a read-only operation and the description discloses that bounds and focus info are returned, but it does not mention permission requirements, behavior for unknown applications, or potential errors.

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, front-loaded sentence with no filler. It names the action, the target, and the key output fields efficiently.

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

Completeness2/5

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

For a tool with no annotations, no output schema, and a nested object parameter, the description is thin. It does not explain how to specify the application, whether all app_ref fields are needed, or what happens on failure, leaving important context to the agent.

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?

Schema description coverage is 0%, and the description does not explain how to construct app_ref or which fields (pid, name, bundle_id) should be supplied. The schema itself provides property names and types, but the description adds no compensating semantic detail.

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 ('List'), a clear resource ('an application's windows'), and the kind of data returned ('bounds and focus info'). It is distinguishable from sibling tools like list_apps and list_displays, though it does not explicitly name them.

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?

There is no guidance on when to use this tool versus alternatives, no mention of prerequisites such as getting an app reference first, and no stated exclusions. The intended usage must be inferred from the name and description.

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