{
  "name": "WatchFor",
  "title": "WatchFor",
  "displayName": "WatchFor",
  "description": "Uptime & infrastructure monitoring MCP server — tools over monitors and their checks, Playwright browser checks (test runs and run results), hosts, live diagnostics, alert rules, incidents, maintenance windows, contacts, notifications, status pages, on-call and the org audit trail.",
  "version": "1.0.0",
  "icon": "https://watchfor.io/icon.png",
  "iconUrl": "https://watchfor.io/icon.png",
  "logo": "https://watchfor.io/icon.png",
  "icons": [
    {
      "src": "https://watchfor.io/icon.png",
      "mimeType": "image/png"
    }
  ],
  "websiteUrl": "https://watchfor.io",
  "serverUrl": "https://watchfor.io/api/mcp",
  "transport": "streamable-http",
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://watchfor.io/api/mcp"
    }
  ],
  "supportedProtocolVersions": [
    "2025-11-25",
    "2025-06-18",
    "2025-03-26",
    "2024-11-05"
  ],
  "documentation": "https://watchfor.io/docs/api",
  "authentication": {
    "type": "oauth2",
    "authorization_server": "https://watchfor.io/.well-known/oauth-authorization-server",
    "fallback": "bearer"
  },
  "tools": [
    {
      "name": "get_summary",
      "title": "Get organization summary",
      "description": "Snapshot of the organization right now: monitors by effective status (up / down / degraded / paused / unknown, active count, health score), hosts running the agent (online / stale / offline / never), the combined fleet health, open incidents by severity, incidents started in the last 24 h, open maintenance windows, attention items (monitors with no notification route) and certificate and domain expiry across every SSL and RDAP monitor (counts plus the ten soonest). One call covers the whole organization, however many monitors it has."
    },
    {
      "name": "get_incident_stats",
      "title": "Get incident statistics",
      "description": "Aggregate incident statistics over a period: totals by severity, MTTR (mean time to resolve), MTBF, the five most unstable monitors, and counts[] per hour (24h) or per day (UTC, oldest first). Each bucket has a display label (bucket, like \"Nov 13\", no year) and bucket_start (ISO 8601, the sortable value)."
    },
    {
      "name": "get_report",
      "title": "Get reliability report",
      "description": "Org report for a period, always compared with the previous equal-length period: uptime, incidents, MTTR/MTBF, downtime, response-time trend, per-monitor rows (worst first), type-aware sections (SSL/domain expiry, Core Web Vitals, heartbeat check-ins, DNS blocklists, MCP tool drift, hosts running the agent) and plain-language insights. The same engine behind the dashboard Reports page and scheduled report emails. Uptime and incidents cover any period; check success and response times only the plan's chart history (meta.history says when a period was cut)."
    },
    {
      "name": "get_report_schedules",
      "title": "Get report email schedules",
      "description": "The organization's two scheduled report-email cadences (weekly + monthly): enabled state, recipients (max 5) and any recipients who unsubscribed themselves."
    },
    {
      "name": "set_report_schedule",
      "title": "Set report email schedule",
      "description": "Enables or disables the weekly or monthly report email and/or replaces its recipient list (up to 5 addresses). Enabling needs at least one recipient; clearing the recipients disables the cadence; adding the first recipient to an empty, disabled cadence enables it automatically."
    },
    {
      "name": "get_plan",
      "title": "Get plan, limits and usage",
      "description": "Current subscription plan with limits (-1 = unlimited, 0 = feature off) and live usage counts. usage.monitors_by_type matches limits.max_monitors_by_type (browser = page speed / Core Web Vitals, playwright = scripted browser checks; usage.browser_checks is the playwright count). Feature limits the monitor config is checked against: allow_ssl_grade (SSL trackTlsGrade), max_playwright_timeout_seconds, max_playwright_locations, playwright_test_runs_per_hour, max_integrity_pages_per_monitor, max_integrity_browser_monitors, allow_integrity_script_content."
    },
    {
      "name": "list_monitors",
      "title": "List monitors",
      "description": "Lists monitors, cursor-paginated, as slim items: id, name, type, target, status, tags (config and the full detail are in the single-monitor read). Filters: type, status, tag, and q (a substring of name or target)."
    },
    {
      "name": "get_monitor",
      "title": "Get monitor",
      "description": "One monitor by id: config, available_metrics (the alert metrics valid for its type), last_check and `latest`: what the latest check found, in the terms of its type (certificate days left, domain status, blocklist listings, SPF/DMARC/DKIM, Core Web Vitals, failing test step, NTP offset, UDP/game packet loss and jitter, MCP tool count…; kind = the monitor type)."
    },
    {
      "name": "get_monitor_types",
      "title": "Get monitor type catalog",
      "description": "Discovery catalog of all 31 monitor types: target format, default alert rules, per-type alert metrics (exact `metric` strings, operators, value types) and config fields: the values monitors and alert rules are validated against. `type` returns just that type (much smaller). Type `playwright` = browser checks (scripted Playwright journeys); type `browser` = Core Web Vitals (Lighthouse audit of one page)."
    },
    {
      "name": "create_monitor",
      "title": "Create monitor",
      "description": "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)."
    },
    {
      "name": "update_monitor",
      "title": "Update monitor",
      "description": "Updates a monitor (write scope); only the fields sent change. config is merged into the stored config: an omitted key is kept, a key set to null is removed, any other value replaces it (arrays and nested objects whole); the result is validated against the monitor type. description: null clears it. confirmationThreshold / durationWindow / notificationGroupIds in config apply to every alert rule of the monitor (null resets each rule to its own default; notificationGroupIds: [] = nobody is notified; an id that is not one of the organization's contact groups is refused by name). Setting a value that drives an alert preset (body match, expectedValues, …) creates or switches on its rule; removing it switches the rule off. HTTP body match: config.keywordValue (+ keywordMode contains|not_contains, keywordPatternType text|wildcard|regex, keywordCaseInsensitive) is compiled into the regexp the check evaluates, like the dashboard card; failIfBodyNotMatchesRegexp / failIfBodyMatchesRegexp are the raw form, and both with different meanings is a 400. Expiry reminders: config.expiryReminderDays, e.g. [14, 3] (whole days 1–365, up to 5; http, api, mcp, ssl and rdap) re-notifies an open, unacknowledged certificate/domain expiry incident once when that many days are left. Write-only credentials (password, smtpPassword, receivePassword, privateKey, HTTP/API/MCP authPassword, bearerToken and credential request-header values) and requestBody read back as \"[redacted]\": an omitted secret or an echoed \"[redacted]\" keeps the stored value, the mask is never stored as a new value, and a header mask with nothing stored is a 400. {{NAME}} in an auth field, header value or body reads an organization variable or secret (Settings → Variables) instead of a literal secret. Changing the server, port, TLS mode or login a password is used with (for HTTP/API/MCP the URL host, port or scheme, or the basic-auth username), or setting verifyTls to false, requires the credential again in the same call, else 400 \"Re-enter the …\". The result carries check_queued: true when the change (target, port, credentials, TLS, request…) dispatched one immediate check, not counted against Run now."
    },
    {
      "name": "set_monitor_paused",
      "title": "Pause or resume monitor",
      "description": "Pauses or resumes a monitor (write scope). Idempotent. Resuming starts one immediate check (check_queued: true): at most one per monitor per 10 minutes and 20 per organization a minute, a budget separate from on-demand checks; otherwise next_check_at says by when the first scheduled check runs."
    },
    {
      "name": "delete_monitor",
      "title": "Delete monitor",
      "description": "Deletes a monitor permanently (write scope), together with its scheduled checks, alert rules and open incidents. Cannot be undone."
    },
    {
      "name": "run_check_now",
      "title": "Run a check now",
      "description": "Dispatches one immediate on-demand check for a monitor (write scope, plan-limited per hour). Its result appears in the monitor's check results within about a minute."
    },
    {
      "name": "reset_monitor_history",
      "title": "Reset monitor history",
      "description": "Irreversible (write scope): deletes a monitor's entire recorded history: every check and latency record, every incident with its timeline, delivery history, internal notes, post-mortems and auto-published status-page incidents, plus the alerting engine's failure counters. The monitor itself is kept with its configuration, alert rules, tags and locations and keeps checking; uptime starts over from the reset (the dashboard shows 'since reset'). Cannot be undone. Returns the counts of what was deleted."
    },
    {
      "name": "get_integrity_baseline",
      "title": "Get page integrity baseline",
      "description": "Page integrity monitors only: the accepted baseline each watched page is compared against: per page whether it has one, when it was captured and how (auto = first check, manual = accepted in the dashboard, api = accepted over the API or MCP, timer = auto-accepted after the monitor's autoAcceptAfterHours), plus trusted_origins, the text-change threshold and fresh_accept (the latest fresh accept: pending, accepted, expired or failed). 404 for other monitor types."
    },
    {
      "name": "accept_integrity_baseline",
      "title": "Accept page integrity baseline",
      "description": "Page integrity monitors only (write scope): accepts what the newest check saw as the new baseline, for all watched pages or only `pages`, so an intended change (a deploy, a new vendor script) stops alerting. Everything that check saw becomes the normal state, including security findings (new script sources, changed code, new form targets). When nothing else differs, the open integrity incidents resolve at once (incidents_resolved); otherwise a check starts right away (check_requested) and they close on it. fresh: true checks the pages first and accepts that check (waits up to ~85 s; status pending = still running, the accept then finishes on its own and the baseline's fresh_accept reports how it ended). Pages a check could not fetch come back in `skipped`."
    },
    {
      "name": "set_expected_change_window",
      "title": "Set an MCP release marker",
      "description": "Release marker for an MCP monitor (write scope, owner/admin): from now and for the next `window_minutes` (1–60, default 15), tool-inventory drift on that monitor doesn't open an incident; the change is recorded in the drift timeline as \"Expected — release marker\". Only its Tool Inventory Changed rule is covered, so downtime still alerts, and drift after the window ends alerts as usual. Each call records a new marker; 12 per hour per monitor. Returns starts_at, ends_at and the rules covered."
    },
    {
      "name": "test_playwright_script",
      "title": "Test a Playwright script",
      "description": "Browser checks: runs a Playwright Test script once in a sandboxed browser without saving it (write scope; counts against the plan's test runs per hour). The script is a normal `@playwright/test` file: `import { test, expect } from '@playwright/test'`, `test.step(...)` for readable steps, `process.env.TARGET_URL` for the site and `process.env.NAME` for organization variables and secrets. It runs with those secrets in its environment and can reach any public host. A script error returns 400 naming the line. Waits up to ~60 s and returns the run (status passed/flaky/failed/timed_out/script_error/infra_error, failed step with its error and code frame, console errors, failed requests, Web Vitals) plus missing_variables: the process.env names the organization hasn't set, which are unset when the script runs. A run still going after that returns its test_run_id instead."
    },
    {
      "name": "get_playwright_run",
      "title": "Get browser check run",
      "description": "Browser checks: one run in detail: monitor_id + run_id for a scheduled or Run-now run of a browser-check monitor, or test_run_id for a one-off test run. Returns steps (status, duration, error message + code frame), the failure, console and page errors, failed and blocked requests, Web Vitals per page, runtime versions, presigned screenshot URLs (15 min) and the trace-viewer link."
    },
    {
      "name": "list_playwright_runs",
      "title": "List browser check runs",
      "description": "Browser checks: a check's runs, newest first: status (passed / flaky / failed / timed_out / script_error / infra_error = could not run on our side, never an incident), duration, failed step, console-error and failed-request counts. status=failed or status=flaky narrows the list. 404 for monitors that are not browser checks."
    },
    {
      "name": "get_monitor_uptime",
      "title": "Get monitor uptime",
      "description": "Uptime for a monitor over a period — confirmed critical incidents only (the same formula as the dashboard; failed checks that never became an incident do not count), plus check success ratio, check totals and response-time stats; scheduled maintenance excluded. Uptime is null when nothing was observed (no check since the monitor was created or reset, or paused for the whole period) — no data, not 100. Response-time fields cover successful checks only and are null when none succeeded. Heartbeat monitors: /start pings are events, not checks — left out of the check totals and the success ratio."
    },
    {
      "name": "get_suggested_thresholds",
      "title": "Get suggested alert thresholds",
      "description": "Alert thresholds for a network-distance metric (one marked region_scoped: true in the monitor-type catalog: latency, packet loss, jitter) suggested from the monitor's own checks: per region it is checked from, the p95 over its history up to 7 days (`window`), the suggested warning and critical, which region the all-regions values come from (most locations) and which regions need a rule of their own. `method` spells out the metric's formula (slow operations: max(p95 × 1.5, p95 + 30 ms, p99 × 1.2) / max(p95 × 2.5, p95 + 80 ms, p99 × 2); packet loss moves in whole packet steps, see packets_per_check). Read-only: no rule is created or changed. ready=false until a region has enough checks; 400 for a metric that isn't region-scoped or isn't measured."
    },
    {
      "name": "get_monitor_checks",
      "title": "Get recent check results",
      "description": "Recent check results for a monitor (status, latency, per-location performance), newest first, each with its run_id. Each row names where it ran as location_id / location_name (location is the prober's internal name, deprecated). success=false returns only failed checks, success=true only passing ones. hours widens the window (up to 720, and never past the plan's check history: a longer window is cut and the result carries history_notice). When there is more than one page, has_more is true and next_cursor, sent back as cursor with the same filters, returns the next one. Heartbeat rows carry event: start (a /start ping: a run began, not a check-in; not counted in the per-location figures), finish, fail or missed."
    },
    {
      "name": "get_check_details",
      "title": "Get check run details",
      "description": "Everything the probe saw on one check run: the full recorded result (HTTP headers and timings, TLS chain and grade, DNS answers, assertion outcomes, the error) with sensitive values redacted server-side. run_id is the run_id of a row in the monitor's check results. The same detail the dashboard's probe-result view shows. A check older than the plan's check history is not found."
    },
    {
      "name": "list_locations",
      "title": "List probe locations",
      "description": "Probe locations available to the organization, with the ids that monitor locations and location_id arguments take."
    },
    {
      "name": "list_alert_rules",
      "title": "List alert rules",
      "description": "A monitor's alert rules (system defaults + custom), each with its id. Rules define when incidents fire."
    },
    {
      "name": "create_alert_rule",
      "title": "Create alert rule",
      "description": "Creates an alert rule on a monitor (write scope). `metric` is one of the monitor type's alert metrics (the catalog's exact strings, also listed in the monitor's available_metrics); value is always a string. At most one rule per metric per severity per region scope: a duplicate is refused (409) and the existing rule stays as it is. Network-distance rules (metrics marked region_scoped: true in the catalog: latency, packet loss, jitter): `regions` limits the rule to checks from those regions (e.g. a latency threshold for Europe only); Offline and every other rule are judged from every region and refuse regions; a region-scoped rule takes precedence over an all-regions one of the same metric and severity. failure_threshold omitted: the monitor's confirmationThreshold when it has one, else the count the dashboard's Alerting tab gives the rule: 3 on a region-scoped metric, a card's own count where it has one (Domain Expiry, certificate expiry, RBL listing: 1), else the type's default (3 on most types) (durationWindow likewise follows the monitor's). The response's `warnings` (empty when fine) says when the saved rule can never fire as the monitor is set up: a region it isn't checked from, or a metric only measured with a setting that is off (e.g. packet loss with packetLoss off)."
    },
    {
      "name": "update_alert_rule",
      "title": "Update alert rule",
      "description": "Updates an alert rule (write scope): a threshold, the severity, enabled, or any other field sent; the rest stay. metric/operator/value are validated against the monitor type's catalog. A system rule (is_system) keeps what it watches: the Up/Down rule's condition and a type default's metric can't change (400). The response's `warnings` (empty when fine) says when the rule can never fire as the monitor is set up."
    },
    {
      "name": "delete_alert_rule",
      "title": "Delete alert rule",
      "description": "Deletes a custom alert rule permanently (write scope). System default rules cannot be deleted (403); they can be switched off with enabled: false."
    },
    {
      "name": "list_contacts",
      "title": "List contacts",
      "description": "Alert recipients (people) with their group memberships: who gets notified. Cursor-paginated."
    },
    {
      "name": "get_contact",
      "title": "Get contact",
      "description": "One contact by id: name, email address, phone number and the contact groups they are a member of."
    },
    {
      "name": "create_contact",
      "title": "Create contact",
      "description": "Creates an alert recipient (write scope), optionally placed straight into contact groups (group_ids). A duplicate email (case-insensitive) is refused as a conflict with the existing contact."
    },
    {
      "name": "update_contact",
      "title": "Update contact",
      "description": "Updates a contact (write scope); only the fields sent change. group_ids replaces all memberships ([] removes them from every group, omitted keeps them)."
    },
    {
      "name": "delete_contact",
      "title": "Delete contact",
      "description": "Deletes a contact permanently (write scope) and removes them from every contact group. Cannot be undone."
    },
    {
      "name": "list_contact_groups",
      "title": "List contact groups",
      "description": "Contact groups (notification groups): where alerts are delivered, with the ids a monitor's config.notificationGroupIds and an alert rule's contact group refer to. Cursor-paginated."
    },
    {
      "name": "get_contact_group",
      "title": "Get contact group",
      "description": "One contact group in detail, including its member list (who exactly gets paged)."
    },
    {
      "name": "create_contact_group",
      "title": "Create contact group",
      "description": "Creates a contact group (write scope), optionally with initial members (contact ids)."
    },
    {
      "name": "update_contact_group",
      "title": "Update contact group",
      "description": "Updates a contact group (write scope). contact_ids replaces the full member list ([] empties the group, omitted keeps it)."
    },
    {
      "name": "delete_contact_group",
      "title": "Delete contact group",
      "description": "Deletes a contact group permanently (write scope). The organization's default group, and a group still used by monitors, alert rules or notification channels, are refused with 409 (with the counts) and nothing is deleted."
    },
    {
      "name": "list_status_pages",
      "title": "List status pages",
      "description": "The organization's public status pages, all of them in one list: id, slug, public URL, visibility and what each currently says (overall_status). Components and their status are in each page's detail."
    },
    {
      "name": "get_status_page",
      "title": "Get status page",
      "description": "One status page with what visitors see right now: overall_status, every component with its status and the monitors and hosts behind it (tag rules resolved), its public_cause (how much auto-published notices explain: hidden / cause / full), third-party mirrors, and the incident count."
    },
    {
      "name": "list_announcements",
      "title": "List status page announcements",
      "description": "Announcements published on a status page — incidents and scheduled maintenance as customers saw them, with their update timeline (investigating → identified → monitoring → resolved), scheduled start/end and the internal incident they came from."
    },
    {
      "name": "get_on_call",
      "title": "Get who is on call",
      "description": "Who is on call right now and until when, who is next (upcoming shifts), the schedule's layers and participants, active overrides, and whether the current person can actually be paged (reachable)."
    },
    {
      "name": "list_notification_channels",
      "title": "List notification channels",
      "description": "Where alerts are delivered: every notification channel (Slack, Discord, Telegram, PagerDuty, email, webhook, …) with its type, enabled flag, severity filter, the contact groups routed to it, and a redacted config — tokens and webhook secrets never appear."
    },
    {
      "name": "list_incidents",
      "title": "List incidents",
      "description": "Incidents, newest first (cursor-paginated). Filters: status (firing/acknowledged/resolved), severity, a single monitor (monitor_id) and a started_at time range (since/until). Each incident carries the rule that fired (name/metric/operator/value) and duration_seconds."
    },
    {
      "name": "get_incident",
      "title": "Get incident",
      "description": "Full detail of one incident: the humanised message, the fire-time rule, root_cause (expected vs detected — e.g. 'HTTP Status Code = 404'), also_failing (the monitor's other rules the same failed checks tripped, held into this one incident), the trigger snapshot (metrics the probe reported, which locations confirmed — location_id / location_name; the prober fields are deprecated), fire_count and the event timeline. fire_count is 1 when the incident opens and grows by one with each keep-alive refresh from the alerting engine (about hourly) while it stays open — not separate firings, incidents or notifications."
    },
    {
      "name": "acknowledge_incident",
      "title": "Acknowledge incident",
      "description": "Acknowledges a firing incident (write scope): repeat notifications pause while someone investigates."
    },
    {
      "name": "resolve_incident",
      "title": "Resolve incident",
      "description": "Manually resolves an incident (write scope). Accepted asynchronously: the alerting engine's failure state is reset, and if the underlying problem persists the incident re-fires."
    },
    {
      "name": "accept_expected_change",
      "title": "Accept a drift as an expected change",
      "description": "Drift incidents only, an MCP monitor's Tool Inventory Changed (write scope, owner/admin): marks the tool change as intended, e.g. a release that added or reworded tools. An open incident is resolved (asynchronously; the channels get \"resolved — accepted as an expected change\"); either way the accept is recorded on the incident timeline, on the monitor's drift timeline (\"Accepted as expected by …\") and in the Activity log. `note` (up to 500 characters) says why. Any other incident → 400. An unexplained tool description change can also be an MCP rug-pull."
    },
    {
      "name": "set_incident_uptime_exclusion",
      "title": "Exclude or include incident in uptime",
      "description": "Marks a resolved incident as a false positive (excluded: true, write scope) or removes that mark (excluded: false). An excluded incident stays on record with its timeline, notes and post-mortem, but is left out of uptime, SLA, reports and the public status page; `reason` (up to 500 characters) records why it was not real downtime. Excluding an incident that is still firing or acknowledged fails with HTTP 409. Returns the updated incident with excluded_from_uptime, exclusion_reason, excluded_by and excluded_at."
    },
    {
      "name": "get_postmortem",
      "title": "Get incident post-mortem",
      "description": "The incident's post-mortem (plan feature): title, status (draft/completed), is_public, severity (minor/major/critical), root_cause_category, `sections` (summary, impact, root_cause, detection, resolution, what_went_well, what_could_have_gone_better: text under each heading, \"\" when empty), the full markdown-lite `body`, author-added `timeline` entries and `action_items`. Returns { postmortem: null } when the incident has none yet. The incident's own events and root cause belong to the incident, not to the post-mortem."
    },
    {
      "name": "update_postmortem",
      "title": "Create or update post-mortem",
      "description": "Creates or fills the incident's post-mortem draft (write scope; any member may, as in the dashboard). Creates it with the dashboard template on first use, then applies only the fields sent: `sections` replaces just the sections named (markdown-lite: **bold**, `code`, \"- \" lists, ### sub-headings; \"\" empties one; other sections and custom headings stay untouched); title, severity (minor/major/critical: the impact), root_cause_category, status (draft/completed); `add_timeline` [{at ISO 8601, text}] and `add_action_items` [{title, due_date?}] append, skipping exact repeats. The incident's automatic events (started/acknowledged/resolved) already show in the post-mortem without timeline entries. Publishing to the status page and deleting are not available here (owner/admin, dashboard). Returns the post-mortem."
    },
    {
      "name": "list_notifications",
      "title": "List notification deliveries",
      "description": "Alerting delivery history: every notification attempt with channel, delivery status (sent/failed/silenced), severity, incident and monitor, so whether an alert went out and which deliveries fail. Filters: status, channel_type, monitor_id, incident_id and a time range."
    },
    {
      "name": "list_activity",
      "title": "List activity log",
      "description": "The organization's audit trail: who changed what and when (monitors, alert rules, contacts, maintenance, channels; dashboard and API actions), for lining incidents up with recent config changes. Filters: entity_type / entity_id, a time range and q."
    },
    {
      "name": "list_hosts",
      "title": "List hosts",
      "description": "Servers running watchfor-agent, with liveness (online / stale = no batch for three push intervals, never sooner than 90 s / offline = none for 10 min / never = not reported yet) and the latest CPU, memory and disk gauges. status filters by liveness. A host's monitor_id is the id status-page components, maintenance windows and incident filters expect, and the id its uptime and alert rules are read and changed by; every other monitor read or change answers not found for it."
    },
    {
      "name": "get_host",
      "title": "Get host",
      "description": "One host: OS, kernel, agent version, hardware, addresses (private, public, and the one it reports from), current CPU / memory / disk gauges and its monitor_id."
    },
    {
      "name": "get_host_metrics",
      "title": "Get host metrics",
      "description": "Metric time series for a host over 1h–30d, bucketed like the host page's charts. Metric names are the agent's catalogue: cpu.usage_pct, cpu.iowait_pct, cpu.steal_pct, load.1, mem.used_pct, swap.used_bytes, disk.used_pct (per mount), disk.inodes_used_pct, diskio.read_bytes_per_s, net.rx_bytes_per_s, net.tx_bytes_per_s (per interface), proc.total, sys.uptime_s."
    },
    {
      "name": "list_maintenance_windows",
      "title": "List maintenance windows",
      "description": "Scheduled maintenance windows, most recent first, each with its state (active / upcoming / ended / disabled) and next_run_at. state=active returns the windows running now, state=upcoming the future ones; ended and disabled windows are in the unfiltered list."
    },
    {
      "name": "create_maintenance_window",
      "title": "Schedule a maintenance window",
      "description": "Schedules a maintenance window (write scope): by default alerts are suppressed, the covered monitors show as under maintenance and the window's downtime is excluded from uptime; each can be switched off. One-time unless recurrence is set. Times are ISO 8601; duration in minutes."
    },
    {
      "name": "delete_maintenance_window",
      "title": "Delete maintenance window",
      "description": "Cancels a maintenance window permanently (write scope): it is removed with its future occurrences, and any active silences are lifted. Cannot be undone."
    },
    {
      "name": "list_diagnostics",
      "title": "List live diagnostics",
      "description": "Catalog of the live checks WatchFor can run from its probe fleet, with the question each answers, its exact option names, and this organization's remaining allowance for each."
    },
    {
      "name": "run_diagnostic",
      "title": "Run a live diagnostic",
      "description": "Runs one live check against any public target from WatchFor's probe fleet and returns the raw result. It measures right now from real machines in 20+ locations (not a lookup of stored monitoring data) and works on targets that are not monitored: \"has DNS propagated?\", \"what does the server return?\", \"is :443 open from Singapore?\".\n`tool` selects the check, by the question it answers:\n- smart-audit — Everything at once for a site: domain expiry, HTTPS/TLS, DNS records and email anti-spoofing, as one scored report.\n- cwv-check — How fast does this page feel to a real browser — LCP, CLS, TBT and the Lighthouse performance score?\n- dns-lookup — What does DNS return for this name right now — A/AAAA/MX/TXT/NS/CNAME/SOA/CAA/SRV and more, optionally from a specific resolver?\n- dns-propagation — Has a DNS change propagated yet — what does every one of our probe locations see for this record?\n- dns-health — Is this domain's DNS set up well — at least two nameservers on separate networks, no lame delegation, parent and zone agreeing, SOA serials in sync, DNSSEC valid, CAA published — as an A+…F grade? Add propagation:true to also grade whether every probe location sees the same answer.\n- whois — Who owns this domain, when does it expire, which registrar and nameservers does the registry list (live RDAP, cache bypassed)?\n- ping — Is this host reachable by ICMP from a given location, and what is the round-trip time and packet loss?\n- traceroute — Which network path do packets take to this host from a given location, and where do latency or loss appear?\n- port-checker — Is this TCP port open from a given location, and what banner does the service send?\n- blacklist — Is this IP or host listed on the major DNS blocklists (RBLs) that mail servers consult?\n- ssl-check — What certificate does this host serve — issuer, subject/SAN names, validity dates and days until expiry?\n- tls-grade — How good is this host's TLS configuration — an A+…F grade with the protocol versions, cipher suites and weaknesses behind it?\n- mcp-check — Is this Model Context Protocol endpoint alive and spec-compliant — protocol version, capabilities and the tools it advertises?\n- http-headers — What does this URL actually return right now — status code, redirect chain, response headers and timing?\n- php-version-checker — Which PHP version does this site announce (X-Powered-By, Server), is it vulnerable to php2shell (CVE-2026-109618/109619) or other known CVEs, and is its branch past end of life — graded A+…F?\n- software-exposure-checker — Which software versions does this page reveal in its headers and HTML — web server, PHP, CMS, JavaScript libraries — and which are outdated, past end of life or have known CVEs, graded A+…F?\n- api-tester — What does this API endpoint answer to a full request (method, headers, body) — status, headers and the complete response body?\n- cdn-check — Which CDN serves this URL, which edge answers in each region, is it actually being cached, and where is delivery going wrong?\n- sitemap-check — Does this domain publish a valid sitemap, is it reachable from robots.txt, and do its URLs resolve?\n- brotli-check — Does this domain serve Brotli and gzip compression — which Content-Encoding comes back when a client offers only br, and when it offers only gzip?\n- redirect-chain — Where does this URL end up — every redirect hop with its status code and Location, the final URL, and whether the chain is longer, slower or less secure than it should be?\n- websocket-test — Can a WebSocket be opened to this URL — handshake time, the server's IP, a ping/pong round-trip, and does it answer a message with the expected reply?\n- smtp-test — Does this mail server accept connections — its banner, whether STARTTLS is offered, whether reverse DNS matches, and whether it relays mail for strangers?\n- mail-server-check — How secure are this domain's mail servers — an A+…F grade per service (inbound MX, SMTP submission, IMAP, POP3) for TLS, certificates, STARTTLS, plain-text login, open relay, MTA-STS, TLS-RPT and DANE, checked from three regions?\n- ntp-test — Does this NTP server answer, and what stratum, clock offset, round-trip delay and leap indicator does it report per sample?\n- game-server-check — Is this game server online, and what does it report — name, players and slots, map, version, password and VAC, the player list, and the latency (status query round trip) from three regions? Finds the query port when the given one is silent.\n- email-health — Is this domain protected against email spoofing — are SPF, DKIM and DMARC present and correctly configured?\n`target` is a single string, per tool: smart-audit: URL or domain (e.g. https://example.com) | cwv-check: Page URL to audit (e.g. https://example.com) | dns-lookup: Domain, IPv4 or IPv6 to resolve | dns-propagation: Domain, IPv4 or IPv6 to resolve everywhere | dns-health: Domain name (e.g. example.com) | whois: Domain name (e.g. example.com) | ping: Hostname, IPv4 or IPv6 | traceroute: Hostname, IPv4 or IPv6 | port-checker: Hostname, IPv4 or IPv6 (the port is a separate field) | blacklist: IP address, or a hostname the prober resolves first | ssl-check: Hostname, IPv4 or IPv6 | tls-grade: Hostname, IPv4 or IPv6 | mcp-check: MCP endpoint URL (e.g. https://mcp.example.com/mcp) | http-headers: http(s) URL (e.g. https://example.com) | php-version-checker: http(s) URL or bare domain (bare domains become https://) | software-exposure-checker: http(s) URL or bare domain (bare domains become https://) | api-tester: http(s) endpoint URL (e.g. https://api.example.com/health) | cdn-check: URL to analyse (e.g. example.com or https://example.com/static/app.js) | sitemap-check: Domain name (e.g. example.com) | brotli-check: Domain name (e.g. example.com) | redirect-chain: http(s) URL (e.g. http://example.com) | websocket-test: ws:// or wss:// URL (http(s):// is upgraded to the socket scheme) | smtp-test: Mail server hostname or IP (the port is a separate field) | mail-server-check: Domain (example.com), mail host, or host:port with a mail port (25, 465, 587, 143, 993, 110, 995) | ntp-test: NTP server hostname or IP (e.g. pool.ntp.org) | game-server-check: Game server address, host or host:port (the query port; e.g. play.example.com or 203.0.113.7:27015) | email-health: Domain name (e.g. example.com).\nPer-tool `options` (exact keys; omitted = defaults): cwv-check: preset=desktop|mobile | dns-lookup: recordType=A|AAAA|MX|TXT|NS|SOA|CNAME|PTR|CAA|SRV|TLSA|HTTPS|SVCB, resolver=text | dns-propagation: recordType=A|AAAA|CNAME|MX|TXT|NS, resolver=text, resolverMode=fixed|random | dns-health: propagation=true|false, recordType=A|AAAA|CNAME|MX|TXT|NS | ping: count=number | traceroute: count=number | port-checker: port=number, readBanner=true|false | blacklist: resolver=text | ssl-check: port=number, serverName=text | tls-grade: port=number, serverName=text | http-headers: method=GET|HEAD, followRedirects=true|false | api-tester: method=GET|HEAD|POST|PUT|PATCH|DELETE|OPTIONS, headers=list, body=text | redirect-chain: maxHops=number | websocket-test: sendMessage=text, expectPattern=text, checkPing=true|false | smtp-test: port=number, checkOpenRelay=true|false, checkPtr=true|false | mail-server-check: services=list | ntp-test: port=number, count=number | game-server-check: game=cs2|csgo|tf2|gmod|l4d2|rust|ark_se|dayz|arma3|valheim|7dtd|project_zomboid|v_rising|enshrouded | email-health: variant=all|spf|dkim|dmarc, dkimSelector=text. `location_id` pins the probe location on plans that allow it (`location_select` in the response says whether it applied); otherwise the nearest location is used and the response names it.\nGraded checks (smart-audit, cwv-check, tls-grade, mcp-check, http-headers, cdn-check, mail-server-check, email-health, dns-health, php-version-checker, software-exposure-checker) also return `grade`: the same A+ to F letter the WatchFor dashboard shows, its versioned rubric id and `capped_by`: the findings that hold it down, worst first, each with its fix. `letter: null` means not graded (the check could not measure), never a verdict on the target.\nCosts the organization's per-plan allowance for that check; every response carries `remaining`. Requires the write scope, because a check sends real traffic from WatchFor's IPs."
    },
    {
      "name": "diagnose_target",
      "title": "Diagnose a host or URL",
      "description": "Investigates a host or URL in one call: DNS, DNS propagation across every location, TLS grade, HTTP headers, and ping from up to 3 different regions, run in parallel and returned as one verdict (a status per check plus a machine-readable list of what looks wrong), with the TLS and security headers grades in `grades`. Each underlying check spends its own allowance, and a check the plan blocks comes back as skipped rather than failing the call. Needs a plan with location selection. Write scope."
    }
  ],
  "relatedServers": [
    {
      "name": "WatchFor Docs (read-only documentation MCP)",
      "serverUrl": "https://watchfor.io/api/docs-mcp",
      "serverCard": "https://watchfor.io/api/docs-mcp/server-card",
      "authentication": {
        "type": "none"
      },
      "toolCount": 4
    }
  ]
}