Skip to main content
Glama

propose_watch

Propose an approval-gated watch that starts a run when command output or a read-only tool call matches a trigger, and wait for approval under Needs you before anything runs.

Instructions

Propose a watch that starts a run when something happens (a command whose new output lines start one, or a read-only mcp__ tool call). It waits for the person under Needs you, who sees the exact command; nothing runs until they approve. Use it instead of asking how to watch for X when the trigger is clear.

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

Input Schema

NameRequiredDescriptionDefault
nameYesA short name for the watch; an existing name means replacing that watch
toolNoAn mcp__ connector tool to call instead of a command (read-only)
firesNoRun on new lines (default) or when the output changes
inputNoThe tool's input
matchNoA regular expression: the tool's answer lines that count, or for a command the output lines that count
stepsNoInstead of tool + input: up to 4 read-only calls in order (e.g. a browser navigate, then get_page_text with {{tabId}}); the last answer is read with match
ignoreNoA regular expression: lines it matches are left out
reasonNoOne short sentence: what this watch is for
statusNoOptional status rules: {rules: [{match, status, tone?, run?}], default?}
urgentNotrue: its news starts a run even within the goal's gap between watch runs
commandNoA shell command whose output lines are what to watch (give this or tool)
finallyNoWith steps: a call that always runs after them, even after a failure (e.g. close the tab)
run_scopeNoA goal run passes its run id here; anyone else leaves it out.
every_minutesNoHow often to check (default 5). Each run it starts is a full model run: pick the longest interval the source allows (goal-watches skill, Fewer quiet runs)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.32.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / every_minutes / maximum
      Added value: +9007199254740991
    • removedInput schema / properties / finally / additionalProperties
      Removed value: -false
    • addedInput schema / properties / finally / properties / input / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / input / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / steps / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / steps / items / properties / input / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / steps / items / properties / pick / additionalProperties / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "regex": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "regex"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "json": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "json"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "regex": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "regex"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "json": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "json"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / steps / items / properties / pick / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden, and it discloses the key lifecycle fact: the proposal lands under 'Needs you', the person sees the exact command, and nothing executes until approval. It does not cover remaining behavioral questions such as what the call returns, what happens to an existing watch with the same name, or the runtime/cost character of each triggered run (that detail lives only in the every_minutes parameter text).

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?

Three sentences, front-loaded with the definition, then the approval gate, then the routing advice. Dense but each sentence does work; the middle sentence's phrasing ('It waits for the person under Needs you') is slightly compressed in a way that takes a second read.

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 14-parameter, nested-object proposal tool with no output schema and no annotations, the description covers the essential decision (propose vs. ask) and the approval lifecycle. It leaves the return value and the relationship to existing watches implicit, which the schema partially covers via the 'name' parameter's replacement note.

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 coverage is 100%, so all 14 parameters, including nested steps/pick/expect/retry, are already documented in the schema. The description adds the conceptual split between a command trigger and a tool trigger and notes that the approver sees the exact command, but adds no meaning beyond that baseline.

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 names a specific verb and resource ('Propose a watch') and immediately pins down the trigger semantics: a command whose new output lines start a run, or a read-only mcp__ tool call. That is enough for an agent to tell this apart from a report/read tool like watch_report or from propose_curation without opening the schema.

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 instead of asking how to watch for X when the trigger is clear' gives an explicit positive condition and names the behavior it replaces (asking the user for setup instructions). It stops short of stating when not to use it — e.g. what to do when the trigger is ambiguous or when a plain recurring run is enough.

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