Skip to main content
Glama

WatchFor

Run a live diagnostic

run_diagnostic

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?". 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? 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). Per-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. 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 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. Costs 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.

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

NameRequiredDescriptionDefault
toolYesWhich check to run
targetYesWhat to check
optionsNoCheck-specific options; the keys per check are listed in this tool's description
location_idNoProbe location to run from (plan-gated)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, and idempotentHint=false. The description adds meaningful context beyond that: it costs the organization's per-plan allowance, every response carries 'remaining', it requires the write scope because it sends real traffic, and graded checks return grade/capped_by with 'letter: null' meaning ungraded. It does not describe rate-limit exhaustion or failure behavior in detail, so a 4 is appropriate.

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?

The description is long, but that length is justified by 27 distinct check modes. It is front-loaded with the core purpose and then structured into bullets for each tool, followed by target formats, options, location behavior, graded returns, and cost. The dense run-on lists for target and options are functional but less scannable than they could be.

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 high-complexity tool with 27 modes and no output schema, the description covers purpose, per-tool target formats, per-tool option keys, location behavior, graded response fields, and cost. It does not describe the per-check response shape beyond 'raw result' and the graded fields, which is a reasonable but noticeable gap given there is no output schema.

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

Parameters5/5

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

Although schema coverage is 100%, the schema's own 'options' description defers to this description for per-check keys. The description is the only place that enumerates each tool's expected target format and exact options keys (e.g., dns-lookup recordType/resolver, api-tester method/headers/body), which is substantial meaning beyond the schema.

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?

The opening sentence is a specific verb+resource statement: 'Runs one live check against any public target from WatchFor's probe fleet and returns the raw result.' It distinguishes itself from stored monitoring data ('not a lookup of stored monitoring data') and notes it works on unmonitored targets. It does not explicitly name or differentiate from sibling tools such as run_check_now or diagnose_target, so it falls short of a 5.

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?

Usage context is clear through example questions ('has DNS propagated?', 'is :443 open from Singapore?') and the statement that it works on targets that are not monitored. This gives a clear sense of when to reach for it. However, there is no explicit when-not guidance and no named alternative tool to use instead, so it is a 4 rather than a 5.

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.