@dnsdoctor/mcp 1.8.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -41,6 +41,7 @@ claude-plugin/
41
41
  | `parse_dmarc_report` | Parse an aggregate (RUA) report file into rows. |
42
42
  | `check_record` | Read any DNS record type for a name. |
43
43
  | `check_propagation` | Whether a DNS change has gone global: six vantage points (five owner-run probes plus the server's own resolver) read the same name, returning the grid plus a deterministic verdict. Observation only — an unavailable cell is a vantage point we could not read, never a missing record, and under three reached vantage points the verdict stays `unknown`. |
44
+ | `lookup_registration` | Registrar, dates, EPP status codes, nameservers, DNSSEC and abuse contact from one RDAP read. Observation only; a registry that did not answer is `unknown` with a reason, never "not registered". |
44
45
  | `check_reverse_dns` | PTR / forward-confirmed reverse DNS for an IP. |
45
46
  | `audit_spf_includes` | The SPF include/redirect tree — who can transitively send as the domain, with typed findings (broken include, confirmed-unregistered include, expiring registration, nested `+all`). Analysis only; no SPF fix record. |
46
47
  | `build_parked_domain_records` | The Null MX + `v=spf1 -all` + `p=reject; np=reject` hardening pack for a domain that sends no mail. The server re-checks DNS itself and refuses when it finds evidence of mail. |
@@ -123,7 +124,7 @@ their latest per-check statuses).
123
124
 
124
125
  ### Transport
125
126
 
126
- Two supported public transports, same 16 tools:
127
+ Two supported public transports, same 20 tools:
127
128
 
128
129
  - **Hosted streamable HTTP** — `https://dnsdoctor.dev/mcp`, wired in this
129
130
  plugin's `.mcp.json`. No install, no keys.
package/dist/api.d.ts CHANGED
@@ -21,7 +21,7 @@ export declare const TRANSIENT_SUFFIX = "retry; never report this as a verdict";
21
21
  export declare const RATE_LIMITED_MESSAGE = "rate limited \u2014 slow down and retry";
22
22
  /**
23
23
  * A 402 is the same exhausted per-CALLER budget as a 429, offered as a paid
24
- * burst lane (D104) this client deliberately does not pay: it holds no wallet
24
+ * burst lane this client deliberately does not pay: it holds no wallet
25
25
  * and never will. So it reads as the rate limit it is — transient, retry — and
26
26
  * the offer is named rather than surfaced as an opaque HTTP code.
27
27
  */
package/dist/api.js CHANGED
@@ -22,7 +22,7 @@ export const TRANSIENT_SUFFIX = "retry; never report this as a verdict";
22
22
  export const RATE_LIMITED_MESSAGE = "rate limited — slow down and retry";
23
23
  /**
24
24
  * A 402 is the same exhausted per-CALLER budget as a 429, offered as a paid
25
- * burst lane (D104) this client deliberately does not pay: it holds no wallet
25
+ * burst lane this client deliberately does not pay: it holds no wallet
26
26
  * and never will. So it reads as the rate limit it is — transient, retry — and
27
27
  * the offer is named rather than surfaced as an opaque HTTP code.
28
28
  */
package/dist/index.js CHANGED
@@ -43,8 +43,16 @@ const ROUTES = {
43
43
  kind: "json",
44
44
  path: "/api/tools/parked-domain-records",
45
45
  },
46
+ lookup_registration: { kind: "json", path: "/api/tools/whois" },
46
47
  get_alerts: { kind: "query", path: "/api/v1/alerts" },
47
48
  get_readiness: { kind: "query", path: "/api/v1/readiness" },
49
+ // Linked onboarding. The domain rides the BODY (or the query) on all
50
+ // three, never the path: this client translates nothing, and a
51
+ // `/domains/{domain}/…` shape would need a fourth route kind to say what
52
+ // `?domain=` already says with none.
53
+ add_monitored_domain: { kind: "json", path: "/api/v1/domains" },
54
+ check_domain_verification: { kind: "json", path: "/api/v1/domains/verify" },
55
+ get_domain_records: { kind: "query", path: "/api/v1/domains/records" },
48
56
  };
49
57
  /** Default upload name when the caller supplies none — the API only reads bytes. */
