fettle-mcp 1.6.0 → 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 +3 -2
- package/contracts/mcp_tools.json +45 -5
- package/package.json +1 -1
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.
|
|
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,
|
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 (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",
|
|
@@ -5239,7 +5239,7 @@
|
|
|
5239
5239
|
{
|
|
5240
5240
|
"name": "resume_heartbeat",
|
|
5241
5241
|
"title": "Resume a heartbeat monitor",
|
|
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. 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.",
|
|
5243
5243
|
"scope": "write",
|
|
5244
5244
|
"input_schema": {
|
|
5245
5245
|
"type": "object",
|
|
@@ -5436,7 +5436,7 @@
|
|
|
5436
5436
|
{
|
|
5437
5437
|
"name": "list_maintenance_windows",
|
|
5438
5438
|
"title": "List maintenance windows",
|
|
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 and
|
|
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.",
|
|
5440
5440
|
"scope": "read",
|
|
5441
5441
|
"input_schema": {
|
|
5442
5442
|
"type": "object",
|
|
@@ -5535,6 +5535,16 @@
|
|
|
5535
5535
|
},
|
|
5536
5536
|
"created_at": {
|
|
5537
5537
|
"type": "string"
|
|
5538
|
+
},
|
|
5539
|
+
"plan_disabled_at": {
|
|
5540
|
+
"anyOf": [
|
|
5541
|
+
{
|
|
5542
|
+
"type": "string"
|
|
5543
|
+
},
|
|
5544
|
+
{
|
|
5545
|
+
"type": "null"
|
|
5546
|
+
}
|
|
5547
|
+
]
|
|
5538
5548
|
}
|
|
5539
5549
|
},
|
|
5540
5550
|
"required": [
|
|
@@ -5682,6 +5692,16 @@
|
|
|
5682
5692
|
"created_at": {
|
|
5683
5693
|
"type": "string"
|
|
5684
5694
|
},
|
|
5695
|
+
"plan_disabled_at": {
|
|
5696
|
+
"anyOf": [
|
|
5697
|
+
{
|
|
5698
|
+
"type": "string"
|
|
5699
|
+
},
|
|
5700
|
+
{
|
|
5701
|
+
"type": "null"
|
|
5702
|
+
}
|
|
5703
|
+
]
|
|
5704
|
+
},
|
|
5685
5705
|
"next_occurrences": {
|
|
5686
5706
|
"items": {
|
|
5687
5707
|
"properties": {
|
|
@@ -5837,6 +5857,16 @@
|
|
|
5837
5857
|
},
|
|
5838
5858
|
"created_at": {
|
|
5839
5859
|
"type": "string"
|
|
5860
|
+
},
|
|
5861
|
+
"plan_disabled_at": {
|
|
5862
|
+
"anyOf": [
|
|
5863
|
+
{
|
|
5864
|
+
"type": "string"
|
|
5865
|
+
},
|
|
5866
|
+
{
|
|
5867
|
+
"type": "null"
|
|
5868
|
+
}
|
|
5869
|
+
]
|
|
5840
5870
|
}
|
|
5841
5871
|
},
|
|
5842
5872
|
"required": [
|
|
@@ -5856,7 +5886,7 @@
|
|
|
5856
5886
|
{
|
|
5857
5887
|
"name": "update_maintenance_window",
|
|
5858
5888
|
"title": "Update a maintenance window",
|
|
5859
|
-
"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}",
|
|
5860
5890
|
"scope": "write",
|
|
5861
5891
|
"input_schema": {
|
|
5862
5892
|
"type": "object",
|
|
@@ -5979,6 +6009,16 @@
|
|
|
5979
6009
|
},
|
|
5980
6010
|
"created_at": {
|
|
5981
6011
|
"type": "string"
|
|
6012
|
+
},
|
|
6013
|
+
"plan_disabled_at": {
|
|
6014
|
+
"anyOf": [
|
|
6015
|
+
{
|
|
6016
|
+
"type": "string"
|
|
6017
|
+
},
|
|
6018
|
+
{
|
|
6019
|
+
"type": "null"
|
|
6020
|
+
}
|
|
6021
|
+
]
|
|
5982
6022
|
}
|
|
5983
6023
|
},
|
|
5984
6024
|
"required": [
|
|
@@ -9613,7 +9653,7 @@
|
|
|
9613
9653
|
{
|
|
9614
9654
|
"name": "list_channels",
|
|
9615
9655
|
"title": "List notification channels",
|
|
9616
|
-
"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
|
|
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.",
|
|
9617
9657
|
"scope": "read",
|
|
9618
9658
|
"input_schema": {
|
|
9619
9659
|
"type": "object",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fettle-mcp",
|
|
3
|
-
"version": "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": [
|