Skip to main content
Glama

Start a maintenance window on a site now

sites_by_slug_maintenance_start

Wraps POST /api/sites/{slug}/maintenance/start. Start a maintenance window on a site now. Call this before a deploy: alerts for the site are held (checks still run) until the window ends, after minutes (default 30, at most 24 hours) or when you end it. Starting again replaces the open window. It acts for the whole team. Needs a Member or Admin key, on a team with 10 sites or more.

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": {
      "slug": "<slug>"
    },
    "name": "sites_by_slug_maintenance_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYessite slug, as in /api/sites
reasonNothe team's own words; never public
minutesNohow long, default 30

Output Schema

NameRequiredDescriptionDefault
dataNo
next_stepsNocalls that usually come next, each naming its tool

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedOutput schema / properties / data / properties / endsAt / description
      Previous value: -"ISO 8601, UTC (…Z)"New value: +"when it ends (ISO 8601, UTC)"
    • addedOutput schema / properties / data / properties / id / description
      Added value: +"the window's id"
    • addedOutput schema / properties / data / properties / reason / description
      Added value: +"the team's own words"
    • changedOutput schema / properties / data / properties / startsAt / description
      Previous value: -"ISO 8601, UTC (…Z)"New value: +"when it starts (ISO 8601, UTC)"
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that alerts are held while checks still run, that the window defaults to 30 minutes and caps at 24 hours, that re-invoking replaces an open window, that it acts team-wide, and that a Member or Admin key on a team with 10+ sites is required. These are exactly the operational and authorization facts annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false) cannot convey.

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?

Front-loads the endpoint mapping and the core action, then layers on lifecycle, replacement, scope, and auth in a tight sequence with no filler. The opening sentence partially restates the title, a small redundancy, but nothing else is wasted.

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

Completeness5/5

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

With annotations, full schema coverage, and an output schema already supplied, the description fills the remaining gaps: auth requirements, team-wide blast radius, window lifetime, and replacement semantics on repeat calls. Nothing an agent needs in order to invoke this mutation safely is missing.

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 slug, reason, and minutes are already documented with bounds and defaults. The description restates the minutes default and 24-hour cap, which duplicates the schema rather than adding new semantics, so baseline 3 applies.

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

Purpose5/5

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

Names the specific verb and resource ('Start a maintenance window on a site now') and grounds it in the concrete endpoint POST /api/sites/{slug}/maintenance/start. The 'Starting again replaces the open window' line plus 'when you end it' implicitly distinguishes it from the sibling end tool, so an agent can place it in the maintenance lifecycle without opening the schema.

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

Usage Guidelines4/5

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

Gives an explicit trigger ('Call this before a deploy'), which is exactly the when-to-use guidance an agent needs. It also describes the terminating conditions (window expires or you end it), though it never names the sibling sites_by_slug_maintenance_end, so the alternative path is implied rather than spelled out.

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.

Resources