Skip to main content
Glama

watch

Monitor a window or screen for visual changes, returning the updated screenshot once a change is detected. Specify window title or process name to target.

Instructions

Poll a window until its visual content changes, then return the changed screenshot. Requires window_title or process_name — frontmost capture is not supported for watch mode. Screen mode uses 'screen' allowlist sentinel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoCapture mode: 'window' (default) or 'screen'. Screen mode requires '__screen__' in the allowlist.window
process_nameNoProcess name to watch (e.g. 'chrome'). More stable than window titles. Either window_title or process_name is required.
window_titleNoTitle of the window to watch. Either window_title or process_name is required.
timeout_secondsNoMaximum time to wait for a change in seconds (1–300, default 30). Returns last frame if no change detected.
poll_interval_msNoHow often to poll for changes in milliseconds (100–60000, default 1000).
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals key behaviors: polling until change, returning the changed screenshot, requiring explicit window/process identification, and the screen mode sentinel. It does not describe side effects (though a watch operation is inherently non-mutating) or error behaviors, but the explicit constraints and workflow are well covered.

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 extremely concise—only two sentences—yet packs in the primary action, the return value, and critical constraints. It is front-loaded with the verb and resource, making it easy to scan. No unnecessary words.

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?

Given the tool's moderate complexity (five parameters, no output schema, no annotations), the description covers the essential context: what it does, the requirement for window_title/process_name, and the screen mode sentinel. It does not explain timeout behavior or return format in detail, but these are partially covered by the schema's parameter descriptions. A complete description could mention the timeout fallback, but this is still fairly complete.

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?

The input schema already provides 100% coverage with detailed descriptions for all parameters, including the requirement for either window_title or process_name and the mode options. The description reinforces these constraints (e.g., frontmost not supported, '__screen__' sentinel) but adds minimal new meaning beyond what the schema already offers. The high schema coverage warrants a baseline 3.

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's purpose: to poll a window until its visual content changes, then return the changed screenshot. It uses a specific verb ('poll') and resource (window content), which distinguishes it from siblings like 'capture' or 'see' that likely take single snapshots.

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?

The description provides clear context on when to use the tool: when you need to watch for visual changes in a window. It also includes important exclusions (frontmost capture not supported) and a specific requirement (window_title or process_name). However, it does not explicitly compare to alternatives or state when not to use it beyond the frontmost limitation.

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/florian-priegnitz/A-Eyes'

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