Skip to main content
Glama

Impri

Create watcher from preset

impri_create_watcher_from_preset

Create a watcher from a preset template by supplying the preset id and param values.

Presets handle all watcher config construction — URL building, keyword setup, SSRF validation — so you only provide the param values listed by impri_list_watcher_presets.

The schedule defaults to the preset's recommended interval but can be overridden. The name defaults to "{preset title}: {primary param value}" if omitted.

Returns { watcher_id, name, kind, status, next_run_at }.

Examples:

Watch the HN front page (no params needed): preset_id: "hn-front-page" params: {}

Watch a subreddit for new posts: preset_id: "reddit-subreddit" params: { subreddit: "MachineLearning" }

Watch a GitHub repo for new releases, check every 2 hours: preset_id: "github-releases" params: { owner: "fastify", repo: "fastify" } schedule: { every: "2h" }

Watch HN for keyword with a custom min_points threshold: preset_id: "hn-keyword" params: { keyword: "rust programming", min_points: "25" }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoOptional display name for the watcher. Defaults to "{preset title}: {primary param value}" when omitted.
paramsYesKey/value map of param values as strings. Required params must be present; optional params may be omitted to use preset defaults.
scheduleNoOptional schedule override. Omit to use the preset's default schedule.
preset_idYesPreset identifier from impri_list_watcher_presets (e.g. "hn-front-page", "reddit-subreddit", "github-releases").

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes
nameYes
statusYes
watcher_idYes
next_run_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.