Skip to main content
Glama

WatchFor

Schedule a maintenance window

create_maintenance_window

Schedules a maintenance window (write scope): by default alerts are suppressed, the covered monitors show as under maintenance and the window's downtime is excluded from uptime; each can be switched off. One-time unless recurrence is set. Times are ISO 8601; duration in minutes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "starts_at": "<starts_at>",
      "duration_minutes": "<duration_minutes>"
    },
    "name": "create_maintenance_window"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesWindow name
timezoneNoIANA timezone, default UTC
starts_atYesISO 8601 start, e.g. 2026-08-30T22:00:00Z
recurrenceNoRepeat the window (default once); daily/weekly/monthly repeat at the start's local time in timezone
descriptionNoFree-text note, up to 1000 characters
monitor_idsNoMonitors the window covers
monitor_tagsNoTag-based targeting — auto-includes future matching monitors
suppress_alertsNoHold notifications during the window (default true)
duration_minutesYes5 minutes to 30 days
exclude_from_slaNoLeave the window's downtime out of uptime and SLA figures (default true)
mark_maintenanceNoShow the covered monitors as under maintenance (default true)
recurrence_untilNoISO 8601 — no occurrence starts after this time

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare the generic mutation profile (readOnly=false, destructive=false, idempotent=false, openWorld=false). The description adds real behavioral substance: alerts are suppressed by default, covered monitors display as under maintenance, downtime is excluded from uptime, and each of these can be switched off. It also discloses the one-time default and the ISO 8601 / minutes conventions, though it does not address non-idempotency (repeated calls create duplicates), which the annotations flag.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the verb and scope, then defaults, then format conventions. Dense but every clause carries information; the semicolon-chained default list is slightly packed but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter mutation tool with no output schema, the description covers the defaults an agent most needs to reason about (alert suppression, maintenance display, SLA exclusion, recurrence) and the time format. Targeting via monitor_ids vs monitor_tags is left entirely to the schema, which is acceptable given full coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter already carries its own explanation, including defaults, ranges, and the recurrence enum. The description restates the ISO 8601 and minutes conventions but adds no parameter meaning beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Schedules a maintenance window') and flags it as a write operation, so the agent can distinguish it from read siblings like list_maintenance_windows and destructive ones like delete_maintenance_window. It does not explicitly differentiate itself from set_expected_change_window, which is the closest conceptual neighbor.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the verb and the 'write scope' note, and the default-vs-toggle framing hints at when the defaults are appropriate. However, there is no explicit when-to-use or when-not-to-use guidance, and no mention of the alternative set_expected_change_window for planned changes that are not maintenance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.