fettle-mcp 1.10.1 → 1.10.2

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,10 +281,10 @@ ERRORS (in a failed call's text)
281
281
  - "This tool requires an API key with write scope" or "needs write access": read-only; tell the user.
282
282
  - "Invalid argument(s)" or "Invalid request:": fix what it names, retry.
283
283
  - "Forbidden:": a plan limit, an unknown region, or the user's role; the reason says which.
284
- - "Not found:": no such id in this organization.
284
+ - "Not found:": unknown id.
285
285
  - "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.
286
- - "the API returned 5xx": retry once later.
287
- - "does not accept argument(s)": drop the ones named.
286
+ - "the API returned 5xx": reads: retry once later; writes: check first.
287
+ - "does not accept argument(s)": drop them.
288
288
  - "Request failed with status N": read the reason; do not retry unchanged.
289
289
 
290
290
  ```
@@ -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 and status pages are created and configured only in the dashboard (https://dashboard.fettle.sh); members, API keys and billing live only there. Read a tool's description before its first call.\n\nFINDING THINGS\nlist_monitors gives one short row per monitor. Broken now: status [\"DOWN\", \"DEGRADED\"]. Certificates expiring first: type [\"SSL\"], sort \"ssl_expiry\". What changed on targets (DNS answers, certificates) 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 leaves an incident out of reminders. 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",
3
+ "instructions": "Fettle is an uptime monitoring service. The tools see only the caller's organization. Channels and status pages are created and configured only in the dashboard (https://dashboard.fettle.sh); members, API keys and billing live only there. Read a tool's description before its first call.\n\nFINDING THINGS\nlist_monitors gives one short row per monitor. Broken now: status [\"DOWN\", \"DEGRADED\"]. Certificates expiring first: type [\"SSL\"], sort \"ssl_expiry\". What changed on targets (DNS answers, certificates) 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 leaves an incident out of reminders. 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:\": unknown id.\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\": reads: retry once later; writes: check first.\n- \"does not accept argument(s)\": drop them.\n- \"Request failed with status N\": read the reason; do not retry unchanged.\n",
4
4
  "tools": [
5
5
  {
6
6
  "name": "list_monitors",
@@ -39,8 +39,9 @@ export declare class ToolArgumentError extends Error {
39
39
  }
40
40
  /**
41
41
  * A failure the model cannot fix by retrying with different arguments — the
42
- * API answered 5xx, or the request never got there. Surfaces as a JSON-RPC
43
- * error, the same choice core makes for a 5xx.
42
+ * API answered 5xx, the request never got there, or the answer did not arrive
43
+ * whole. Surfaces as a JSON-RPC error, the same choice core makes for a 5xx. A
44
+ * write that may have been applied carries `CHECK_CHANGE_FIRST`.
44
45
  */
45
46
  export declare class ToolProtocolError extends Error {
46
47
  }
@@ -57,6 +58,7 @@ export declare class ToolExecutor {
57
58
  private readonly options;
58
59
  private readonly fetchImpl;
59
60
  constructor(options: ExecutorOptions);
61
+ private timeoutError;
60
62
  /**
61
63
  * Execute one tool call and return an MCP `tools/call` result.
62
64
  *
@@ -77,12 +79,14 @@ export declare class ToolExecutor {
77
79
  * no redirects: a 3xx is reported, never chased, so the credential cannot
78
80
  * be replayed to a host the contract did not name.
79
81
  * 5. Map the response — 2xx is a result, any other non-5xx is an actionable
80
- * tool error, 5xx and transport failures raise.
82
+ * tool error, 5xx, timeouts and transport failures raise, and say to
83
+ * check first when a write may have been applied.
81
84
  *
82
85
  * Throws:
83
86
  * ToolArgumentError: an argument is missing, wrongly typed, or matched no
84
87
  * declared parameter on a tool with no request body.
85
- * ToolProtocolError: the API answered 5xx, or the request never completed.
88
+ * ToolProtocolError: the API answered 5xx, or no complete answer
89
+ * arrived.
86
90
  */
87
91
  execute(tool: ToolEntry, args: Record<string, unknown>): Promise<ToolResult>;
88
92
  }
package/dist/executor.js CHANGED
@@ -24,8 +24,9 @@ export class ToolArgumentError extends Error {
24
24
  }
25
25
  /**
26
26
  * A failure the model cannot fix by retrying with different arguments — the
27
- * API answered 5xx, or the request never got there. Surfaces as a JSON-RPC
28
- * error, the same choice core makes for a 5xx.
27
+ * API answered 5xx, the request never got there, or the answer did not arrive
28
+ * whole. Surfaces as a JSON-RPC error, the same choice core makes for a 5xx. A
29
+ * write that may have been applied carries `CHECK_CHANGE_FIRST`.
29
30
  */
30
31
  export class ToolProtocolError extends Error {
31
32
  }
@@ -34,6 +35,18 @@ export class ToolProtocolError extends Error {
34
35
  * itself is broken), not something the calling model can act on.
35
36
  */
36
37
  const SERVER_ERROR_THRESHOLD = 500;
38
+ /**
39
+ * Added to a write whose outcome is unknown: it may have committed before the
40
+ * failure. Core's remote channel uses the same sentence.
41
+ */
42
+ const CHECK_CHANGE_FIRST = "Check whether the change went through before you try again.";
43
+ /** Failures before a connection existed, so nothing can have been applied. */
44
+ const NEVER_SENT_CODES = new Set(["ENOTFOUND", "EAI_AGAIN", "ECONNREFUSED"]);
45
+ /** Whether fetch failed before the request could leave; undici nests the code. */
46
+ function neverSent(cause) {
47
+ const inner = cause instanceof Error ? cause.cause : null;
48
+ return typeof inner?.code === "string" && NEVER_SENT_CODES.has(inner.code);
49
+ }
37
50
  function substitutePathParams(tool, args) {
38
51
  let path = tool.operation.path;
39
52
  for (const name of tool.operation.path_params) {
@@ -64,6 +77,13 @@ function substitutePathParams(tool, args) {
64
77
  if (value.includes("/") || value.includes("?")) {
65
78
  throw new ToolArgumentError(`Tool '${tool.name}' argument '${name}' may not contain '/' or '?'.`);
66
79
  }
80
+ // The URL parser resolves '.' and '..' segments, so '..' would turn
81
+ // /v1/status-pages/{id}/incidents into /v1/incidents, another route. Core
82
+ // refuses the same values.
83
+ if (value === "." || value === ".." || value.toLowerCase().includes("%2e")) {
84
+ throw new ToolArgumentError(`Tool '${tool.name}' argument '${name}' may not be '.' or '..' ` +
85
+ "or contain '%2e'.");
86
+ }
67
87
  path = path.replace(`{${name}}`, encodeURIComponent(value));
68
88
  }
69
89
  return path;
@@ -155,6 +175,9 @@ function buildQuery(tool, args) {
155
175
  }
156
176
  return params;
157
177
  }
178
+ function isTimeout(cause) {
179
+ return cause instanceof Error && cause.name === "TimeoutError";
180
+ }
158
181
  async function readBody(response) {
159
182
  const text = await response.text();
160
183
  if (text === "") {
@@ -177,6 +200,12 @@ export class ToolExecutor {
177
200
  this.options = options;
178
201
  this.fetchImpl = options.fetchImpl ?? globalThis.fetch;
179
202
  }
203
+ timeoutError(tool, mayHaveApplied) {
204
+ return new ToolProtocolError(`Tool '${tool.name}' timed out after ${this.options.timeoutMs}ms ` +
205
+ `waiting for ${this.options.apiUrl}. ` +
206
+ (mayHaveApplied ? `${CHECK_CHANGE_FIRST} Raise ` : "Retry, or raise ") +
207
+ "FETTLE_TIMEOUT_MS if this endpoint is legitimately slow.");
208
+ }
180
209
  /**
181
210
  * Execute one tool call and return an MCP `tools/call` result.
182
211
  *
@@ -197,12 +226,14 @@ export class ToolExecutor {
197
226
  * no redirects: a 3xx is reported, never chased, so the credential cannot
198
227
  * be replayed to a host the contract did not name.
199
228
  * 5. Map the response — 2xx is a result, any other non-5xx is an actionable
200
- * tool error, 5xx and transport failures raise.
229
+ * tool error, 5xx, timeouts and transport failures raise, and say to
230
+ * check first when a write may have been applied.
201
231
  *
202
232
  * Throws:
203
233
  * ToolArgumentError: an argument is missing, wrongly typed, or matched no
204
234
  * declared parameter on a tool with no request body.
205
- * ToolProtocolError: the API answered 5xx, or the request never completed.
235
+ * ToolProtocolError: the API answered 5xx, or no complete answer
236
+ * arrived.
206
237
  */
207
238
  async execute(tool, args) {
208
239
  const remaining = { ...args };
@@ -225,6 +256,8 @@ export class ToolExecutor {
225
256
  if (body !== undefined) {
226
257
  headers["Content-Type"] = "application/json";
227
258
  }
259
+ const write = tool.scope === "write";
260
+ const checkFirst = write ? ` ${CHECK_CHANGE_FIRST}` : "";
228
261
  let response;
229
262
  try {
230
263
  response = await this.fetchImpl(url, {
@@ -236,17 +269,30 @@ export class ToolExecutor {
236
269
  });
237
270
  }
238
271
  catch (cause) {
239
- if (cause instanceof Error && cause.name === "TimeoutError") {
240
- throw new ToolProtocolError(`Tool '${tool.name}' timed out after ${this.options.timeoutMs}ms ` +
241
- `waiting for ${this.options.apiUrl}. Retry, or raise ` +
242
- "FETTLE_TIMEOUT_MS if this endpoint is legitimately slow.");
272
+ if (isTimeout(cause)) {
273
+ throw this.timeoutError(tool, write);
243
274
  }
244
- throw new ToolProtocolError(describeTransportFailure(this.options.apiUrl, cause));
275
+ throw new ToolProtocolError(describeTransportFailure(this.options.apiUrl, cause) +
276
+ (neverSent(cause) ? "" : checkFirst));
245
277
  }
246
278
  if (response.status >= SERVER_ERROR_THRESHOLD) {
247
- throw new ToolProtocolError(`Tool '${tool.name}' failed: the API returned ${response.status}.`);
279
+ throw new ToolProtocolError(`Tool '${tool.name}' failed: the API returned ${response.status}.${checkFirst}`);
280
+ }
281
+ let payload;
282
+ try {
283
+ payload = await readBody(response);
284
+ }
285
+ catch (cause) {
286
+ // The timeout covers the body too, and a connection can break inside it.
287
+ if (isTimeout(cause)) {
288
+ throw this.timeoutError(tool, write && response.ok);
289
+ }
290
+ const reason = cause instanceof Error ? cause.message : String(cause);
291
+ throw new ToolProtocolError(`Tool '${tool.name}' failed: the API returned ${response.status}, but the ` +
292
+ `connection broke before the full response arrived: ${reason}.` +
293
+ // A refused write (3xx, 4xx) changed nothing.
294
+ (response.ok ? checkFirst : ""));
248
295
  }
249
- const payload = await readBody(response);
250
296
  if (response.status < 200 || response.status >= 300) {
251
297
  const errorBody = typeof payload === "object" && payload !== null && !Array.isArray(payload)
252
298
  ? payload
@@ -1 +1 @@
1
- {"version":3,"file":"executor.js","sourceRoot":"","sources":["../src/executor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAexE;;;;GAIG;AACH,MAAM,OAAO,iBAAkB,SAAQ,KAAK;CAAG;AAE/C;;;;GAIG;AACH,MAAM,OAAO,iBAAkB,SAAQ,KAAK;CAAG;AAE/C;;;GAGG;AACH,MAAM,sBAAsB,GAAG,GAAG,CAAC;AAWnC,SAAS,oBAAoB,CAAC,IAAe,EAAE,IAA6B;IAC1E,IAAI,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;IAC/B,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;QAC9C,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,EAAE,CAAC;YACpB,MAAM,IAAI,iBAAiB,CAAC,SAAS,IAAI,CAAC,IAAI,wBAAwB,IAAI,IAAI,CAAC,CAAC;QAClF,CAAC;QACD,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;QACvB,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC;QAClB,0EAA0E;QAC1E,wEAAwE;QACxE,IACE,OAAO,GAAG,KAAK,SAAS;YACxB,CAAC,OAAO,GAAG,KAAK,QAAQ,IAAI,OAAO,GAAG,KAAK,QAAQ,CAAC,EACpD,CAAC;YACD,MAAM,IAAI,iBAAiB,CACzB,SAAS,IAAI,CAAC,IAAI,eAAe,IAAI,gCAAg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,OAAO,CAAC;gBACxE,CAAC,CAAE,OAAmC;gBACtC,CAAC,CAAC,IAAI,CAAC;YACX,OAAO;gBACL,OAAO,EAAE;oBACP;wBACE,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,eAAe,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAC;qBACpE;iBACF;gBACD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,IAAI,GACR,OAAO,KAAK,SAAS;YACnB,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,eAAe,QAAQ,CAAC,MAAM,8BAA8B;YAC1E,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QAC9B,MAAM,MAAM,GAAe,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QACjF,oEAAoE;QACpE,iEAAiE;QACjE,IACE,IAAI,CAAC,aAAa,KAAK,SAAS;YAChC,OAAO,OAAO,KAAK,QAAQ;YAC3B,OAAO,KAAK,IAAI;YAChB,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EACvB,CAAC;YACD,MAAM,CAAC,iBAAiB,GAAG,OAAO,CAAC;QACrC,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fettle-mcp",
3
- "version": "1.10.1",
3
+ "version": "1.10.2",
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": [