Run a live diagnostic
run_diagnosticRuns 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?".
tool selects the check, by the question it answers:
smart-audit — Everything at once for a site: domain expiry, HTTPS/TLS, DNS records and email anti-spoofing, as one scored report.
cwv-check — How fast does this page feel to a real browser — LCP, CLS, TBT and the Lighthouse performance score?
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?
dns-propagation — Has a DNS change propagated yet — what does every one of our probe locations see for this record?
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.
whois — Who owns this domain, when does it expire, which registrar and nameservers does the registry list (live RDAP, cache bypassed)?
ping — Is this host reachable by ICMP from a given location, and what is the round-trip time and packet loss?
traceroute — Which network path do packets take to this host from a given location, and where do latency or loss appear?
port-checker — Is this TCP port open from a given location, and what banner does the service send?
blacklist — Is this IP or host listed on the major DNS blocklists (RBLs) that mail servers consult?
ssl-check — What certificate does this host serve — issuer, subject/SAN names, validity dates and days until expiry?
tls-grade — How good is this host's TLS configuration — an A+…F grade with the protocol versions, cipher suites and weaknesses behind it?
mcp-check — Is this Model Context Protocol endpoint alive and spec-compliant — protocol version, capabilities and the tools it advertises?
http-headers — What does this URL actually return right now — status code, redirect chain, response headers and timing?
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?
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?
api-tester — What does this API endpoint answer to a full request (method, headers, body) — status, headers and the complete response body?
cdn-check — Which CDN serves this URL, which edge answers in each region, is it actually being cached, and where is delivery going wrong?
sitemap-check — Does this domain publish a valid sitemap, is it reachable from robots.txt, and do its URLs resolve?
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?
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?
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?
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?
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?
ntp-test — Does this NTP server answer, and what stratum, clock offset, round-trip delay and leap indicator does it report per sample?
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.
email-health — Is this domain protected against email spoofing — are SPF, DKIM and DMARC present and correctly configured?
targetis 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). Per-tooloptions(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_idpins the probe location on plans that allow it (location_selectin the response says whether it applied); otherwise the nearest location is used and the response names it. Graded 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 returngrade: the same A+ to F letter the WatchFor dashboard shows, its versioned rubric id andcapped_by: the findings that hold it down, worst first, each with its fix.letter: nullmeans not graded (the check could not measure), never a verdict on the target. Costs the organization's per-plan allowance for that check; every response carriesremaining. Requires the write scope, because a check sends real traffic from WatchFor's IPs.
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": {
"tool": "<tool>",
"target": "<target>"
},
"name": "run_diagnostic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Which check to run | |
| target | Yes | What to check | |
| options | No | Check-specific options; the keys per check are listed in this tool's description | |
| location_id | No | Probe location to run from (plan-gated) |