Skip to main content
Glama

WatchFor

List maintenance windows

list_maintenance_windows
Read-onlyIdempotent

Scheduled maintenance windows, most recent first, each with its state (active / upcoming / ended / disabled) and next_run_at. state=active returns the windows running now, state=upcoming the future ones; ended and disabled windows are in the unfiltered list.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_maintenance_windows"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size, 1-100
stateNoOnly windows running now, or only future ones
cursorNonext_cursor from the previous page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered by structured data. The description adds useful behavior beyond that — result ordering, the state/next_run_at fields, and the fact that ended/disabled records are only visible unfiltered — but says nothing about pagination limits or result size.

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

Conciseness5/5

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

Two tightly written sentences: the first establishes what is returned and in what order, the second clarifies filter semantics. No filler and the key scoping fact is stated up front.

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?

With no output schema, the description carries the burden of describing returns, and it does name state and next_run_at along with ordering. Minor gaps remain around pagination behavior and whether disabled windows are distinguishable beyond the state value, but nothing essential to calling the tool correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds meaning not in the schema: filtering by state deliberately excludes ended and disabled windows, which an agent could otherwise misread as a data gap. The limit and cursor parameters are left entirely to the schema.

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?

The description names the resource (scheduled maintenance windows) and specifies ordering (most recent first) plus the fields returned (state, next_run_at). It is clearly distinct from the create/delete maintenance-window siblings, though it does not explicitly name them or any alternative list tool.

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?

It gives concrete guidance for the state filter: active returns windows running now, upcoming returns future ones, and ended/disabled windows only appear when no filter is applied. That tells an agent when to filter and when to omit the parameter, though it offers no explicit when-not or alternative-tool routing.

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.