Skip to main content
Glama

browser_watch

Start background polling tasks to monitor web pages for stock, price, or approval changes; check status or stop tasks as needed.

Instructions

后台监控页面变化:盯库存/价格/审批状态等。start 登记轮询任务,check 查询变化,stop 停止

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": "browser_watch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo任务 ID(start 时自定义,check/stop 时必填)
modeNostart 必填:监控方式
actionYesstart=新建监控;check=查询是否变化;stop=停止
targetNostart 必填:选择器 / 待监控文本 / JS 表达式
intervalMsNo轮询间隔毫秒,默认 5000

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the key trait that the work is backgrounded and polled rather than synchronously returned. It leaves important behavior unstated: task lifetime, whether polling continues across sessions, resource cost, what 'stop' cleans up, and how many concurrent tasks are allowed.

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 compact clauses, front-loaded with what is monitored followed by the action contract; no filler or repetition. Slightly more compression than ideal given nothing else carries the behavioral context, but every sentence earns its place.

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 5-parameter, annotation-free, output-schema-free polling tool, the description covers purpose and action semantics but omits what 'check' actually returns (a boolean, a diff, extracted values?) and how task IDs behave. An agent can invoke it, but must discover the result shape by trial.

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 100%, so the meaning of action, id, mode, target, and intervalMs is already documented, including the 5000ms default. The description only restates the action enum semantics ('start 登记轮询任务/check 查询变化/stop 停止') without adding format or constraint detail beyond the schema, so the baseline of 3 applies.

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 and resource: background monitoring of page changes (inventory, price, approval status), and it decomposes the three actions (start registers a polling task, check queries changes, stop stops). This clearly separates it from the one-shot siblings like browser_wait or browser_snapshot, though it never names an alternative.

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?

The example targets (库存/价格/审批状态) imply when the tool is appropriate, and the action breakdown implies the start→check→stop lifecycle. However, there is no explicit guidance on when to prefer this over browser_wait or repeated browser_snapshot calls, nor on when not to use it or on task limits.

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