Skip to main content
Glama

End a site's maintenance windows now

sites_by_slug_maintenance_end
Idempotent

Wraps POST /api/sites/{slug}/maintenance/end. End a site's maintenance windows now. Call this after a deploy: alerts for the site go out again from now. Ending with no window on answers ended: 0. 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_end"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYessite slug, as in /api/sites

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: the required authorization level (Member or Admin key), a plan precondition (team with 10 sites or more), the observable effect (alerts resume), and the no-op return of `ended: 0`. These are exactly the operational facts an agent needs before invoking a state-changing call.

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-loaded with the action and its post-deploy use case, then preconditions. Every clause carries information, though the leading 'Wraps POST ...' line is marginal value relative to the rest and could be folded away.

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?

For a one-parameter mutation with a declared output schema, annotations, and auth/plan preconditions all stated, nothing an agent needs to call it correctly is missing. Return-value detail is properly delegated to the output schema.

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 coverage is 100% for the single `slug` parameter, and the schema already documents it as 'site slug, as in /api/sites'. The description adds no further meaning about the identifier, so the 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?

States a specific verb (end) and resource (a site's maintenance windows) and maps it to the underlying endpoint POST /api/sites/{slug}/maintenance/end. The plural 'windows' plus 'for the whole team' makes the scope unambiguous against the sibling start/maintenance listing tools.

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?

'Call this after a deploy: alerts for the site go out again from now' gives an explicit triggering situation. It does not name the start sibling or spell out a when-not case, but the no-op behavior ('ended: 0') removes the main misuse risk.

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