Skip to main content
Glama

workflow_watch

Monitor desktop windows, notifications, or file downloads and start a routine or return when the event fires, enabling agents to wait for changes without blocking the user.

Instructions

Let the resident host watch for something and tell you, or start a routine when it happens: a window opening or closing, text in a window, a notification, a file finishing. wait returns when it fires.

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": {
      "action": "<action>"
    },
    "name": "workflow_watch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoWatch id.
inNoWindow whose text to watch.
argsNoArguments for then; {match}, {file}, {title} are filled in.
fileNoFile path that should finish downloading.
goneNoFire when it goes away instead.
textNoText to watch for (with in).
thenNoRoutine to start when it fires.
actionYes
windowNoWindow title part.
timeout_msNoFor wait: how long to wait, default 50000.
allow_finalNoThe user agreed now to the routine's final steps.
notificationNoNotification text part.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden, and it does disclose the key trait that the watcher can launch a routine as a side effect and that wait blocks until firing. It omits important behavior: whether watches persist across restarts, what add returns (an id?), how remove cleans up, and the consent meaning of the routine's final steps. A multi-action, event-driven tool with no annotation coverage warrants more disclosure than this.

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?

Two short sentences with the core capability front-loaded and the blocking behavior of wait appended as a useful footnote. The trigger list is slightly run-on but every item maps to a real input path, so no wording is wasted.

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 12-parameter tool with five actions (add, list, show, wait, remove), a nested args object, no annotations, and no output schema, the description covers only the add/wait path. An agent gets no picture of what list or show return or how id-based remove works, leaving the non-trigger actions effectively undocumented.

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 92%, so the parameters are already well documented, which sets the baseline at 3. The description adds modest value by mapping real-world triggers (a window opening or closing, text, a notification, a file finishing) onto the envelope, but it says nothing about the then/args templating, timeout_ms behavior, or the allow_final consent parameter.

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 concrete capability: watching for host events (window open/close, text in a window, a notification, a file finishing) and optionally starting a routine when the event fires. The enumerated trigger types make the resource specific rather than tautological, though the framing 'watch for something' is loose at the start. It does not name any sibling tool, so differentiation from workflow_routine_run or workflow_job relies on inference.

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 returns when it fires' hints that the wait action blocks until the event occurs, but the description never says when to use add versus list, show, or remove. There is no guidance on prerequisites, cleanup of watches, or when a routine trigger is preferable to a synchronous wait.

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