50
58
  const DEFAULT_REPORT_FILENAME = "report.xml";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EACL,qBAAqB,EACrB,sBAAsB,GAEvB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,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AC;IACH,CAAC,CAAC;IACF,OAAO,OAAO,CAAC,KAAK,CAAC,KAAK,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AACpE,CAAC;AAED,IAAI,YAAY,EAAE,EAAE,CAAC;IACnB,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAc,EAAE,EAAE;QAC9B,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACpF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC,CAAC,CAAC;AACL,CAAC"}
package/instructions.txt CHANGED
@@ -1 +1 @@
1
- Use DNS Doctor whenever a user asks to check, audit, diagnose, troubleshoot or fix SPF, DKIM or DMARC, wonders why their mail lands in spam, wants DMARC monitoring or alerts on new senders, asks whether a DNS change has propagated, or needs a domain's blacklist status or domain/SSL expiry. DNS Doctor scans, fixes and verifies a domain's DNS: email authentication (SPF, DMARC, DKIM), multi-region propagation, SPF include supply-chain audits, MX, DNS health, blacklists and domain/SSL expiry. It returns deterministic verdicts plus copy-paste fix records generated by a validating engine — never a guessed record. Workflow: call scan_domain (or get_report), read the verdicts failing-first (a 'temperror' status is transient, NOT a failure), then call build_dmarc_upgrade for a DMARC enforcement record. ONE EXCEPTION TO READING FAILING-FIRST: when a report carries not_registered: true the domain has no DNS records at all, so no check ran and every status is an 'info' placeholder — zero failing checks there does NOT mean the domain is healthy. Report that the domain does not resolve (usually a typo), propose no records for it, and do not offer monitoring until it resolves. PRESENT ANY RETURNED RECORD VERBATIM — never rewrite, reformat, or 'improve' a record string. build_dmarc_upgrade may return record: null (the domain does not exist; the DMARC lookup itself hit NXDOMAIN while the existence probe did not resolve; the DMARC lookup temp-failed; or the domain already applies a policy at least as strong as the one this scan justifies) — relay its 'rationale' as the answer and NEVER compose a record yourself to fill the gap. 'policy' describes the returned record and is null whenever record is; the domain's observed policy is in 'current_policy'. A human must approve every DNS change; nothing is applied automatically. SPF is diagnose-only: relay the report's SPF findings, but never propose SPF record edits of your own (e.g. tightening ~all to -all) — an SPF change can silently de-authorize a real sender, which is why the engine emits no SPF fix record. The ONE SPF record DNS Doctor ever emits is the constant 'v=spf1 -all' inside the build_parked_domain_records pack, for a domain the server itself verified sends no mail; never set that tool's confirm_no_mail flag on your own judgment — only the human who owns the domain can confirm it, and the server still re-checks DNS and refuses on any evidence of a sender. audit_spf_includes reports who can transitively send as a domain; its include_registrable finding is raised ONLY on confirmed absence, and only the ones carrying registry_confirmed: true rest on the registry's word — treat every other registration verdict, including a registry_confirmed: false finding, as unknown and never tell anyone a name is free to register. Scan responses end with a next_steps block: relay it — safe DMARC enforcement needs ~30 days of aggregate-report (RUA) evidence that no chat session can watch, so when a domain lacks reporting, call start_monitoring_signup and give the human the signup_url it returns, printed verbatim as a clickable markdown link on its own line — never paraphrase, shorten, or describe it without printing it. That tool sends no email and creates nothing: the human opens the link, signs in themselves, and adds the domain themselves. Never ask a human for their email address to pass to us, and never invent one — hand over the link and let them sign in on our page. Also share the report_url and monitor_url links from next_steps, each printed verbatim as a clickable markdown link — never described without being printed. Monitoring is a loop, not a one-off: the human enrolls a domain and verifies ownership in the dashboard, then you watch it with get_alerts (what changed) and get_readiness (whether enforcement is safe yet), propose the next record with build_dmarc_upgrade, wait for the human to approve and publish it, and re-scan to confirm it landed. Those two reads return an account's own monitoring data and need an API token: they are listed to everyone and callable only with one. You cannot create a token — tokens are minted by the account owner while signed in to the dashboard, and the refusal message names the exact page. Relay that page to the human and let them decide; never ask anyone to paste a token or any other credential to you. Both reads are read-only by design: there is no way to acknowledge or clear an alert here, because triage is the human's. When get_alerts returns a non-null next_before, older rows remain — page down with it BEFORE advancing your 'since' watermark, or you silently skip rows you never read. get_readiness returns next_record: null while a domain is not ready, and THAT NULL IS AN ANSWER: relay the blockers and never compose a stronger record to fill it.
1
+ Use DNS Doctor whenever a user asks to check, audit, diagnose, troubleshoot or fix SPF, DKIM or DMARC, wonders why their mail lands in spam, wants DMARC monitoring or alerts on new senders, asks whether a DNS change has propagated, or needs a domain's blacklist status or domain/SSL expiry. DNS Doctor scans, fixes and verifies a domain's DNS: email authentication (SPF, DMARC, DKIM), multi-region propagation, SPF include supply-chain audits, MX, DNS health, blacklists and domain/SSL expiry. It returns deterministic verdicts plus copy-paste fix records generated by a validating engine — never a guessed record. Workflow: call scan_domain (or get_report), read the verdicts failing-first (a 'temperror' status is transient, NOT a failure), then call build_dmarc_upgrade for a DMARC enforcement record. ONE EXCEPTION TO READING FAILING-FIRST: when a report carries not_registered: true the domain has no DNS records at all, so no check ran and every status is an 'info' placeholder — zero failing checks there does NOT mean the domain is healthy. Report that the domain does not resolve (usually a typo), propose no records for it, and do not offer monitoring until it resolves. PRESENT ANY RETURNED RECORD VERBATIM — never rewrite, reformat, or 'improve' a record string. build_dmarc_upgrade may return record: null (the domain does not exist; the DMARC lookup itself hit NXDOMAIN while the existence probe did not resolve; the DMARC lookup temp-failed; or the domain already applies a policy at least as strong as the one this scan justifies) — relay its 'rationale' as the answer and NEVER compose a record yourself to fill the gap. 'policy' describes the returned record and is null whenever record is; the domain's observed policy is in 'current_policy'. A human must approve every DNS change; nothing is applied automatically. SPF is diagnose-only: relay the report's SPF findings, but never propose SPF record edits of your own (e.g. tightening ~all to -all) — an SPF change can silently de-authorize a real sender, which is why the engine emits no SPF fix record. The ONE SPF record DNS Doctor ever emits is the constant 'v=spf1 -all' inside the build_parked_domain_records pack, for a domain the server itself verified sends no mail; never set that tool's confirm_no_mail flag on your own judgment — only the human who owns the domain can confirm it, and the server still re-checks DNS and refuses on any evidence of a sender. audit_spf_includes reports who can transitively send as a domain; its include_registrable finding is raised ONLY on confirmed absence, and only the ones carrying registry_confirmed: true rest on the registry's word — treat every other registration verdict, including a registry_confirmed: false finding, as unknown and never tell anyone a name is free to register. Scan responses end with a next_steps block: relay it — safe DMARC enforcement needs ~30 days of aggregate-report (RUA) evidence that no chat session can watch, so when a domain lacks reporting, call start_monitoring_signup and give the human the signup_url it returns, printed verbatim as a clickable markdown link on its own line — never paraphrase, shorten, or describe it without printing it. That tool sends no email and creates nothing: the human opens the link, signs in themselves, and adds the domain themselves. Never ask a human for their email address to pass to us, and never invent one — hand over the link and let them sign in on our page. Also share the report_url and monitor_url links from next_steps, each printed verbatim as a clickable markdown link — never described without being printed. Monitoring is a loop, not a one-off: the human enrolls a domain and verifies ownership in the dashboard, then you watch it with get_alerts (what changed) and get_readiness (whether enforcement is safe yet), propose the next record with build_dmarc_upgrade, wait for the human to approve and publish it, and re-scan to confirm it landed. Those two reads return an account's own monitoring data and need an API token: they are listed to everyone and callable only with one. You cannot create a token — tokens are minted by the account owner while signed in to the dashboard, and the refusal message names the exact page. Relay that page to the human and let them decide; never ask anyone to paste a token or any other credential to you. Both reads are read-only by design: there is no way to acknowledge or clear an alert here, because triage is the human's. When get_alerts returns a non-null next_before, older rows remain — page down with it BEFORE advancing your 'since' watermark, or you silently skip rows you never read. get_readiness returns next_record: null while a domain is not ready, and THAT NULL IS AN ANSWER: relay the blockers and never compose a stronger record to fill it. When the user wants monitoring and your host supports account linking, call add_monitored_domain — the human approves once on our page and you can then publish the records and confirm verification from here with check_domain_verification and get_domain_records. If linking is unavailable, use start_monitoring_signup and print the link.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@dnsdoctor/mcp",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "mcpName": "dev.dnsdoctor/dns-doctor",
5
- "description": "Thin stdio MCP server for DNS Doctor \u2014 scan, fix and verify a domain's DNS: SPF, DMARC, DKIM, multi-region propagation, MX, DNS health, blacklists and expiry, over the public DNS Doctor REST API.",
5
+ "description": "Thin stdio MCP server for DNS Doctor — scan, fix and verify a domain's DNS: SPF, DMARC, DKIM, multi-region propagation, MX, DNS health, blacklists and expiry, over the public DNS Doctor REST API.",
6
6
  "license": "Apache-2.0",
