Skip to main content
Glama

WatchFor

Create monitor

create_monitor

Creates a monitor (write scope). type is a type from the monitor-type catalog, and target and config follow that type's target format and config fields: config is validated against the type (wrong values are rejected with the field path; keys the type does not use are dropped). locations are probe location ids. Interval is in seconds and is validated against the plan's per-type minimum. Name is at most 50 characters; up to 10 tags. is_paused: true creates it paused; scheduling_strategy is roundrobin (default), random or parallel. Targets in private, loopback or link-local address space are rejected. clone_from_monitor_id (cloneFromMonitorId also works) copies the source's alert rules and config, and any omitted field takes the source's value; the clone is validated like a new monitor, so a copied setting a create would refuse (an sftp source without username) is a 400 naming it, and that value then goes in config. Credentials (config fields marked secret: mailbox/SMTP/FTP passwords, SSH keys) are write-only: stored encrypted and returned as "[redacted]". Mail types: imap, pop3, smtp (optional login on 587/465), email_roundtrip (interval ≥ 300 s).

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": {
      "name": "<name>",
      "type": "<type>"
    },
    "name": "create_monitor"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name, up to 50 characters
tagsNoTags, up to 10 (replaces the list)
typeYesMonitor type from the monitor-type catalog: playwright = browser check (Playwright script), browser = Core Web Vitals (Lighthouse)
configNoType-specific settings: the config fields of the type
targetNoWhat to check, in the type's target format; required for every type but heartbeat, whose ping URL the server assigns (ping_url in the result). smtp: hostname only, port in config.port
intervalNoCheck interval in seconds. Omitted: the dashboard's default for the type — 60 s (page integrity 900, email round trip 600), raised to the plan's minimum for the type; a heartbeat has none — it follows config.periodSeconds / cronExpression
is_pausedNotrue = create it paused (no checks until it is resumed); default false
locationsNoProbe location ids. At least one is required, except for heartbeat monitors, which take none.
descriptionNoFree-text note, up to 500 characters
cloneFromMonitorIdNoSame as clone_from_monitor_id (older spelling)
scheduling_strategyNoHow the locations take turns: roundrobin (default, one location per check in turn), random, or parallel (every location on every check — plan-gated)
clone_from_monitor_idNoClone this monitor (same type): its alert rules, config and — when omitted here — target, interval, locations, tags are copied

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Goes well past the annotations (which only say it is a non-idempotent, non-destructive write): it discloses that config is validated against the type with unknown keys silently dropped and errors carrying a field path, that private/loopback/link-local targets are rejected, that credentials are write-only and returned as '[redacted]', and that clones are re-validated like new monitors with 400s naming the offending field. These are exactly the side effects and failure modes an agent cannot get from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One dense paragraph packs in high-value detail but buries it in a wall of text, and several clauses merely repeat the schema (name length, tag cap, is_paused behavior, the three scheduling_strategy values). The most important constraints - type-driven config validation and clone inheritance - are not front-loaded.

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 12-parameter create tool with a nested free-form config object and no output schema, the definition covers prerequisites, validation, credential handling, and even return hints (ping_url in the result). It stops short of describing the broader response payload, but nothing critical for a correct call is missing.

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 the baseline is 3, and the description earns an increment by explaining cross-parameter semantics the schema cannot: config fields are type-dependent, omitted clone fields inherit from the source, interval is validated against a per-type plan minimum, and scheduling_strategy parallel is plan-gated. Some value is lost to restating schema facts (name ≤ 50 chars, up to 10 tags, is_paused true means paused).

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 and resource plus the write-scope qualifier ('Creates a monitor (write scope)'), which is enough to separate it from get_monitor or update_monitor by name alone. It never names a sibling explicitly, so the differentiation is inferable rather than stated.

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?

Usage is implied by 'creates' and by the clone_from_monitor_id path, which offers an alternative way to populate a monitor from an existing one. There is no explicit routing guidance such as when to create versus update_monitor, or a pointer to get_monitor_types for the type catalog, leaving the agent to infer the boundary.

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.