Skip to main content
Glama

web_watch

Monitor web pages for changes by diffing against cached copies, scheduling recurring checks, and listing what changed and when. Watches persist across server restarts.

Instructions

Detect changes to a page. diff: compare it once with the cached copy (changed, similarity, added, removed). add: watch it on a schedule; list: what changed and when; check: look now; remove. Watches survive restarts and run while the server is up.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "web_watch"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoNeeded for add, diff, remove, a single check
labelNoName shown in list
actionNoadd (default) | diff | list | check | remove
refetchNodiff: false compares stored copies only
css_selectorNoWatch only this region
interval_secsNoDefault 3600, min 60

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.0.0
    • changedInput schema / properties / action / description
      Previous value: -"add (default), list, remove or check."New value: +"add (default) | diff | list | check | remove"
    • changedInput schema / properties / css_selector / description
      Previous value: -"Watch only the part of the page this CSS selector finds. Changes elsewhere are ignored,\nand if a redesign breaks the selector the region is relocated by fingerprint."New value: +"Watch only this region"
    • changedInput schema / properties / interval_secs / description
      Previous value: -"How often it is worth looking, in seconds. Default 3600, floor 60."New value: +"Default 3600, min 60"
    • changedInput schema / properties / label / description
      Previous value: -"A name to recognise it by in the list."New value: +"Name shown in list"
    • addedInput schema / properties / refetch
      Added value: +{
      +  "description": "diff: false compares stored copies only",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / url / description
      Previous value: -"The page. Required for add, remove and a single check."New value: +"Needed for add, diff, remove, a single check"
  2. First observedv1.0.3

TDQS

A3.9/5.0
Behavior4/5

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

Adds real behavioral context beyond the {readOnlyHint:false, openWorldHint:true} annotations: the tool is stateful in a specific way ('watches survive restarts and run while the server is up'), and it discloses the diff return fields (changed, similarity, added, removed). It does not cover rate limits, failure modes, or how long cached copies are retained.

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?

Front-loaded with the purpose, then a compact action map, then a single sentence on persistence. Dense and mostly waste-free, though the backtick-shorthand and missing punctuation make it slightly harder to scan than prose would be.

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 6-parameter, multi-mode tool with no output schema and no nested objects, the description covers each mode and even names the diff response fields. It leaves the return shape of add/list/check unspecified, which is a minor gap given no output schema exists.

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 the schema already documents every parameter including the action enum and defaults. The description reinforces which actions need a url ('add, diff, remove, a single check') but adds no syntax or format detail beyond the schema, so the baseline 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?

Opens with a specific verb+resource ('Detect changes to a page') and then enumerates the five sub-actions with one-line meanings, so the agent knows exactly what capability this provides. It stops short of naming a sibling for contrast, so a 4 rather than 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 Guidelines4/5

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

The action breakdown effectively routes the agent: 'diff' for a one-shot comparison, 'add' for scheduled watching, 'check' for an immediate look, 'list' for history, 'remove' to stop. That is clear context for choosing among modes, though there are no explicit when-not-to-use conditions or guidance on choosing this over web_fetch/web_capture.

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