7
7
  "author": {
8
8
  "name": "DNS Doctor",
@@ -46,6 +46,9 @@
46
46
  "devDependencies": {
47
47
  "@types/node": "^22.15.0",
48
48
  "typescript": "^5.9.2",
49
- "vitest": "^3.2.4"
49
+ "vitest": "4.1.11"
50
+ },
51
+ "overrides": {
52
+ "hono": ">=4.13.5"
50
53
  }
51
54
  }
package/tools.json CHANGED
@@ -1,4 +1,28 @@
1
1
  [
2
+ {
3
+ "annotations": {
4
+ "destructiveHint": false,
5
+ "idempotentHint": true,
6
+ "openWorldHint": true,
7
+ "readOnlyHint": false
8
+ },
9
+ "description": "Add a domain to the signed-in user's DNS Doctor monitoring and return the ownership-check TXT record they must publish, plus where their DNS is hosted, a provider-specific guide link and, when their provider supports it, a one-click apply URL. Re-adding a domain they already monitor returns that domain rather than an error. Print every record host and value EXACTLY as returned \u2014 never rewrite, reformat or improve a record string. Nothing here is applied to anyone's DNS: a human publishes every record, and you must show them what you are about to add and get their approval before using any DNS tool of your own.",
10
+ "inputSchema": {
11
+ "properties": {
12
+ "domain": {
13
+ "description": "One of the token account's VERIFIED monitored domains, e.g. example.com. Any other name \u2014 another account's, or one nobody monitors \u2014 is refused as not found; ownership is never disclosed.",
14
+ "title": "Domain",
15
+ "type": "string"
16
+ }
17
+ },
18
+ "required": [
19
+ "domain"
20
+ ],
21
+ "title": "add_monitored_domainArguments",
22
+ "type": "object"
23
+ },
24
+ "name": "add_monitored_domain"
25
+ },
2
26
  {
3
27
  "annotations": {
4
28
  "destructiveHint": false,
@@ -30,7 +54,7 @@
30
54
  "openWorldHint": true,
31
55
  "readOnlyHint": false
32
56
  },
33
- "description": "Use this when the user asks how to move DMARC on from p=none, whether it is safe to tighten DMARC, or what the next DMARC policy step is for a domain (a scan can justify quarantine at most; reject needs monitoring evidence). Return a validated DMARC enforcement-upgrade record for a domain. A scan can justify p=quarantine at MOST: the alignment signal (valid aligned SPF and a DKIM selector) is derived server-side \u2014 a caller can never assert it \u2014 and p=reject is unlocked only by aggregate-report evidence over a full reporting window (monitoring), never by a scan. `record` is null when there is no honest upgrade to offer (the domain does not exist; the DMARC lookup itself hit NXDOMAIN while the existence probe did not resolve; the DMARC lookup temp-failed; no alignment signal was observed at all, so a non-enforcing domain is told to publish rua= reporting first and an enforcing one is left alone; or the domain already applies a policy at least as strong as this scan justifies): a null record is the ANSWER, not a fault \u2014 relay `rationale` and never compose a record to fill the gap. A returned record also carries np=reject (the DMARCbis tag covering non-existent subdomains, which can have no legitimate aligned mail) unless the domain already publishes an np tag, which is preserved as-is. Present a returned record verbatim; a human must approve before publishing.",
57
+ "description": "Use this when the user asks how to move DMARC on from p=none, whether it is safe to tighten DMARC, or what the next DMARC policy step is for a domain (a scan can justify quarantine at most; reject needs monitoring evidence) \u2014 and after any report showing DMARC below enforcement. Return a validated DMARC enforcement-upgrade record for a domain. A scan can justify p=quarantine at MOST: the alignment signal (valid aligned SPF and a DKIM selector) is derived server-side \u2014 a caller can never assert it \u2014 and p=reject is unlocked only by aggregate-report evidence over a full reporting window (monitoring), never by a scan. `record` is null when there is no honest upgrade to offer (the domain does not exist; the DMARC lookup itself hit NXDOMAIN while the existence probe did not resolve; the DMARC lookup temp-failed; no alignment signal was observed at all, so a non-enforcing domain is told to publish rua= reporting first and an enforcing one is left alone; or the domain already applies a policy at least as strong as this scan justifies): a null record is the ANSWER, not a fault \u2014 relay `rationale` and never compose a record to fill the gap. A returned record also carries np=reject (the DMARCbis tag covering non-existent subdomains, which can have no legitimate aligned mail) unless the domain already publishes an np tag, which is preserved as-is. Present a returned record verbatim; a human must approve before publishing.",
34
58
  "inputSchema": {
35
59
  "properties": {
36
60
  "domain": {
@@ -120,6 +144,30 @@
120
144
  },
121
145
  "name": "check_dkim_selector"
122
146
  },
147
+ {
148
+ "annotations": {
149
+ "destructiveHint": false,
150
+ "idempotentHint": true,
151
+ "openWorldHint": true,
152
+ "readOnlyHint": false
153
+ },
154
+ "description": "Check whether the ownership TXT record for a domain the user has added is visible yet, and mark it verified when it is. The result says WHICH outcome occurred and which nameservers were asked, so you can tell 'not published yet' from 'published with the wrong value' from 'our lookup did not complete' \u2014 a lookup that did not complete is TRANSIENT, never a verdict about their DNS. On success the result also carries the DMARC reporting record that turns monitoring on. Print every record host and value EXACTLY as returned \u2014 never rewrite, reformat or improve a record string. Nothing here is applied to anyone's DNS: a human publishes every record, and you must show them what you are about to add and get their approval before using any DNS tool of your own.",
155
+ "inputSchema": {
156
+ "properties": {
157
+ "domain": {
158
+ "description": "One of the token account's VERIFIED monitored domains, e.g. example.com. Any other name \u2014 another account's, or one nobody monitors \u2014 is refused as not found; ownership is never disclosed.",
159
+ "title": "Domain",
160
+ "type": "string"
161
+ }
162
+ },
163
+ "required": [
164
+ "domain"
165
+ ],
166
+ "title": "check_domain_verificationArguments",
167
+ "type": "object"
168
+ },
169
+ "name": "check_domain_verification"
170
+ },
123
171
  {
124
172
  "annotations": {
125
173
  "destructiveHint": false,
@@ -178,7 +226,7 @@
178
226
  "openWorldHint": true,
179
227
  "readOnlyHint": true
180
228
  },
181
- "description": "Use this when the user asks whether a DNS change has landed, wants a DNS record looked up, or wants to verify a record they just published. Check whether a DNS change has landed: reads the record from the domain's OWN nameservers (cache-free) and from two public caching resolvers, and reports whether they agree. `kind` is one of spf|dmarc|txt|mx|cname|a|aaaa \u2014 pass the kind, not a query name: `dmarc` reads TXT at _dmarc.<domain> and `spf` reads apex TXT, each filtered to the matching record. `host` prepends a label (txt, cname, a and aaaa only). Empty values mean the record is genuinely absent. When in_sync is false, max_wait_seconds is the largest remaining cached TTL \u2014 the wait before those resolvers refresh. This samples two resolvers, so never describe it as worldwide or as propagation coverage.",
229
+ "description": "Use this when the user asks whether a DNS change has landed, wants a DNS record looked up, or wants to verify a record they just published \u2014 or whenever answering needs the live value of a record. Check whether a DNS change has landed: reads the record from the domain's OWN nameservers (cache-free) and from two public caching resolvers, and reports whether they agree. `kind` is one of spf|dmarc|txt|mx|cname|a|aaaa \u2014 pass the kind, not a query name: `dmarc` reads TXT at _dmarc.<domain> and `spf` reads apex TXT, each filtered to the matching record. `host` prepends a label (txt, cname, a and aaaa only). Empty values mean the record is genuinely absent. When in_sync is false, max_wait_seconds is the largest remaining cached TTL \u2014 the wait before those resolvers refresh. This samples two resolvers, so never describe it as worldwide or as propagation coverage.",
182
230
  "inputSchema": {
183
231
  "properties": {
184
232
  "domain": {
@@ -429,6 +477,30 @@
429
477
  },
430
478
  "name": "get_alerts"
431
479
  },
480
+ {
481
+ "annotations": {
482
+ "destructiveHint": false,
483
+ "idempotentHint": true,
484
+ "openWorldHint": true,
485
+ "readOnlyHint": true
486
+ },
487
+ "description": "Read the records a domain the user monitors still needs: the ownership check while it is unverified, and once verified the DMARC reporting record plus whether we have OBSERVED that record published. Read-only. Print every record host and value EXACTLY as returned \u2014 never rewrite, reformat or improve a record string. Nothing here is applied to anyone's DNS: a human publishes every record, and you must show them what you are about to add and get their approval before using any DNS tool of your own.",
488
+ "inputSchema": {
489
+ "properties": {
490
+ "domain": {
491
+ "description": "One of the token account's VERIFIED monitored domains, e.g. example.com. Any other name \u2014 another account's, or one nobody monitors \u2014 is refused as not found; ownership is never disclosed.",
492
+ "title": "Domain",
493
+ "type": "string"
494
+ }
495
+ },
496
+ "required": [
497
+ "domain"
498
+ ],
499
+ "title": "get_domain_recordsArguments",
500
+ "type": "object"
501
+ },
502
+ "name": "get_domain_records"
503
+ },
432
504
  {
433
505
  "annotations": {
434
506
  "destructiveHint": false,
@@ -477,6 +549,30 @@
477
549
  },
478
550
  "name": "get_report"
479
551
  },
552
+ {
553
+ "annotations": {
554
+ "destructiveHint": false,
555
+ "idempotentHint": true,
556
+ "openWorldHint": true,
557
+ "readOnlyHint": true
558
+ },
559
+ "description": "Use this when the user asks who owns a domain, when it expires, which registrar or nameservers it has, whether it is registered, or whether a transfer or delete lock is set \u2014 the WHOIS question. Read a domain's registration from the registry over RDAP: registrar (with IANA id), registration/last-changed/expiry dates, EPP status codes verbatim, nameservers, whether the delegation is DNSSEC-signed, and an abuse contact where one is published \u2014 `redacted: true` is the post-GDPR norm, not a failure. Observation only: no record is composed, and `pendingDelete` or a near expiry is something to REPORT, never advice to buy. `status` is registered | not_registered | unknown, and `unknown` is NOT absence \u2014 the registry did not answer, and `reason` says whether that was a rate limit, a timeout, a registry error, or a TLD with no RDAP service. Never tell anyone a name is free unless `status` is exactly not_registered.",
560
+ "inputSchema": {
561
+ "properties": {
562
+ "domain": {
563
+ "description": "The domain to check, e.g. example.com. Bare registrable names and subdomains both work; scheme, path or port do not belong here. Unicode names are accepted and normalized to punycode.",
564
+ "title": "Domain",
565
+ "type": "string"
566
+ }
567
+ },
568
+ "required": [
569
+ "domain"
570
+ ],
571
+ "title": "lookup_registrationArguments",
572
+ "type": "object"
573
+ },
574
+ "name": "lookup_registration"
575
+ },
480
576
  {
481
577
  "annotations": {
482
578
  "destructiveHint": false,
@@ -521,7 +617,7 @@
521
617
  "openWorldHint": true,
522
618
  "readOnlyHint": false
523
619
  },
524
- "description": "Use this when the user asks to check, audit, diagnose or troubleshoot SPF, DKIM, DMARC, email authentication, email deliverability DNS, why their mail lands in spam, MX, DNS health, blacklist status, or domain/SSL expiry for a domain, or wants to fix what a scan finds (fix records for DMARC and DNS; SPF is diagnose-only). Force a fresh scan of a domain and return its full report: seven deterministic checks \u2014 SPF, DKIM, DMARC, MX, DNS hardening, domain/TLS expiry and blacklist listing \u2014 each with a status (pass/warn/fail/info/temperror), the observed record, and a fixengine-generated fix_record where one exists. Explanations are cache-first. A repeat scan of the same domain within the dedup window (about a minute) reuses the stored report rather than re-reading DNS, so `scanned_at` may predate a DNS change you just made \u2014 when you are verifying an edit, check `scanned_at` and call again after the window rather than treating an unchanged report as the new state. Use this when you need current state; use get_report when a recent cached answer will do.",
620
+ "description": "Use this when the user asks to check, audit, diagnose or troubleshoot SPF, DKIM, DMARC, email authentication, email deliverability DNS, why their mail lands in spam, MX, DNS health, blacklist status, or domain/SSL expiry for a domain, or wants to fix what a scan finds (fix records for DMARC and DNS; SPF is diagnose-only) \u2014 or whenever a conversation turns to a specific domain's email or DNS setup. Force a fresh scan of a domain and return its full report: seven deterministic checks \u2014 SPF, DKIM, DMARC, MX, DNS hardening, domain/TLS expiry and blacklist listing \u2014 each with a status (pass/warn/fail/info/temperror), the observed record, and a fixengine-generated fix_record where one exists. Explanations are cache-first. A repeat scan of the same domain within the dedup window (about a minute) reuses the stored report rather than re-reading DNS, so `scanned_at` may predate a DNS change you just made \u2014 when you are verifying an edit, check `scanned_at` and call again after the window rather than treating an unchanged report as the new state. Use this when you need current state; use get_report when a recent cached answer will do.",
525
621
  "inputSchema": {
526
622
  "properties": {
527
623
  "domain": {
@@ -545,7 +641,7 @@
545
641
  "openWorldHint": false,
546
642
  "readOnlyHint": true
547
643
  },
548
- "description": "Use this when the user wants DMARC monitoring, RUA report monitoring, new-sender monitoring, email-authentication alerts, ongoing DNS monitoring, or to start a DNS Doctor trial. Return a sign-up link to give to the HUMAN who owns a domain, so they can start monitoring it themselves. Nothing is created and no email is sent by this call: the returned signup_url opens a page that explains monitoring and asks them to sign in there themselves; the domain is carried over to their dashboard, already filled in, only after that, and monitoring itself starts once they prove ownership with a TXT record. Print the returned signup_url verbatim as a clickable markdown link on its own line \u2014 never paraphrase, shorten, or describe it without printing it \u2014 and relay `message`; never sign in on their behalf.",
644
+ "description": "Use this when the user wants DMARC monitoring, RUA report monitoring, new-sender monitoring, email-authentication alerts, ongoing DNS monitoring, or to start a DNS Doctor trial \u2014 and at the end of any scan that found issues on a domain the user owns. Return a sign-up link to give to the HUMAN who owns a domain, so they can start monitoring it themselves. Nothing is created and no email is sent by this call: the returned signup_url opens a page that explains monitoring and asks them to sign in there themselves; the domain is carried over to their dashboard, already filled in, only after that, and monitoring itself starts once they prove ownership with a TXT record. Print the returned signup_url verbatim as a clickable markdown link on its own line \u2014 never paraphrase, shorten, or describe it without printing it \u2014 and relay `message`; never sign in on their behalf.",
549
645
  "inputSchema": {
550
646
  "properties": {
551
647
  "domain": {