Skip to main content
Glama

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

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

NameRequiredDescriptionDefault
kindYes
nameYes
statusYes
watcher_idYes
next_run_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-idempotent, open-world and non-destructive behavior, so the bar is lower. The description adds genuinely useful context beyond them: presets perform URL building, keyword setup and SSRF validation; name and schedule default to preset values; and the return shape is stated. It does not mention permission requirements or error behavior, keeping it out of the top band.

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 core action and the preset-responsibility rationale, then defaults, then return shape, then examples. Every sentence earns its place, though four examples is on the generous side for a tool with only four parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, yet the description still names the returned fields briefly, and it correctly delegates the open-ended param vocabulary to impri_list_watcher_presets rather than trying to enumerate every preset inline. For a nested-object tool whose param keys are preset-dependent, this is as complete as a description can reasonably be.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: it explains that params keys come from the preset listing tool, that schedule is an override of a preset default, and that name defaults to "{preset title}: {primary param value}". The examples show preset-specific param keys (subreddit, owner/repo, keyword/min_points) that the schema's free-form additionalProperties cannot convey.

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?

States a specific verb and resource (create a watcher from a preset template) and immediately distinguishes this path from raw watcher construction by explaining that presets handle all config building. It also points at the companion tool impri_list_watcher_presets as the source of valid ids and params, so an agent can separate it from impri_create_watcher.

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?

Gives clear usage context: supply preset_id plus param values obtained from impri_list_watcher_presets, with defaults applied when name/schedule are omitted. Four worked examples show concrete invocation patterns. It never explicitly states when to prefer this over the sibling impri_create_watcher, so it falls short of the top band.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.