Skip to main content
Glama
scrape-mcp
by guanyuyan

web_schedule

Schedule recurring web page or sitemap monitoring tasks, set check intervals, and send webhook notifications when changes are detected.

Instructions

管理定时监控任务:按间隔执行 web_watch / web_index,变更后推送 webhook。

任务本身不抓取,只记录"盯什么、多久一次、变化后通知谁";实际执行由本机 scrape-mcp schedule daemon 完成(也可用 action=run 手动跑一次)。 首次执行只建立基线,不算变更、不发通知;暂停的任务保留状态但不再被 daemon 执行。 同 kind + url + selector 只有一条任务,重复 create 视为更新间隔与通知地址。

Args: action: list / get / create / pause / resume / delete / run,默认 list。 id: 任务 ID;除 list 与 create 外的动作必填(可从 list 结果拿到)。 kind: watch(对比正文/区块)或 index(对比 sitemap 清单),默认 watch。 url: 目标网页或站点 URL(create 时必填)。 selector: 只看页面内某个区块(CSS 选择器),仅 kind=watch 有效。 interval_s: 执行间隔(秒),默认 3600,允许 60 ~ 604800(一周)。 webhook_url: 检测到变更后 POST 的地址(http/https);不传则只记录状态。 session: 执行时使用的登录态会话名,默认 default。 proxy: 执行时使用的代理;不传则按代理池分配,未配池时沿用全局配置。

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_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
urlNo
kindNowatch
proxyNo
actionNolist
sessionNodefault
selectorNo
interval_sNo
webhook_urlNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.25.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: first execution only establishes a baseline (no change, no notification), paused tasks retain state but stop being executed, and changes trigger a webhook POST. It does not say whether delete is permanent or whether action=run blocks, leaving gaps on the more destructive and long-running operations.

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 prose establishes the concept before the Args block, and the per-parameter lines are dense with no filler. The block is long but justified given nine undocumented parameters; the Args duplication is a necessity, not padding.

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 nine-parameter, annotation-free tool with an output schema, the description covers semantics, defaults, constraints, and lifecycle behavior. Remaining gaps are error/permission behavior (e.g., webhook or proxy failures) and whether delete is irreversible.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the Args section is the only documentation — and it covers all nine parameters with defaults, ranges (interval_s 60~604800, default 3600), the valid action list, the watch/index kind values, and conditional rules (id required for everything but list/create; selector only valid for kind=watch). This fully compensates for the empty schema.

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 opens with a specific verb+resource ("管理定时监控任务") and immediately scopes it: the task records what to watch, how often, and who to notify, dispatching to web_watch / web_index. It also explicitly distinguishes itself from direct-scrape siblings by stating "任务本身不抓取" and naming the daemon that actually executes.

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?

It gives the default action (list), the manual-execution path (action=run), and the dedupe rule (same kind+url+selector is one task, repeat create = update). What's missing is an explicit statement of when to call web_watch / web_index directly instead of scheduling, which is only implied by the daemon note.

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