fettle-mcp 1.4.1 → 1.5.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 +6 -6
- package/contracts/mcp_tools.json +69 -23
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -219,11 +219,11 @@ Every tool whose result is a JSON object declares an `outputSchema` and returns
|
|
|
219
219
|
|
|
220
220
|
### Organization and platform
|
|
221
221
|
|
|
222
|
-
| Tool | Scope | What it does
|
|
223
|
-
| ---------------- | ----- |
|
|
224
|
-
| `get_plan_usage` | read | The organization's plan, its limits, and how much of each is used.
|
|
225
|
-
| `list_channels` | read | List notification channels (id, type, label,
|
|
226
|
-
| `list_regions` | read | List the check regions and the codes the regions argument takes.
|
|
222
|
+
| Tool | Scope | What it does |
|
|
223
|
+
| ---------------- | ----- | ------------------------------------------------------------------------------------------------------------------ |
|
|
224
|
+
| `get_plan_usage` | read | The organization's plan, its limits, and how much of each is used. |
|
|
225
|
+
| `list_channels` | read | List notification channels, email addresses included (id, type, label, state), to bind to monitors and heartbeats. |
|
|
226
|
+
| `list_regions` | read | List the check regions and the codes the regions argument takes. |
|
|
227
227
|
|
|
228
228
|
The list is not written by hand. It is generated in the Fettle backend from one
|
|
229
229
|
registry and served at
|
|
@@ -253,7 +253,7 @@ CREATING MONITORS
|
|
|
253
253
|
- regions: unless the user names some, use every limits.allowed_regions code, up to max_regions; SSL, DNS and port-list TCP take one.
|
|
254
254
|
- type and target never change after create.
|
|
255
255
|
- After create, tell the user the interval and regions chosen; offer to change the interval (update_monitor).
|
|
256
|
-
- channel_ids come from list_channels; omitted on create alerts every
|
|
256
|
+
- channel_ids come from list_channels (email addresses are channels too); omitted on create alerts every working channel. If no channel works, the organization's owner is emailed.
|
|
257
257
|
- update tools change only the fields you pass; never send null. A monitor's config is replaced whole: resend every field to keep.
|
|
258
258
|
- Exposed ports on a server: follow get_exposed_ports_preset.
|
|
259
259
|
|
package/contracts/mcp_tools.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"instructions": "Fettle is an uptime monitoring service. The tools see only the caller's organization. Channels, status pages, members, API keys and billing live only in the dashboard (https://dashboard.fettle.sh). Read a tool's description before its first call.\n\nFINDING THINGS\nlist_monitors gives one short row per monitor, to find ids. Broken now: status [\"DOWN\", \"DEGRADED\"]. Certificates expiring first: type [\"SSL\"], sort \"ssl_expiry\". What changed on targets (DNS answers, certificates), for example since a deploy: list_changes with since.\n\nPLAN LIMITS\nCall get_plan_usage before creating anything (null means no limit). A 403 names a broken limit or unknown region: change the request or tell the user; never retry it unchanged.\n\nCREATING MONITORS\n- check_target probes a target once before create_monitor.\n- regions: unless the user names some, use every limits.allowed_regions code, up to max_regions; SSL, DNS and port-list TCP take one.\n- type and target never change after create.\n- After create, tell the user the interval and regions chosen; offer to change the interval (update_monitor).\n- channel_ids come from list_channels; omitted on create alerts every
|
|
3
|
+
"instructions": "Fettle is an uptime monitoring service. The tools see only the caller's organization. Channels, status pages, members, API keys and billing live only in the dashboard (https://dashboard.fettle.sh). Read a tool's description before its first call.\n\nFINDING THINGS\nlist_monitors gives one short row per monitor, to find ids. Broken now: status [\"DOWN\", \"DEGRADED\"]. Certificates expiring first: type [\"SSL\"], sort \"ssl_expiry\". What changed on targets (DNS answers, certificates), for example since a deploy: list_changes with since.\n\nPLAN LIMITS\nCall get_plan_usage before creating anything (null means no limit). A 403 names a broken limit or unknown region: change the request or tell the user; never retry it unchanged.\n\nCREATING MONITORS\n- check_target probes a target once before create_monitor.\n- regions: unless the user names some, use every limits.allowed_regions code, up to max_regions; SSL, DNS and port-list TCP take one.\n- type and target never change after create.\n- After create, tell the user the interval and regions chosen; offer to change the interval (update_monitor).\n- channel_ids come from list_channels (email addresses are channels too); omitted on create alerts every working channel. If no channel works, the organization's owner is emailed.\n- update tools change only the fields you pass; never send null. A monitor's config is replaced whole: resend every field to keep.\n- Exposed ports on a server: follow get_exposed_ports_preset.\n\nMANY MONITORS AT ONCE\nCreate many with bulk_create_monitors. Find ids with list_monitors, then bulk_pause_monitors, bulk_resume_monitors or bulk_update_monitors, all or nothing. There is no bulk delete.\n\nTAGS\nCall list_tags first and reuse names, such as env:prod.\n\nHEARTBEATS\nA job calls ping_url when it succeeds. Job every N seconds, alert after T seconds of silence: period_seconds = N, grace_seconds = T - N.\n\nMAINTENANCE\nBefore a deploy or reboot, create_maintenance_window instead of pausing monitors: checks keep running, no incident opens, no down or change alert goes out (certificate and domain warnings still do). Not for heartbeats.\n\nDEPLOYS\nAfter a deploy, offer verify_deploy; run it only if the user agrees, never on your own. If yes: record_deploy, check_now the monitors, wait a minute, verify_deploy with since = deployed_at. Reuse the same deployed_at on every retry. On INSUFFICIENT_DATA wait retry_after_seconds, check_now monitors with needs_fresh_checks, call again; stop when it is null. REGRESSED and FAIL are not monitor statuses. Never roll back without asking.\n\nOUTAGES\nlist_monitors status [\"DOWN\"] -> list_incidents (monitor_id, status \"open\") -> get_incident_diagnosis (READY: follow agent.next_calls; else list_check_results) -> get_incident_context (regions, timeline, who acknowledged) -> get_incident. Pasted Fettle alert or dashboard /incidents/<uuid> link: call get_incident_diagnosis on it. acknowledge_incident stops repeat alerts. create_status_page_incident and post_status_page_update can email subscribers: confirm the text with the user first. draft_status_page_post writes the text for those two; it never publishes.\n\nERRORS (in a failed call's text)\n- \"Authentication failed\": the credential is missing, revoked or expired, the address is not allowed, or its user lost access. Do not retry; tell the user.\n- \"This tool requires an API key with write scope\" or \"needs write access\": read-only; tell the user.\n- \"Invalid argument(s)\" or \"Invalid request:\": fix what it names, retry.\n- \"Forbidden:\": a plan limit, an unknown region, or the user's role; the reason says which.\n- \"Not found:\": no such id in this organization.\n- \"Rate limited\": wait the seconds given. All API keys and app connections share the organization's per-minute budget.\n- \"the API returned 5xx\": retry once later.\n- \"does not accept argument(s)\": drop the ones named.\n- \"Request failed with status N\": read the reason; do not retry unchanged.\n",
|
|
4
4
|
"tools": [
|
|
5
5
|
{
|
|
6
6
|
"name": "list_monitors",
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
{
|
|
187
187
|
"name": "get_monitor",
|
|
188
188
|
"title": "Get a monitor",
|
|
189
|
-
"description": "Read one monitor's full configuration and current state. It has type, target, interval_seconds, timeout_seconds, regions, config, status, is_active, confirmation_threshold, notification_cooldown_seconds, channel_ids (empty means every
|
|
189
|
+
"description": "Read one monitor's full configuration and current state. It has type, target, interval_seconds, timeout_seconds, regions, config, status, is_active, confirmation_threshold, notification_cooldown_seconds, channel_ids (empty means every working channel is alerted), tags, badge_enabled, last_checked_at, next_run_at, and for SSL monitors ssl_expires_at and ssl_cert_info (with lifetime_days and renewal_expected_by, the two-thirds point an ACME client usually renews by), and for HTTP monitors domain_expiry_enabled and domain_expiry: null when the option is off, else {domain, status, expires_at, days_left, checked_at} for the target's registrable domain, from the registry's RDAP data. status: PENDING (not looked up yet), OK (expires_at is the registration expiry), LAPSED (the registry lists the domain as expired, in redemption or pending delete), NO_EXPIRY_DATA (the registry publishes no expiry date), UNSUPPORTED_TLD (the registry publishes no RDAP data; nothing will be alerted), NOT_FOUND (the registry has no such domain), LOOKUP_FAILED (lookups keep failing: over a week since the last answer, or three failures in a row for a domain never looked up; expires_at is the last date seen, null if none), ON_HOLD (the registry lists the domain on hold, client or server hold, so it does not resolve; expires_at is the registry's date). Date alerts go out 30, 14 and 7 days before expires_at and once it has expired, from OK, LAPSED and ON_HOLD. ON_HOLD itself alerts, and NOT_FOUND does on a domain the registry listed before, once two lookups at least a day apart agree. Use it before update_monitor, since a config you send replaces the stored one whole. Not for finding a monitor (list_monitors), its uptime (get_uptime_summary) or why it fails (list_check_results).",
|
|
190
190
|
"scope": "read",
|
|
191
191
|
"input_schema": {
|
|
192
192
|
"type": "object",
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
},
|
|
458
458
|
"status": {
|
|
459
459
|
"type": "string",
|
|
460
|
-
"description": "PENDING: not looked up yet. OK: the registry gave an expiry date. LAPSED: the registry lists the domain in its redemption or pending-delete period. NO_EXPIRY_DATA: the registry answers without an expiry date. UNSUPPORTED_TLD: the registry publishes no RDAP data. NOT_FOUND: the registry has no such domain. LOOKUP_FAILED: lookups keep failing (over a week since the last answer, or three failures in a row for a domain never looked up); expires_at is the last date seen, null if none.
|
|
460
|
+
"description": "PENDING: not looked up yet. OK: the registry gave an expiry date. LAPSED: the registry lists the domain in its redemption or pending-delete period. NO_EXPIRY_DATA: the registry answers without an expiry date. UNSUPPORTED_TLD: the registry publishes no RDAP data. NOT_FOUND: the registry has no such domain. LOOKUP_FAILED: lookups keep failing (over a week since the last answer, or three failures in a row for a domain never looked up); expires_at is the last date seen, null if none. ON_HOLD: the registry lists the domain on hold (client or server hold), so it does not resolve; expires_at is the registry's date. Date alerts (30, 14 and 7 days before expires_at, then expired) come from OK, LAPSED and ON_HOLD. ON_HOLD itself alerts, and NOT_FOUND does on a domain the registry listed before, once two lookups at least a day apart agree. Known values: PENDING, OK, LAPSED, NO_EXPIRY_DATA, UNSUPPORTED_TLD, NOT_FOUND, LOOKUP_FAILED, ON_HOLD."
|
|
461
461
|
},
|
|
462
462
|
"expires_at": {
|
|
463
463
|
"anyOf": [
|
|
@@ -520,6 +520,7 @@
|
|
|
520
520
|
"type": "string"
|
|
521
521
|
},
|
|
522
522
|
"channel_ids": {
|
|
523
|
+
"description": "Bound notification channels. Empty means every working channel of the organization is alerted.",
|
|
523
524
|
"items": {
|
|
524
525
|
"format": "uuid",
|
|
525
526
|
"type": "string"
|
|
@@ -633,7 +634,7 @@
|
|
|
633
634
|
"config": {
|
|
634
635
|
"additionalProperties": true,
|
|
635
636
|
"type": "object",
|
|
636
|
-
"description": "An object whose fields depend on type, all optional unless stated. HTTP: method (GET, HEAD, POST, PUT, PATCH or DELETE, any case; default GET); expected_status_codes (non-empty list of codes 100 to 599, default [200]); keyword (case-sensitive substring the body must contain, at most 1024 characters, not with HEAD); follow_redirects (default true); verify_ssl (default true; false skips TLS verification, so the monitor can never report TLS_INVALID); request_headers (object of name to value: at most 20, a name at most 128 characters of letters, digits and ! # $ % & ' * + - . ^ _ ` | ~, a value at most 1024 bytes of printable ASCII, space or tab, the whole object at most 8192 bytes as JSON; names differing only in case, and Host, Content-Length, Transfer-Encoding, Connection, Upgrade, TE, Trailer, Keep-Alive, CF-Connecting-IP or any Proxy-* name, are a 422); request_body (string, at most 8192 bytes as UTF-8, needs POST, PUT, PATCH or DELETE). Reads return every request_headers value as the literal __FETTLE_UNCHANGED__; writing that literal back in an update keeps the stored value (on create it is a 422). PING: packet_count (1 to 20, default 4). SSL: warn_before_days (1 to 365, default 14) and port (1 to 65535, default 443). TCP: either port (1 to 65535) with expected_state \"open\" (default) or \"closed\", or ports (1 to 20 distinct ports that must all be closed, which needs expected_state \"closed\", exactly one region and interval_seconds of at least 300; a check fails when any of them accepts a connection, and the monitor goes DOWN once confirmation_threshold failures confirm it). Both port and ports, or neither, is a 422; expected_state values are lowercase. DNS: record_type (A, AAAA, CNAME, MX, TXT or
|
|
637
|
+
"description": "An object whose fields depend on type, all optional unless stated. HTTP: method (GET, HEAD, POST, PUT, PATCH or DELETE, any case; default GET); expected_status_codes (non-empty list of codes 100 to 599, default [200]); keyword (case-sensitive substring the body must contain, at most 1024 characters, not with HEAD); follow_redirects (default true); verify_ssl (default true; false skips TLS verification, so the monitor can never report TLS_INVALID); request_headers (object of name to value: at most 20, a name at most 128 characters of letters, digits and ! # $ % & ' * + - . ^ _ ` | ~, a value at most 1024 bytes of printable ASCII, space or tab, the whole object at most 8192 bytes as JSON; names differing only in case, and Host, Content-Length, Transfer-Encoding, Connection, Upgrade, TE, Trailer, Keep-Alive, CF-Connecting-IP or any Proxy-* name, are a 422); request_body (string, at most 8192 bytes as UTF-8, needs POST, PUT, PATCH or DELETE). Reads return every request_headers value as the literal __FETTLE_UNCHANGED__; writing that literal back in an update keeps the stored value (on create it is a 422). PING: packet_count (1 to 20, default 4). SSL: warn_before_days (1 to 365, default 14) and port (1 to 65535, default 443). TCP: either port (1 to 65535) with expected_state \"open\" (default) or \"closed\", or ports (1 to 20 distinct ports that must all be closed, which needs expected_state \"closed\", exactly one region and interval_seconds of at least 300; a check fails when any of them accepts a connection, and the monitor goes DOWN once confirmation_threshold failures confirm it). Both port and ports, or neither, is a 422; expected_state values are lowercase. DNS: record_type (A, AAAA, CNAME, MX, TXT, NS or SRV; required) and expected_value (at most 2048 characters). With expected_value one answer must equal it (case-insensitive, ignoring surrounding spaces and a trailing dot; exact for TXT); without it any answer passes. MX answers are the mail host names without priority (mail.example.com, not 10 mail.example.com). A and AAAA look up every address of the host, IPv4 and IPv6 alike, and any one may match; write an IPv6 address in its shortest form. SRV: the target is the full name (_sip._tcp.example.com) and each answer reads priority weight port target (10 60 5060 sip.example.com); expected_value is either all four fields, which must all match, or target:port (sip.example.com:5060), which ignores priority and weight; any other SRV expected_value is a 422. Omit it for HTTP, PING or SSL to take the defaults; a TCP or DNS monitor without it is a 422."
|
|
637
638
|
},
|
|
638
639
|
"confirmation_threshold": {
|
|
639
640
|
"maximum": 10,
|
|
@@ -653,7 +654,7 @@
|
|
|
653
654
|
"type": "string"
|
|
654
655
|
},
|
|
655
656
|
"type": "array",
|
|
656
|
-
"description": "Notification channel uuids from list_channels. Omit it or pass [] to alert every
|
|
657
|
+
"description": "Notification channel uuids from list_channels; email addresses are channels too. Omit it or pass [] to alert every working channel of the organization. A list replaces that default: only the listed channels are alerted, nobody else is emailed implicitly. An id that is not an active channel of this organization is a 404. Once every bound channel is deleted, every working channel is alerted. If none of the channels works, the organization's owner is emailed."
|
|
657
658
|
},
|
|
658
659
|
"tags": {
|
|
659
660
|
"items": {
|
|
@@ -672,7 +673,7 @@
|
|
|
672
673
|
},
|
|
673
674
|
"domain_expiry_enabled": {
|
|
674
675
|
"type": "boolean",
|
|
675
|
-
"description": "Watch the expiry date of the target's registered domain (RDAP) and alert before it lapses. HTTP monitors whose target is a domain name only, and not a subdomain of a hosting platform such as *.herokuapp.com or *.github.io; any other target is a 422. Default false."
|
|
676
|
+
"description": "Watch the expiry date of the target's registered domain (RDAP) and alert before it lapses, and when the registry puts the domain on hold or no longer lists it. HTTP monitors whose target is a domain name only, and not a subdomain of a hosting platform such as *.herokuapp.com or *.github.io; any other target is a 422. Default false."
|
|
676
677
|
}
|
|
677
678
|
},
|
|
678
679
|
"required": [
|
|
@@ -938,7 +939,7 @@
|
|
|
938
939
|
},
|
|
939
940
|
"status": {
|
|
940
941
|
"type": "string",
|
|
941
|
-
"description": "PENDING: not looked up yet. OK: the registry gave an expiry date. LAPSED: the registry lists the domain in its redemption or pending-delete period. NO_EXPIRY_DATA: the registry answers without an expiry date. UNSUPPORTED_TLD: the registry publishes no RDAP data. NOT_FOUND: the registry has no such domain. LOOKUP_FAILED: lookups keep failing (over a week since the last answer, or three failures in a row for a domain never looked up); expires_at is the last date seen, null if none.
|
|
942
|
+
"description": "PENDING: not looked up yet. OK: the registry gave an expiry date. LAPSED: the registry lists the domain in its redemption or pending-delete period. NO_EXPIRY_DATA: the registry answers without an expiry date. UNSUPPORTED_TLD: the registry publishes no RDAP data. NOT_FOUND: the registry has no such domain. LOOKUP_FAILED: lookups keep failing (over a week since the last answer, or three failures in a row for a domain never looked up); expires_at is the last date seen, null if none. ON_HOLD: the registry lists the domain on hold (client or server hold), so it does not resolve; expires_at is the registry's date. Date alerts (30, 14 and 7 days before expires_at, then expired) come from OK, LAPSED and ON_HOLD. ON_HOLD itself alerts, and NOT_FOUND does on a domain the registry listed before, once two lookups at least a day apart agree. Known values: PENDING, OK, LAPSED, NO_EXPIRY_DATA, UNSUPPORTED_TLD, NOT_FOUND, LOOKUP_FAILED, ON_HOLD."
|
|
942
943
|
},
|
|
943
944
|
"expires_at": {
|
|
944
945
|
"anyOf": [
|
|
@@ -1001,6 +1002,7 @@
|
|
|
1001
1002
|
"type": "string"
|
|
1002
1003
|
},
|
|
1003
1004
|
"channel_ids": {
|
|
1005
|
+
"description": "Bound notification channels. Empty means every working channel of the organization is alerted.",
|
|
1004
1006
|
"items": {
|
|
1005
1007
|
"format": "uuid",
|
|
1006
1008
|
"type": "string"
|
|
@@ -1531,6 +1533,7 @@
|
|
|
1531
1533
|
"type": "array"
|
|
1532
1534
|
},
|
|
1533
1535
|
"channel_ids": {
|
|
1536
|
+
"description": "Ids of the notification channels to alert; email addresses are channels too. An empty list means every working channel of the organization (so does omitting it on create; on update, omitting it keeps the binding). A non-empty list replaces that default: only the listed channels are alerted, nobody else is emailed implicitly. If none of the alerted channels works, the organization's owner is emailed.",
|
|
1534
1537
|
"items": {
|
|
1535
1538
|
"format": "uuid",
|
|
1536
1539
|
"type": "string"
|
|
@@ -1552,7 +1555,7 @@
|
|
|
1552
1555
|
}
|
|
1553
1556
|
},
|
|
1554
1557
|
"type": "object",
|
|
1555
|
-
"description": "The values to set, at least one of: interval_seconds (30 to 86400), timeout_seconds (1 to 120), regions (region codes from limits.allowed_regions in get_plan_usage), channel_ids (channel uuids from list_channels; replaces each binding, [] clears it, an unknown channel is a 404), confirmation_threshold (1 to 10), notification_cooldown_seconds (60 to 86400) and change_alerts_enabled (true or false: the opt-in to change alerts, default false). Omit a field to keep it; never send null."
|
|
1558
|
+
"description": "The values to set, at least one of: interval_seconds (30 to 86400), timeout_seconds (1 to 120), regions (region codes from limits.allowed_regions in get_plan_usage), channel_ids (channel uuids from list_channels; replaces each binding, [] clears it, an unknown channel is a 404, a muted one too unless every listed monitor is bound to it already), confirmation_threshold (1 to 10), notification_cooldown_seconds (60 to 86400) and change_alerts_enabled (true or false: the opt-in to change alerts, default false). Omit a field to keep it; never send null."
|
|
1556
1559
|
}
|
|
1557
1560
|
},
|
|
1558
1561
|
"required": [
|
|
@@ -1747,7 +1750,7 @@
|
|
|
1747
1750
|
"config": {
|
|
1748
1751
|
"additionalProperties": true,
|
|
1749
1752
|
"type": "object",
|
|
1750
|
-
"description": "Replaces the monitor's whole config, not just the keys you send: a field of the type's schema you leave out resets to its default (read the current one with get_monitor first). Sending only port on a TCP monitor whose expected_state is closed resets it to open. A port-list TCP monitor cannot switch to a single port (422). An object whose fields depend on type, all optional unless stated. HTTP: method (GET, HEAD, POST, PUT, PATCH or DELETE, any case; default GET); expected_status_codes (non-empty list of codes 100 to 599, default [200]); keyword (case-sensitive substring the body must contain, at most 1024 characters, not with HEAD); follow_redirects (default true); verify_ssl (default true; false skips TLS verification, so the monitor can never report TLS_INVALID); request_headers (object of name to value: at most 20, a name at most 128 characters of letters, digits and ! # $ % & ' * + - . ^ _ ` | ~, a value at most 1024 bytes of printable ASCII, space or tab, the whole object at most 8192 bytes as JSON; names differing only in case, and Host, Content-Length, Transfer-Encoding, Connection, Upgrade, TE, Trailer, Keep-Alive, CF-Connecting-IP or any Proxy-* name, are a 422); request_body (string, at most 8192 bytes as UTF-8, needs POST, PUT, PATCH or DELETE). Reads return every request_headers value as the literal __FETTLE_UNCHANGED__; writing that literal back in an update keeps the stored value (on create it is a 422). PING: packet_count (1 to 20, default 4). SSL: warn_before_days (1 to 365, default 14) and port (1 to 65535, default 443). TCP: either port (1 to 65535) with expected_state \"open\" (default) or \"closed\", or ports (1 to 20 distinct ports that must all be closed, which needs expected_state \"closed\", exactly one region and interval_seconds of at least 300; a check fails when any of them accepts a connection, and the monitor goes DOWN once confirmation_threshold failures confirm it). Both port and ports, or neither, is a 422; expected_state values are lowercase. DNS: record_type (A, AAAA, CNAME, MX, TXT or
|
|
1753
|
+
"description": "Replaces the monitor's whole config, not just the keys you send: a field of the type's schema you leave out resets to its default (read the current one with get_monitor first). Sending only port on a TCP monitor whose expected_state is closed resets it to open. A port-list TCP monitor cannot switch to a single port (422). An object whose fields depend on type, all optional unless stated. HTTP: method (GET, HEAD, POST, PUT, PATCH or DELETE, any case; default GET); expected_status_codes (non-empty list of codes 100 to 599, default [200]); keyword (case-sensitive substring the body must contain, at most 1024 characters, not with HEAD); follow_redirects (default true); verify_ssl (default true; false skips TLS verification, so the monitor can never report TLS_INVALID); request_headers (object of name to value: at most 20, a name at most 128 characters of letters, digits and ! # $ % & ' * + - . ^ _ ` | ~, a value at most 1024 bytes of printable ASCII, space or tab, the whole object at most 8192 bytes as JSON; names differing only in case, and Host, Content-Length, Transfer-Encoding, Connection, Upgrade, TE, Trailer, Keep-Alive, CF-Connecting-IP or any Proxy-* name, are a 422); request_body (string, at most 8192 bytes as UTF-8, needs POST, PUT, PATCH or DELETE). Reads return every request_headers value as the literal __FETTLE_UNCHANGED__; writing that literal back in an update keeps the stored value (on create it is a 422). PING: packet_count (1 to 20, default 4). SSL: warn_before_days (1 to 365, default 14) and port (1 to 65535, default 443). TCP: either port (1 to 65535) with expected_state \"open\" (default) or \"closed\", or ports (1 to 20 distinct ports that must all be closed, which needs expected_state \"closed\", exactly one region and interval_seconds of at least 300; a check fails when any of them accepts a connection, and the monitor goes DOWN once confirmation_threshold failures confirm it). Both port and ports, or neither, is a 422; expected_state values are lowercase. DNS: record_type (A, AAAA, CNAME, MX, TXT, NS or SRV; required) and expected_value (at most 2048 characters). With expected_value one answer must equal it (case-insensitive, ignoring surrounding spaces and a trailing dot; exact for TXT); without it any answer passes. MX answers are the mail host names without priority (mail.example.com, not 10 mail.example.com). A and AAAA look up every address of the host, IPv4 and IPv6 alike, and any one may match; write an IPv6 address in its shortest form. SRV: the target is the full name (_sip._tcp.example.com) and each answer reads priority weight port target (10 60 5060 sip.example.com); expected_value is either all four fields, which must all match, or target:port (sip.example.com:5060), which ignores priority and weight; any other SRV expected_value is a 422."
|
|
1751
1754
|
},
|
|
1752
1755
|
"confirmation_threshold": {
|
|
1753
1756
|
"maximum": 10,
|
|
@@ -1767,7 +1770,7 @@
|
|
|
1767
1770
|
"type": "string"
|
|
1768
1771
|
},
|
|
1769
1772
|
"type": "array",
|
|
1770
|
-
"description": "Notification channel uuids from list_channels. When passed it replaces the whole binding; [] clears it, after which every
|
|
1773
|
+
"description": "Notification channel uuids from list_channels; email addresses are channels too. When passed it replaces the whole binding: only the listed channels are alerted, nobody else is emailed implicitly; [] clears it, after which every working channel is alerted; omit it to keep the binding. A newly added id must be an active channel of this organization (else 404); resending a channel that is already bound keeps it even if it is muted, and it gets no alerts while muted. Once every bound channel is deleted, every working channel is alerted. If none of the channels works, the organization's owner is emailed."
|
|
1771
1774
|
},
|
|
1772
1775
|
"badge_enabled": {
|
|
1773
1776
|
"type": "boolean",
|
|
@@ -1779,7 +1782,7 @@
|
|
|
1779
1782
|
},
|
|
1780
1783
|
"domain_expiry_enabled": {
|
|
1781
1784
|
"type": "boolean",
|
|
1782
|
-
"description": "Watch the expiry date of the target's registered domain (RDAP) and alert before it lapses. HTTP monitors whose target is a domain name only, and not a subdomain of a hosting platform such as *.herokuapp.com or *.github.io; any other target is a 422."
|
|
1785
|
+
"description": "Watch the expiry date of the target's registered domain (RDAP) and alert before it lapses, and when the registry puts the domain on hold or no longer lists it. HTTP monitors whose target is a domain name only, and not a subdomain of a hosting platform such as *.herokuapp.com or *.github.io; any other target is a 422."
|
|
1783
1786
|
},
|
|
1784
1787
|
"tags": {
|
|
1785
1788
|
"items": {
|
|
@@ -2049,7 +2052,7 @@
|
|
|
2049
2052
|
},
|
|
2050
2053
|
"status": {
|
|
2051
2054
|
"type": "string",
|
|
2052
|
-
"description": "PENDING: not looked up yet. OK: the registry gave an expiry date. LAPSED: the registry lists the domain in its redemption or pending-delete period. NO_EXPIRY_DATA: the registry answers without an expiry date. UNSUPPORTED_TLD: the registry publishes no RDAP data. NOT_FOUND: the registry has no such domain. LOOKUP_FAILED: lookups keep failing (over a week since the last answer, or three failures in a row for a domain never looked up); expires_at is the last date seen, null if none.
|
|
2055
|
+
"description": "PENDING: not looked up yet. OK: the registry gave an expiry date. LAPSED: the registry lists the domain in its redemption or pending-delete period. NO_EXPIRY_DATA: the registry answers without an expiry date. UNSUPPORTED_TLD: the registry publishes no RDAP data. NOT_FOUND: the registry has no such domain. LOOKUP_FAILED: lookups keep failing (over a week since the last answer, or three failures in a row for a domain never looked up); expires_at is the last date seen, null if none. ON_HOLD: the registry lists the domain on hold (client or server hold), so it does not resolve; expires_at is the registry's date. Date alerts (30, 14 and 7 days before expires_at, then expired) come from OK, LAPSED and ON_HOLD. ON_HOLD itself alerts, and NOT_FOUND does on a domain the registry listed before, once two lookups at least a day apart agree. Known values: PENDING, OK, LAPSED, NO_EXPIRY_DATA, UNSUPPORTED_TLD, NOT_FOUND, LOOKUP_FAILED, ON_HOLD."
|
|
2053
2056
|
},
|
|
2054
2057
|
"expires_at": {
|
|
2055
2058
|
"anyOf": [
|
|
@@ -2112,6 +2115,7 @@
|
|
|
2112
2115
|
"type": "string"
|
|
2113
2116
|
},
|
|
2114
2117
|
"channel_ids": {
|
|
2118
|
+
"description": "Bound notification channels. Empty means every working channel of the organization is alerted.",
|
|
2115
2119
|
"items": {
|
|
2116
2120
|
"format": "uuid",
|
|
2117
2121
|
"type": "string"
|
|
@@ -2445,7 +2449,7 @@
|
|
|
2445
2449
|
},
|
|
2446
2450
|
"status": {
|
|
2447
2451
|
"type": "string",
|
|
2448
|
-
"description": "PENDING: not looked up yet. OK: the registry gave an expiry date. LAPSED: the registry lists the domain in its redemption or pending-delete period. NO_EXPIRY_DATA: the registry answers without an expiry date. UNSUPPORTED_TLD: the registry publishes no RDAP data. NOT_FOUND: the registry has no such domain. LOOKUP_FAILED: lookups keep failing (over a week since the last answer, or three failures in a row for a domain never looked up); expires_at is the last date seen, null if none.
|
|
2452
|
+
"description": "PENDING: not looked up yet. OK: the registry gave an expiry date. LAPSED: the registry lists the domain in its redemption or pending-delete period. NO_EXPIRY_DATA: the registry answers without an expiry date. UNSUPPORTED_TLD: the registry publishes no RDAP data. NOT_FOUND: the registry has no such domain. LOOKUP_FAILED: lookups keep failing (over a week since the last answer, or three failures in a row for a domain never looked up); expires_at is the last date seen, null if none. ON_HOLD: the registry lists the domain on hold (client or server hold), so it does not resolve; expires_at is the registry's date. Date alerts (30, 14 and 7 days before expires_at, then expired) come from OK, LAPSED and ON_HOLD. ON_HOLD itself alerts, and NOT_FOUND does on a domain the registry listed before, once two lookups at least a day apart agree. Known values: PENDING, OK, LAPSED, NO_EXPIRY_DATA, UNSUPPORTED_TLD, NOT_FOUND, LOOKUP_FAILED, ON_HOLD."
|
|
2449
2453
|
},
|
|
2450
2454
|
"expires_at": {
|
|
2451
2455
|
"anyOf": [
|
|
@@ -2508,6 +2512,7 @@
|
|
|
2508
2512
|
"type": "string"
|
|
2509
2513
|
},
|
|
2510
2514
|
"channel_ids": {
|
|
2515
|
+
"description": "Bound notification channels. Empty means every working channel of the organization is alerted.",
|
|
2511
2516
|
"items": {
|
|
2512
2517
|
"format": "uuid",
|
|
2513
2518
|
"type": "string"
|
|
@@ -2841,7 +2846,7 @@
|
|
|
2841
2846
|
},
|
|
2842
2847
|
"status": {
|
|
2843
2848
|
"type": "string",
|
|
2844
|
-
"description": "PENDING: not looked up yet. OK: the registry gave an expiry date. LAPSED: the registry lists the domain in its redemption or pending-delete period. NO_EXPIRY_DATA: the registry answers without an expiry date. UNSUPPORTED_TLD: the registry publishes no RDAP data. NOT_FOUND: the registry has no such domain. LOOKUP_FAILED: lookups keep failing (over a week since the last answer, or three failures in a row for a domain never looked up); expires_at is the last date seen, null if none.
|
|
2849
|
+
"description": "PENDING: not looked up yet. OK: the registry gave an expiry date. LAPSED: the registry lists the domain in its redemption or pending-delete period. NO_EXPIRY_DATA: the registry answers without an expiry date. UNSUPPORTED_TLD: the registry publishes no RDAP data. NOT_FOUND: the registry has no such domain. LOOKUP_FAILED: lookups keep failing (over a week since the last answer, or three failures in a row for a domain never looked up); expires_at is the last date seen, null if none. ON_HOLD: the registry lists the domain on hold (client or server hold), so it does not resolve; expires_at is the registry's date. Date alerts (30, 14 and 7 days before expires_at, then expired) come from OK, LAPSED and ON_HOLD. ON_HOLD itself alerts, and NOT_FOUND does on a domain the registry listed before, once two lookups at least a day apart agree. Known values: PENDING, OK, LAPSED, NO_EXPIRY_DATA, UNSUPPORTED_TLD, NOT_FOUND, LOOKUP_FAILED, ON_HOLD."
|
|
2845
2850
|
},
|
|
2846
2851
|
"expires_at": {
|
|
2847
2852
|
"anyOf": [
|
|
@@ -2904,6 +2909,7 @@
|
|
|
2904
2909
|
"type": "string"
|
|
2905
2910
|
},
|
|
2906
2911
|
"channel_ids": {
|
|
2912
|
+
"description": "Bound notification channels. Empty means every working channel of the organization is alerted.",
|
|
2907
2913
|
"items": {
|
|
2908
2914
|
"format": "uuid",
|
|
2909
2915
|
"type": "string"
|
|
@@ -3284,7 +3290,7 @@
|
|
|
3284
3290
|
},
|
|
3285
3291
|
"status": {
|
|
3286
3292
|
"type": "string",
|
|
3287
|
-
"description": "PENDING: not looked up yet. OK: the registry gave an expiry date. LAPSED: the registry lists the domain in its redemption or pending-delete period. NO_EXPIRY_DATA: the registry answers without an expiry date. UNSUPPORTED_TLD: the registry publishes no RDAP data. NOT_FOUND: the registry has no such domain. LOOKUP_FAILED: lookups keep failing (over a week since the last answer, or three failures in a row for a domain never looked up); expires_at is the last date seen, null if none.
|
|
3293
|
+
"description": "PENDING: not looked up yet. OK: the registry gave an expiry date. LAPSED: the registry lists the domain in its redemption or pending-delete period. NO_EXPIRY_DATA: the registry answers without an expiry date. UNSUPPORTED_TLD: the registry publishes no RDAP data. NOT_FOUND: the registry has no such domain. LOOKUP_FAILED: lookups keep failing (over a week since the last answer, or three failures in a row for a domain never looked up); expires_at is the last date seen, null if none. ON_HOLD: the registry lists the domain on hold (client or server hold), so it does not resolve; expires_at is the registry's date. Date alerts (30, 14 and 7 days before expires_at, then expired) come from OK, LAPSED and ON_HOLD. ON_HOLD itself alerts, and NOT_FOUND does on a domain the registry listed before, once two lookups at least a day apart agree. Known values: PENDING, OK, LAPSED, NO_EXPIRY_DATA, UNSUPPORTED_TLD, NOT_FOUND, LOOKUP_FAILED, ON_HOLD."
|
|
3288
3294
|
},
|
|
3289
3295
|
"expires_at": {
|
|
3290
3296
|
"anyOf": [
|
|
@@ -3347,6 +3353,7 @@
|
|
|
3347
3353
|
"type": "string"
|
|
3348
3354
|
},
|
|
3349
3355
|
"channel_ids": {
|
|
3356
|
+
"description": "Bound notification channels. Empty means every working channel of the organization is alerted.",
|
|
3350
3357
|
"items": {
|
|
3351
3358
|
"format": "uuid",
|
|
3352
3359
|
"type": "string"
|
|
@@ -4016,7 +4023,7 @@
|
|
|
4016
4023
|
},
|
|
4017
4024
|
"event": {
|
|
4018
4025
|
"type": "string",
|
|
4019
|
-
"description": "Known values: TRIGGERED, RESOLVED, SSL_EXPIRY, SSL_RENEWAL_OVERDUE, SSL_COVERAGE_LOST, CHANGE_DETECTED, DOMAIN_EXPIRY."
|
|
4026
|
+
"description": "Known values: TRIGGERED, RESOLVED, SSL_EXPIRY, SSL_RENEWAL_OVERDUE, SSL_COVERAGE_LOST, CHANGE_DETECTED, DOMAIN_EXPIRY, DOMAIN_ON_HOLD, DOMAIN_NOT_IN_REGISTRY."
|
|
4020
4027
|
},
|
|
4021
4028
|
"sent_at": {
|
|
4022
4029
|
"type": "string"
|
|
@@ -4034,6 +4041,17 @@
|
|
|
4034
4041
|
"type": "null"
|
|
4035
4042
|
}
|
|
4036
4043
|
]
|
|
4044
|
+
},
|
|
4045
|
+
"fallback_reason": {
|
|
4046
|
+
"anyOf": [
|
|
4047
|
+
{
|
|
4048
|
+
"type": "string",
|
|
4049
|
+
"description": "Known values: NO_WORKING_CHANNELS."
|
|
4050
|
+
},
|
|
4051
|
+
{
|
|
4052
|
+
"type": "null"
|
|
4053
|
+
}
|
|
4054
|
+
]
|
|
4037
4055
|
}
|
|
4038
4056
|
},
|
|
4039
4057
|
"required": [
|
|
@@ -4259,7 +4277,7 @@
|
|
|
4259
4277
|
},
|
|
4260
4278
|
"event": {
|
|
4261
4279
|
"type": "string",
|
|
4262
|
-
"description": "Known values: TRIGGERED, RESOLVED, SSL_EXPIRY, SSL_RENEWAL_OVERDUE, SSL_COVERAGE_LOST, CHANGE_DETECTED, DOMAIN_EXPIRY."
|
|
4280
|
+
"description": "Known values: TRIGGERED, RESOLVED, SSL_EXPIRY, SSL_RENEWAL_OVERDUE, SSL_COVERAGE_LOST, CHANGE_DETECTED, DOMAIN_EXPIRY, DOMAIN_ON_HOLD, DOMAIN_NOT_IN_REGISTRY."
|
|
4263
4281
|
},
|
|
4264
4282
|
"sent_at": {
|
|
4265
4283
|
"type": "string"
|
|
@@ -4277,6 +4295,17 @@
|
|
|
4277
4295
|
"type": "null"
|
|
4278
4296
|
}
|
|
4279
4297
|
]
|
|
4298
|
+
},
|
|
4299
|
+
"fallback_reason": {
|
|
4300
|
+
"anyOf": [
|
|
4301
|
+
{
|
|
4302
|
+
"type": "string",
|
|
4303
|
+
"description": "Known values: NO_WORKING_CHANNELS."
|
|
4304
|
+
},
|
|
4305
|
+
{
|
|
4306
|
+
"type": "null"
|
|
4307
|
+
}
|
|
4308
|
+
]
|
|
4280
4309
|
}
|
|
4281
4310
|
},
|
|
4282
4311
|
"required": [
|
|
@@ -4468,6 +4497,7 @@
|
|
|
4468
4497
|
"type": "boolean"
|
|
4469
4498
|
},
|
|
4470
4499
|
"channel_ids": {
|
|
4500
|
+
"description": "Bound notification channels. Empty means every working channel of the organization is alerted.",
|
|
4471
4501
|
"items": {
|
|
4472
4502
|
"format": "uuid",
|
|
4473
4503
|
"type": "string"
|
|
@@ -4569,7 +4599,7 @@
|
|
|
4569
4599
|
"type": "string"
|
|
4570
4600
|
},
|
|
4571
4601
|
"type": "array",
|
|
4572
|
-
"description": "Notification channel uuids from list_channels. Omit it or pass [] to alert every
|
|
4602
|
+
"description": "Notification channel uuids from list_channels; email addresses are channels too. Omit it or pass [] to alert every working channel of the organization. A list replaces that default: only the listed channels are alerted, nobody else is emailed implicitly. An id that is not an active channel of this organization is a 404. Once every bound channel is deleted, every working channel is alerted. If none of the channels works, the organization's owner is emailed."
|
|
4573
4603
|
},
|
|
4574
4604
|
"tags": {
|
|
4575
4605
|
"items": {
|
|
@@ -4679,6 +4709,7 @@
|
|
|
4679
4709
|
"type": "boolean"
|
|
4680
4710
|
},
|
|
4681
4711
|
"channel_ids": {
|
|
4712
|
+
"description": "Bound notification channels. Empty means every working channel of the organization is alerted.",
|
|
4682
4713
|
"items": {
|
|
4683
4714
|
"format": "uuid",
|
|
4684
4715
|
"type": "string"
|
|
@@ -4832,6 +4863,7 @@
|
|
|
4832
4863
|
"type": "boolean"
|
|
4833
4864
|
},
|
|
4834
4865
|
"channel_ids": {
|
|
4866
|
+
"description": "Bound notification channels. Empty means every working channel of the organization is alerted.",
|
|
4835
4867
|
"items": {
|
|
4836
4868
|
"format": "uuid",
|
|
4837
4869
|
"type": "string"
|
|
@@ -4914,7 +4946,7 @@
|
|
|
4914
4946
|
"type": "string"
|
|
4915
4947
|
},
|
|
4916
4948
|
"type": "array",
|
|
4917
|
-
"description": "Notification channel uuids from list_channels. When passed it replaces the whole binding; [] clears it, after which every
|
|
4949
|
+
"description": "Notification channel uuids from list_channels; email addresses are channels too. When passed it replaces the whole binding: only the listed channels are alerted, nobody else is emailed implicitly; [] clears it, after which every working channel is alerted; omit it to keep the binding. A newly added id must be an active channel of this organization (else 404); resending a channel that is already bound keeps it even if it is muted, and it gets no alerts while muted. Once every bound channel is deleted, every working channel is alerted. If none of the channels works, the organization's owner is emailed."
|
|
4918
4950
|
},
|
|
4919
4951
|
"tags": {
|
|
4920
4952
|
"items": {
|
|
@@ -5024,6 +5056,7 @@
|
|
|
5024
5056
|
"type": "boolean"
|
|
5025
5057
|
},
|
|
5026
5058
|
"channel_ids": {
|
|
5059
|
+
"description": "Bound notification channels. Empty means every working channel of the organization is alerted.",
|
|
5027
5060
|
"items": {
|
|
5028
5061
|
"format": "uuid",
|
|
5029
5062
|
"type": "string"
|
|
@@ -5241,6 +5274,7 @@
|
|
|
5241
5274
|
"type": "boolean"
|
|
5242
5275
|
},
|
|
5243
5276
|
"channel_ids": {
|
|
5277
|
+
"description": "Bound notification channels. Empty means every working channel of the organization is alerted.",
|
|
5244
5278
|
"items": {
|
|
5245
5279
|
"format": "uuid",
|
|
5246
5280
|
"type": "string"
|
|
@@ -5394,6 +5428,7 @@
|
|
|
5394
5428
|
"type": "boolean"
|
|
5395
5429
|
},
|
|
5396
5430
|
"channel_ids": {
|
|
5431
|
+
"description": "Bound notification channels. Empty means every working channel of the organization is alerted.",
|
|
5397
5432
|
"items": {
|
|
5398
5433
|
"format": "uuid",
|
|
5399
5434
|
"type": "string"
|
|
@@ -7122,7 +7157,7 @@
|
|
|
7122
7157
|
{
|
|
7123
7158
|
"name": "get_incident",
|
|
7124
7159
|
"title": "Get an incident",
|
|
7125
|
-
"description": "Read one incident in full, with every alert sent for it. It has id, monitor_id or heartbeat_id (exactly one is set), started_at, resolved_at, cause, cause_detail, last_notified_at, acknowledged_at, acknowledged_by, acknowledged_via, acknowledged_by_label, renotify_count and notification_logs (each alert attempt: id, channel_type, destination, event TRIGGERED or RESOLVED, sent_at, status PENDING, SENT or FAILED, and error; SSL alerts (SSL_EXPIRY, SSL_RENEWAL_OVERDUE, SSL_COVERAGE_LOST), change alerts (CHANGE_DETECTED) and domain
|
|
7160
|
+
"description": "Read one incident in full, with every alert sent for it. It has id, monitor_id or heartbeat_id (exactly one is set), started_at, resolved_at, cause, cause_detail, last_notified_at, acknowledged_at, acknowledged_by, acknowledged_via, acknowledged_by_label, renotify_count and notification_logs (each alert attempt: id, channel_type, destination, event TRIGGERED or RESOLVED, sent_at, status PENDING, SENT or FAILED, and error; SSL alerts (SSL_EXPIRY, SSL_RENEWAL_OVERDUE, SSL_COVERAGE_LOST), change alerts (CHANGE_DETECTED) and domain alerts (DOMAIN_EXPIRY, DOMAIN_ON_HOLD, DOMAIN_NOT_IN_REGISTRY) are not tied to an incident and never appear here). Use it to tell whether its alerts were delivered and who acknowledged it: acknowledged_by is the Fettle user's uuid (null for a Telegram tap), acknowledged_via the source (DASHBOARD, API_KEY, MCP or TELEGRAM; null when unacknowledged or acknowledged before the source was recorded) and acknowledged_by_label the actor that is not a Fettle user (the Telegram name, the API key name or the MCP client name). MCP means acknowledged through the remote Fettle MCP endpoint (label: the connected app's name, or the API key's name when that connection uses a key); the stdio fettle-mcp package and any REST call with an API key record API_KEY (label: the key's name). For the person's name and email use get_incident_context. destination is an email address, a Telegram chat id, or only scheme://host/… of a webhook. To find incidents use list_incidents; to stop its reminders use acknowledge_incident.",
|
|
7126
7161
|
"scope": "read",
|
|
7127
7162
|
"input_schema": {
|
|
7128
7163
|
"type": "object",
|
|
@@ -7286,7 +7321,7 @@
|
|
|
7286
7321
|
},
|
|
7287
7322
|
"event": {
|
|
7288
7323
|
"type": "string",
|
|
7289
|
-
"description": "Known values: TRIGGERED, RESOLVED, SSL_EXPIRY, SSL_RENEWAL_OVERDUE, SSL_COVERAGE_LOST, CHANGE_DETECTED, DOMAIN_EXPIRY."
|
|
7324
|
+
"description": "Known values: TRIGGERED, RESOLVED, SSL_EXPIRY, SSL_RENEWAL_OVERDUE, SSL_COVERAGE_LOST, CHANGE_DETECTED, DOMAIN_EXPIRY, DOMAIN_ON_HOLD, DOMAIN_NOT_IN_REGISTRY."
|
|
7290
7325
|
},
|
|
7291
7326
|
"sent_at": {
|
|
7292
7327
|
"type": "string"
|
|
@@ -7304,6 +7339,17 @@
|
|
|
7304
7339
|
"type": "null"
|
|
7305
7340
|
}
|
|
7306
7341
|
]
|
|
7342
|
+
},
|
|
7343
|
+
"fallback_reason": {
|
|
7344
|
+
"anyOf": [
|
|
7345
|
+
{
|
|
7346
|
+
"type": "string",
|
|
7347
|
+
"description": "Known values: NO_WORKING_CHANNELS."
|
|
7348
|
+
},
|
|
7349
|
+
{
|
|
7350
|
+
"type": "null"
|
|
7351
|
+
}
|
|
7352
|
+
]
|
|
7307
7353
|
}
|
|
7308
7354
|
},
|
|
7309
7355
|
"required": [
|
|
@@ -9649,7 +9695,7 @@
|
|
|
9649
9695
|
{
|
|
9650
9696
|
"name": "list_channels",
|
|
9651
9697
|
"title": "List notification channels",
|
|
9652
|
-
"description": "List the organization's notification channels
|
|
9698
|
+
"description": "List the organization's notification channels, to get the ids that channel_ids of monitors and heartbeats take: every member's own email channel, then up to 100 others (added email addresses first). Each has id, type, label, is_verified, is_active, state, member_name (the member whose own email channel it is, else null) and destination_hint (a masked email address, a chat id, or a webhook's scheme and host). state is WORKING, MUTED, PENDING_CONFIRMATION or BROKEN; only a WORKING channel receives alerts. An active channel can be bound in any state; a muted (inactive) or unknown id cannot be newly bound (404). Alerts go only to channels: if none works, the organization's owner is emailed. Channels are added and changed only in the dashboard.",
|
|
9653
9699
|
"scope": "read",
|
|
9654
9700
|
"input_schema": {
|
|
9655
9701
|
"type": "object",
|
|
@@ -9769,7 +9815,7 @@
|
|
|
9769
9815
|
"config": {
|
|
9770
9816
|
"additionalProperties": true,
|
|
9771
9817
|
"type": "object",
|
|
9772
|
-
"description": "As in create_monitor; TCP and DNS need it. The region, interval and update rules there do not apply to a one-off probe. An object whose fields depend on type, all optional unless stated. HTTP: method (GET, HEAD, POST, PUT, PATCH or DELETE, any case; default GET); expected_status_codes (non-empty list of codes 100 to 599, default [200]); keyword (case-sensitive substring the body must contain, at most 1024 characters, not with HEAD); follow_redirects (default true); verify_ssl (default true; false skips TLS verification, so the monitor can never report TLS_INVALID); request_headers (object of name to value: at most 20, a name at most 128 characters of letters, digits and ! # $ % & ' * + - . ^ _ ` | ~, a value at most 1024 bytes of printable ASCII, space or tab, the whole object at most 8192 bytes as JSON; names differing only in case, and Host, Content-Length, Transfer-Encoding, Connection, Upgrade, TE, Trailer, Keep-Alive, CF-Connecting-IP or any Proxy-* name, are a 422); request_body (string, at most 8192 bytes as UTF-8, needs POST, PUT, PATCH or DELETE). Reads return every request_headers value as the literal __FETTLE_UNCHANGED__; writing that literal back in an update keeps the stored value (on create it is a 422). PING: packet_count (1 to 20, default 4). SSL: warn_before_days (1 to 365, default 14) and port (1 to 65535, default 443). TCP: either port (1 to 65535) with expected_state \"open\" (default) or \"closed\", or ports (1 to 20 distinct ports that must all be closed, which needs expected_state \"closed\", exactly one region and interval_seconds of at least 300; a check fails when any of them accepts a connection, and the monitor goes DOWN once confirmation_threshold failures confirm it). Both port and ports, or neither, is a 422; expected_state values are lowercase. DNS: record_type (A, AAAA, CNAME, MX, TXT or
|
|
9818
|
+
"description": "As in create_monitor; TCP and DNS need it. The region, interval and update rules there do not apply to a one-off probe. An object whose fields depend on type, all optional unless stated. HTTP: method (GET, HEAD, POST, PUT, PATCH or DELETE, any case; default GET); expected_status_codes (non-empty list of codes 100 to 599, default [200]); keyword (case-sensitive substring the body must contain, at most 1024 characters, not with HEAD); follow_redirects (default true); verify_ssl (default true; false skips TLS verification, so the monitor can never report TLS_INVALID); request_headers (object of name to value: at most 20, a name at most 128 characters of letters, digits and ! # $ % & ' * + - . ^ _ ` | ~, a value at most 1024 bytes of printable ASCII, space or tab, the whole object at most 8192 bytes as JSON; names differing only in case, and Host, Content-Length, Transfer-Encoding, Connection, Upgrade, TE, Trailer, Keep-Alive, CF-Connecting-IP or any Proxy-* name, are a 422); request_body (string, at most 8192 bytes as UTF-8, needs POST, PUT, PATCH or DELETE). Reads return every request_headers value as the literal __FETTLE_UNCHANGED__; writing that literal back in an update keeps the stored value (on create it is a 422). PING: packet_count (1 to 20, default 4). SSL: warn_before_days (1 to 365, default 14) and port (1 to 65535, default 443). TCP: either port (1 to 65535) with expected_state \"open\" (default) or \"closed\", or ports (1 to 20 distinct ports that must all be closed, which needs expected_state \"closed\", exactly one region and interval_seconds of at least 300; a check fails when any of them accepts a connection, and the monitor goes DOWN once confirmation_threshold failures confirm it). Both port and ports, or neither, is a 422; expected_state values are lowercase. DNS: record_type (A, AAAA, CNAME, MX, TXT, NS or SRV; required) and expected_value (at most 2048 characters). With expected_value one answer must equal it (case-insensitive, ignoring surrounding spaces and a trailing dot; exact for TXT); without it any answer passes. MX answers are the mail host names without priority (mail.example.com, not 10 mail.example.com). A and AAAA look up every address of the host, IPv4 and IPv6 alike, and any one may match; write an IPv6 address in its shortest form. SRV: the target is the full name (_sip._tcp.example.com) and each answer reads priority weight port target (10 60 5060 sip.example.com); expected_value is either all four fields, which must all match, or target:port (sip.example.com:5060), which ignores priority and weight; any other SRV expected_value is a 422."
|
|
9773
9819
|
}
|
|
9774
9820
|
},
|
|
9775
9821
|
"required": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fettle-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"mcpName": "sh.fettle/mcp",
|
|
5
5
|
"description": "Fettle uptime monitoring (https://fettle.sh) for any MCP client — manage monitors, incidents, heartbeats, maintenance windows, status page incidents and deploy checks from Claude, Cursor or Codex.",
|
|
6
6
|
"keywords": [
|