Skip to main content
Glama

Wait for a window to appear

exza_desktop_window_wait
Read-onlyIdempotent

Wait up to 8 seconds for a matching macOS or Windows visible window title or application process; never opens or modifies the app.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "exza_desktop_window_wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
timeoutSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is largely covered; the description adds cross-platform scope and the 8-second ceiling. It does not disclose what happens when the wait times out (error vs. negative result) or whether matching is exact or substring, which is the most important behavioral unknown for a polling tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no redundant padding; the negation ('never opens or modifies the app') is placed after the core purpose where it belongs. It is dense rather than wasteful, though it packs two distinct ideas into one clause chain.

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

Completeness3/5

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

For a simple two-parameter tool with no output schema, the description covers purpose and the non-mutating guarantee, but omits the result shape and the timeout behavior — the two things an agent most needs to branch on after calling. That is a meaningful completeness gap for an otherwise simple tool.

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 0%, so the description must carry the load; it does partially, clarifying that 'query' can match either a window title or an application process name, and that timeoutSeconds is capped at 8 seconds. It does not clarify match semantics (substring, case sensitivity, ambiguity when multiple windows match), leaving real gaps.

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 ('Wait') and resource ('matching macOS or Windows visible window title or application process'), so an agent can tell this is a polling/wait operation rather than a listing or focus operation like the sibling exza_desktop_windows or exza_desktop_focus_window. It stops short of explicitly naming a sibling it replaces, which keeps it from a 5.

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

Usage Guidelines3/5

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

Usage is only implied: 'wait ... for a matching window' suggests calling this after a launch or state change, but the description never says when to prefer this over the sibling list/focus tools, nor when not to call it. No prerequisites or alternative-selection rules are stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources