fettle-mcp 1.5.1 → 1.7.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
@@ -281,7 +281,7 @@ ERRORS (in a failed call's text)
281
281
  - "Invalid argument(s)" or "Invalid request:": fix what it names, retry.
282
282
  - "Forbidden:": a plan limit, an unknown region, or the user's role; the reason says which.
283
283
  - "Not found:": no such id in this organization.
284
- - "Rate limited": wait the seconds given. All API keys and app connections share the organization's per-minute budget.
284
+ - "Rate limited": wait the seconds given. All API keys and app connections share the organization's per-minute budget. One busy integration can use it all.
285
285
  - "the API returned 5xx": retry once later.
286
286
  - "does not accept argument(s)": drop the ones named.
287
287
  - "Request failed with status N": read the reason; do not retry unchanged.
@@ -367,7 +367,8 @@ configuration. This package authenticates with an API key only.
367
367
  ## Rate limits and plans
368
368
 
369
369
  Tool calls spend the same per-organization request budget as the REST API — the
370
- plan's limit, not a separate one. A rate-limited call comes back saying how many
370
+ plan's limit, not a separate one. Every API key and app connection of the
371
+ organization shares it, so one busy integration can use it all. A rate-limited call comes back saying how many
371
372
  seconds to wait. Some tools also have their own cap per calling address:
372
373
  `check_now` 10 calls per minute, `bulk_update_monitor_tags` and
373
374
  `bulk_update_heartbeat_tags` 10 per minute between them,
@@ -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 (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",
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. One busy integration can use it all.\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 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).",
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, 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",
@@ -281,9 +281,6 @@
281
281
  "confirmation_threshold": {
282
282
  "type": "integer"
283
283
  },
284
- "notification_cooldown_seconds": {
285
- "type": "integer"
286
- },
287
284
  "ssl_expires_at": {
288
285
  "anyOf": [
289
286
  {
@@ -570,7 +567,6 @@
570
567
  "last_checked_at",
571
568
  "next_run_at",
572
569
  "confirmation_threshold",
573
- "notification_cooldown_seconds",
574
570
  "ssl_expires_at",
575
571
  "is_active",
576
572
  "created_at",
@@ -642,12 +638,6 @@
642
638
  "type": "integer",
643
639
  "description": "How many checks in a row must fail in every region before the monitor goes DOWN and an incident opens, 1 to 10; 2 when not set on create."
644
640
  },
645
- "notification_cooldown_seconds": {
646
- "maximum": 86400,
647
- "minimum": 60,
648
- "type": "integer",
649
- "description": "60 to 86400 seconds; 1800 when not set on create. Only holds back a duplicate first alert for the same incident within that window. Repeat reminders while an incident stays open and unacknowledged follow the plan's renotify_interval_seconds and renotify_max_count (get_plan_usage; 0 means no reminders) instead, and the recovery alert is never held back."
650
- },
651
641
  "channel_ids": {
652
642
  "items": {
653
643
  "format": "uuid",
@@ -763,9 +753,6 @@
763
753
  "confirmation_threshold": {
764
754
  "type": "integer"
765
755
  },
766
- "notification_cooldown_seconds": {
767
- "type": "integer"
768
- },
769
756
  "ssl_expires_at": {
770
757
  "anyOf": [
771
758
  {
@@ -1052,7 +1039,6 @@
1052
1039
  "last_checked_at",
1053
1040
  "next_run_at",
1054
1041
  "confirmation_threshold",
1055
- "notification_cooldown_seconds",
1056
1042
  "ssl_expires_at",
1057
1043
  "is_active",
1058
1044
  "created_at",
@@ -1121,11 +1107,6 @@
1121
1107
  "minimum": 1,
1122
1108
  "type": "integer"
1123
1109
  },
1124
- "notification_cooldown_seconds": {
1125
- "maximum": 86400,
1126
- "minimum": 60,
1127
- "type": "integer"
1128
- },
1129
1110
  "channel_ids": {
1130
1111
  "items": {
1131
1112
  "format": "uuid",
@@ -1496,7 +1477,7 @@
1496
1477
  {
1497
1478
  "name": "bulk_update_monitors",
1498
1479
  "title": "Change settings of many monitors",
1499
- "description": "Set the same interval, timeout, regions, channels, threshold or cooldown on up to 100 monitors in one call, all or nothing. For example, move twenty PING monitors to other regions. Not for config or name (use update_monitor, one monitor at a time) or tags (use bulk_update_monitor_tags). change_alerts_enabled turns on change alerts for the monitor (default false): on a DNS monitor, a confirmed NOTICE change of its DNS answers, outside maintenance and not reverted, goes to the monitor's alert channels. Certificate changes send no change alert; they show in the feed and the weekly digest, and a new certificate that stops covering a monitored host sends SSL_COVERAGE_LOST whatever this is set to. Requires a key with the write scope. The plan's rules apply to the result: an interval below the plan minimum, too many fast monitors, too many regions or an unknown region is a 403. A value one monitor cannot take (several regions on an SSL, DNS or port-list TCP monitor, or an interval under 300 on a port-list one) is a 422 that starts with monitors[<i>] (\"<name>\"). Returns monitors: list_monitors rows, which show the interval but not the other settings; read those with get_monitor. Example: {\"monitor_ids\": [\"<id from list_monitors>\", \"<id from list_monitors>\"], \"changes\": {\"regions\": [\"eu-central\", \"us-east\"], \"interval_seconds\": 300}}",
1480
+ "description": "Set the same interval, timeout, regions, channels or threshold on up to 100 monitors in one call, all or nothing. For example, move twenty PING monitors to other regions. Not for config or name (use update_monitor, one monitor at a time) or tags (use bulk_update_monitor_tags). change_alerts_enabled turns on change alerts for the monitor (default false): on a DNS monitor, a confirmed NOTICE change of its DNS answers, outside maintenance and not reverted, goes to the monitor's alert channels. Certificate changes send no change alert; they show in the feed and the weekly digest, and a new certificate that stops covering a monitored host sends SSL_COVERAGE_LOST whatever this is set to. Requires a key with the write scope. The plan's rules apply to the result: an interval below the plan minimum, too many fast monitors, too many regions or an unknown region is a 403. A value one monitor cannot take (several regions on an SSL, DNS or port-list TCP monitor, or an interval under 300 on a port-list one) is a 422 that starts with monitors[<i>] (\"<name>\"). Returns monitors: list_monitors rows, which show the interval but not the other settings; read those with get_monitor. Example: {\"monitor_ids\": [\"<id from list_monitors>\", \"<id from list_monitors>\"], \"changes\": {\"regions\": [\"eu-central\", \"us-east\"], \"interval_seconds\": 300}}",
1500
1481
  "scope": "write",
1501
1482
  "input_schema": {
1502
1483
  "type": "object",
@@ -1545,17 +1526,12 @@
1545
1526
  "minimum": 1,
1546
1527
  "type": "integer"
1547
1528
  },
1548
- "notification_cooldown_seconds": {
1549
- "maximum": 86400,
1550
- "minimum": 60,
1551
- "type": "integer"
1552
- },
1553
1529
  "change_alerts_enabled": {
1554
1530
  "type": "boolean"
1555
1531
  }
1556
1532
  },
1557
1533
  "type": "object",
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."
1534
+ "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) and change_alerts_enabled (true or false: the opt-in to change alerts, default false). Omit a field to keep it; never send null."
1559
1535
  }
1560
1536
  },
1561
1537
  "required": [
@@ -1758,12 +1734,6 @@
1758
1734
  "type": "integer",
1759
1735
  "description": "How many checks in a row must fail in every region before the monitor goes DOWN and an incident opens, 1 to 10; 2 when not set on create."
1760
1736
  },
1761
- "notification_cooldown_seconds": {
1762
- "maximum": 86400,
1763
- "minimum": 60,
1764
- "type": "integer",
1765
- "description": "60 to 86400 seconds; 1800 when not set on create. Only holds back a duplicate first alert for the same incident within that window. Repeat reminders while an incident stays open and unacknowledged follow the plan's renotify_interval_seconds and renotify_max_count (get_plan_usage; 0 means no reminders) instead, and the recovery alert is never held back."
1766
- },
1767
1737
  "channel_ids": {
1768
1738
  "items": {
1769
1739
  "format": "uuid",
@@ -1876,9 +1846,6 @@
1876
1846
  "confirmation_threshold": {
1877
1847
  "type": "integer"
1878
1848
  },
1879
- "notification_cooldown_seconds": {
1880
- "type": "integer"
1881
- },
1882
1849
  "ssl_expires_at": {
1883
1850
  "anyOf": [
1884
1851
  {
@@ -2165,7 +2132,6 @@
2165
2132
  "last_checked_at",
2166
2133
  "next_run_at",
2167
2134
  "confirmation_threshold",
2168
- "notification_cooldown_seconds",
2169
2135
  "ssl_expires_at",
2170
2136
  "is_active",
2171
2137
  "created_at",
@@ -2273,9 +2239,6 @@
2273
2239
  "confirmation_threshold": {
2274
2240
  "type": "integer"
2275
2241
  },
2276
- "notification_cooldown_seconds": {
2277
- "type": "integer"
2278
- },
2279
2242
  "ssl_expires_at": {
2280
2243
  "anyOf": [
2281
2244
  {
@@ -2562,7 +2525,6 @@
2562
2525
  "last_checked_at",
2563
2526
  "next_run_at",
2564
2527
  "confirmation_threshold",
2565
- "notification_cooldown_seconds",
2566
2528
  "ssl_expires_at",
2567
2529
  "is_active",
2568
2530
  "created_at",
@@ -2670,9 +2632,6 @@
2670
2632
  "confirmation_threshold": {
2671
2633
  "type": "integer"
2672
2634
  },
2673
- "notification_cooldown_seconds": {
2674
- "type": "integer"
2675
- },
2676
2635
  "ssl_expires_at": {
2677
2636
  "anyOf": [
2678
2637
  {
@@ -2959,7 +2918,6 @@
2959
2918
  "last_checked_at",
2960
2919
  "next_run_at",
2961
2920
  "confirmation_threshold",
2962
- "notification_cooldown_seconds",
2963
2921
  "ssl_expires_at",
2964
2922
  "is_active",
2965
2923
  "created_at",
@@ -3114,9 +3072,6 @@
3114
3072
  "confirmation_threshold": {
3115
3073
  "type": "integer"
3116
3074
  },
3117
- "notification_cooldown_seconds": {
3118
- "type": "integer"
3119
- },
3120
3075
  "ssl_expires_at": {
3121
3076
  "anyOf": [
3122
3077
  {
@@ -3403,7 +3358,6 @@
3403
3358
  "last_checked_at",
3404
3359
  "next_run_at",
3405
3360
  "confirmation_threshold",
3406
- "notification_cooldown_seconds",
3407
3361
  "ssl_expires_at",
3408
3362
  "is_active",
3409
3363
  "created_at",
@@ -4046,7 +4000,7 @@
4046
4000
  "anyOf": [
4047
4001
  {
4048
4002
  "type": "string",
4049
- "description": "Known values: NO_WORKING_CHANNELS."
4003
+ "description": "Known values: NO_WORKING_CHANNELS, ALL_DELIVERIES_FAILED."
4050
4004
  },
4051
4005
  {
4052
4006
  "type": "null"
@@ -4300,7 +4254,7 @@
4300
4254
  "anyOf": [
4301
4255
  {
4302
4256
  "type": "string",
4303
- "description": "Known values: NO_WORKING_CHANNELS."
4257
+ "description": "Known values: NO_WORKING_CHANNELS, ALL_DELIVERIES_FAILED."
4304
4258
  },
4305
4259
  {
4306
4260
  "type": "null"
@@ -4490,9 +4444,6 @@
4490
4444
  }
4491
4445
  ]
4492
4446
  },
4493
- "notification_cooldown_seconds": {
4494
- "type": "integer"
4495
- },
4496
4447
  "is_active": {
4497
4448
  "type": "boolean"
4498
4449
  },
@@ -4529,7 +4480,6 @@
4529
4480
  "last_start_at",
4530
4481
  "last_duration_ms",
4531
4482
  "overdue_at",
4532
- "notification_cooldown_seconds",
4533
4483
  "is_active",
4534
4484
  "created_at",
4535
4485
  "updated_at"
@@ -4587,12 +4537,6 @@
4587
4537
  "type": "integer",
4588
4538
  "description": "Extra seconds of silence tolerated after the period before the heartbeat is reported late, 0 to 2592000; it may exceed the period."
4589
4539
  },
4590
- "notification_cooldown_seconds": {
4591
- "maximum": 86400,
4592
- "minimum": 60,
4593
- "type": "integer",
4594
- "description": "60 to 86400 seconds; 1800 when not set on create. Only holds back a duplicate first alert for the same incident within that window. Repeat reminders while an incident stays open and unacknowledged follow the plan's renotify_interval_seconds and renotify_max_count (get_plan_usage; 0 means no reminders) instead, and the recovery alert is never held back."
4595
- },
4596
4540
  "channel_ids": {
4597
4541
  "items": {
4598
4542
  "format": "uuid",
@@ -4702,9 +4646,6 @@
4702
4646
  }
4703
4647
  ]
4704
4648
  },
4705
- "notification_cooldown_seconds": {
4706
- "type": "integer"
4707
- },
4708
4649
  "is_active": {
4709
4650
  "type": "boolean"
4710
4651
  },
@@ -4741,7 +4682,6 @@
4741
4682
  "last_start_at",
4742
4683
  "last_duration_ms",
4743
4684
  "overdue_at",
4744
- "notification_cooldown_seconds",
4745
4685
  "is_active",
4746
4686
  "created_at",
4747
4687
  "updated_at"
@@ -4752,7 +4692,7 @@
4752
4692
  {
4753
4693
  "name": "get_heartbeat",
4754
4694
  "title": "Get a heartbeat monitor",
4755
- "description": "Read one heartbeat in full, including how long its last run took. It has name, state, period_seconds, grace_seconds, ping_url, last_ping_at, last_success_at, last_start_at, last_duration_ms (how long the last run took, from its /start to its success ping), overdue_at (when it will be reported late), notification_cooldown_seconds, is_active, channel_ids and tags. Use it to answer whether a job ran, how long it took and when it is next due. To find a heartbeat use list_heartbeats; to change it use update_heartbeat; probed monitors are get_monitor. A read-only credential, or a member who may not manage heartbeats, sees ping_url masked (…/v1/heartbeat/********).",
4695
+ "description": "Read one heartbeat in full, including how long its last run took. It has name, state, period_seconds, grace_seconds, ping_url, last_ping_at, last_success_at, last_start_at, last_duration_ms (how long the last run took, from its /start to its success ping), overdue_at (when it will be reported late), is_active, channel_ids and tags. Use it to answer whether a job ran, how long it took and when it is next due. To find a heartbeat use list_heartbeats; to change it use update_heartbeat; probed monitors are get_monitor. A read-only credential, or a member who may not manage heartbeats, sees ping_url masked (…/v1/heartbeat/********).",
4756
4696
  "scope": "read",
4757
4697
  "input_schema": {
4758
4698
  "type": "object",
@@ -4856,9 +4796,6 @@
4856
4796
  }
4857
4797
  ]
4858
4798
  },
4859
- "notification_cooldown_seconds": {
4860
- "type": "integer"
4861
- },
4862
4799
  "is_active": {
4863
4800
  "type": "boolean"
4864
4801
  },
@@ -4895,7 +4832,6 @@
4895
4832
  "last_start_at",
4896
4833
  "last_duration_ms",
4897
4834
  "overdue_at",
4898
- "notification_cooldown_seconds",
4899
4835
  "is_active",
4900
4836
  "created_at",
4901
4837
  "updated_at"
@@ -4934,12 +4870,6 @@
4934
4870
  "type": "integer",
4935
4871
  "description": "Extra seconds of silence tolerated after the period before the heartbeat is reported late, 0 to 2592000; it may exceed the period."
4936
4872
  },
4937
- "notification_cooldown_seconds": {
4938
- "maximum": 86400,
4939
- "minimum": 60,
4940
- "type": "integer",
4941
- "description": "60 to 86400 seconds; 1800 when not set on create. Only holds back a duplicate first alert for the same incident within that window. Repeat reminders while an incident stays open and unacknowledged follow the plan's renotify_interval_seconds and renotify_max_count (get_plan_usage; 0 means no reminders) instead, and the recovery alert is never held back."
4942
- },
4943
4873
  "channel_ids": {
4944
4874
  "items": {
4945
4875
  "format": "uuid",
@@ -5049,9 +4979,6 @@
5049
4979
  }
5050
4980
  ]
5051
4981
  },
5052
- "notification_cooldown_seconds": {
5053
- "type": "integer"
5054
- },
5055
4982
  "is_active": {
5056
4983
  "type": "boolean"
5057
4984
  },
@@ -5088,7 +5015,6 @@
5088
5015
  "last_start_at",
5089
5016
  "last_duration_ms",
5090
5017
  "overdue_at",
5091
- "notification_cooldown_seconds",
5092
5018
  "is_active",
5093
5019
  "created_at",
5094
5020
  "updated_at"
@@ -5267,9 +5193,6 @@
5267
5193
  }
5268
5194
  ]
5269
5195
  },
5270
- "notification_cooldown_seconds": {
5271
- "type": "integer"
5272
- },
5273
5196
  "is_active": {
5274
5197
  "type": "boolean"
5275
5198
  },
@@ -5306,7 +5229,6 @@
5306
5229
  "last_start_at",
5307
5230
  "last_duration_ms",
5308
5231
  "overdue_at",
5309
- "notification_cooldown_seconds",
5310
5232
  "is_active",
5311
5233
  "created_at",
5312
5234
  "updated_at"
@@ -5317,7 +5239,7 @@
5317
5239
  {
5318
5240
  "name": "resume_heartbeat",
5319
5241
  "title": "Resume a heartbeat monitor",
5320
- "description": "Resume one paused heartbeat: it goes back to PENDING with no deadline, so it is not reported late until its next success ping restarts the clock. Use it once the job runs again; to change its timing use update_heartbeat. There is no bulk resume for heartbeats. Requires a key with the write scope. Resuming one that is not paused resets it to PENDING the same way. Returns the heartbeat.",
5242
+ "description": "Resume one paused heartbeat: it goes back to PENDING with no deadline, so it is not reported late until its next success ping restarts the clock. Use it once the job runs again; to change its timing use update_heartbeat. There is no bulk resume for heartbeats. Requires a key with the write scope. Resuming one that is not paused resets it to PENDING the same way. Resuming a paused one is refused (403) when the plan's heartbeat limit is reached. Returns the heartbeat.",
5321
5243
  "scope": "write",
5322
5244
  "input_schema": {
5323
5245
  "type": "object",
@@ -5421,9 +5343,6 @@
5421
5343
  }
5422
5344
  ]
5423
5345
  },
5424
- "notification_cooldown_seconds": {
5425
- "type": "integer"
5426
- },
5427
5346
  "is_active": {
5428
5347
  "type": "boolean"
5429
5348
  },
@@ -5460,7 +5379,6 @@
5460
5379
  "last_start_at",
5461
5380
  "last_duration_ms",
5462
5381
  "overdue_at",
5463
- "notification_cooldown_seconds",
5464
5382
  "is_active",
5465
5383
  "created_at",
5466
5384
  "updated_at"
@@ -5518,7 +5436,7 @@
5518
5436
  {
5519
5437
  "name": "list_maintenance_windows",
5520
5438
  "title": "List maintenance windows",
5521
- "description": "List every maintenance window of the organization, enabled or not, in effect or not. Each has id, name, enabled, scope (ORG or MONITOR), dtstart, duration_minutes, rrule, timezone, monitor_ids and created_at. Use it to find a window's id. To learn whether alerts are silenced right now use list_active_maintenance; for a window's upcoming occurrences use get_maintenance_window. Returns a page: items plus total, page, size and pages.",
5439
+ "description": "List every maintenance window of the organization, enabled or not, in effect or not. Each has id, name, enabled, scope (ORG or MONITOR), dtstart, duration_minutes, rrule, timezone, monitor_ids, created_at and plan_disabled_at (set when a plan drop switched the window off: it silences nothing). Use it to find a window's id. To learn whether alerts are silenced right now use list_active_maintenance; for a window's upcoming occurrences use get_maintenance_window. Returns a page: items plus total, page, size and pages.",
5522
5440
  "scope": "read",
5523
5441
  "input_schema": {
5524
5442
  "type": "object",
@@ -5617,6 +5535,16 @@
5617
5535
  },
5618
5536
  "created_at": {
5619
5537
  "type": "string"
5538
+ },
5539
+ "plan_disabled_at": {
5540
+ "anyOf": [
5541
+ {
5542
+ "type": "string"
5543
+ },
5544
+ {
5545
+ "type": "null"
5546
+ }
5547
+ ]
5620
5548
  }
5621
5549
  },
5622
5550
  "required": [
@@ -5764,6 +5692,16 @@
5764
5692
  "created_at": {
5765
5693
  "type": "string"
5766
5694
  },
5695
+ "plan_disabled_at": {
5696
+ "anyOf": [
5697
+ {
5698
+ "type": "string"
5699
+ },
5700
+ {
5701
+ "type": "null"
5702
+ }
5703
+ ]
5704
+ },
5767
5705
  "next_occurrences": {
5768
5706
  "items": {
5769
5707
  "properties": {
@@ -5919,6 +5857,16 @@
5919
5857
  },
5920
5858
  "created_at": {
5921
5859
  "type": "string"
5860
+ },
5861
+ "plan_disabled_at": {
5862
+ "anyOf": [
5863
+ {
5864
+ "type": "string"
5865
+ },
5866
+ {
5867
+ "type": "null"
5868
+ }
5869
+ ]
5922
5870
  }
5923
5871
  },
5924
5872
  "required": [
@@ -5938,7 +5886,7 @@
5938
5886
  {
5939
5887
  "name": "update_maintenance_window",
5940
5888
  "title": "Update a maintenance window",
5941
- "description": "Change one maintenance window's name, schedule, scope or monitors, or switch it off with enabled false; only the fields you pass change. While a window is in effect its monitors keep being checked, but no incident opens and no down or change alert goes out; a recovery alert goes out only for an incident whose down alert was already sent before the window began. Certificate and domain warnings still go out. A recurring window cannot become one-time: delete it with delete_maintenance_window and create a new one. Check a new schedule with preview_maintenance_window first. Requires a key with the write scope. An invalid argument is a 422 and a resulting schedule that is invalid (for example a bad rrule) a 406, each with the reason. Returns the window. Example: {\"window_id\": \"<id from list_maintenance_windows>\", \"enabled\": false}",
5889
+ "description": "Change one maintenance window's name, schedule, scope or monitors, or switch it off with enabled false; only the fields you pass change. While a window is in effect its monitors keep being checked, but no incident opens and no down or change alert goes out; a recovery alert goes out only for an incident whose down alert was already sent before the window began. Certificate and domain warnings still go out. A recurring window cannot become one-time: delete it with delete_maintenance_window and create a new one. Check a new schedule with preview_maintenance_window first. Requires a key with the write scope. An invalid argument is a 422 and a resulting schedule that is invalid (for example a bad rrule) a 406, each with the reason. A window with plan_disabled_at set was switched off by a plan drop: any update of it is refused (403) until the plan has room, and a successful one switches it back on. Returns the window. Example: {\"window_id\": \"<id from list_maintenance_windows>\", \"enabled\": false}",
5942
5890
  "scope": "write",
5943
5891
  "input_schema": {
5944
5892
  "type": "object",
@@ -6061,6 +6009,16 @@
6061
6009
  },
6062
6010
  "created_at": {
6063
6011
  "type": "string"
6012
+ },
6013
+ "plan_disabled_at": {
6014
+ "anyOf": [
6015
+ {
6016
+ "type": "string"
6017
+ },
6018
+ {
6019
+ "type": "null"
6020
+ }
6021
+ ]
6064
6022
  }
6065
6023
  },
6066
6024
  "required": [
@@ -7344,7 +7302,7 @@
7344
7302
  "anyOf": [
7345
7303
  {
7346
7304
  "type": "string",
7347
- "description": "Known values: NO_WORKING_CHANNELS."
7305
+ "description": "Known values: NO_WORKING_CHANNELS, ALL_DELIVERIES_FAILED."
7348
7306
  },
7349
7307
  {
7350
7308
  "type": "null"
@@ -9695,7 +9653,7 @@
9695
9653
  {
9696
9654
  "name": "list_channels",
9697
9655
  "title": "List 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.",
9656
+ "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, BROKEN or PLAN_DISABLED (off because of the plan: it receives nothing until it is enabled again in the dashboard); 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.",
9699
9657
  "scope": "read",
9700
9658
  "input_schema": {
9701
9659
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fettle-mcp",
3
- "version": "1.5.1",
3
+ "version": "1.7.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": [