Skip to main content
Glama

List recurring maintenance windows

list_recurring_maintenance_periods
Read-onlyIdempotent

List the recurring maintenance windows defined on a monitor, with their schedule and the maintenance periods recently generated from them. Alerts are suppressed while a maintenance window is active. For one-off windows with a fixed start and end, use list_maintenance_periods instead. See https://ohdear.app/docs/api/maintenance-windows.

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": {
      "monitor_id": "<monitor_id>"
    },
    "name": "list_recurring_maintenance_periods"
  }
}

Input Schema

NameRequiredDescriptionDefault
monitor_idYesThe ID of the monitor to list recurring maintenance windows for
include_generated_periodsNoInclude a sample of recently generated maintenance periods

Output Schema

NameRequiredDescriptionDefault
monitorYes
view_urlYes
recurring_maintenance_periodsYesRecurring maintenance schedules.
recurring_maintenance_periods_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds useful domain context ("Alerts are suppressed while a maintenance window is active"), which explains why the resource matters, but it discloses nothing about result volume, pagination, or how many generated periods are returned. Adding a domain note on top of full annotations earns a 3.

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 plus a docs link, with the core purpose and the sibling exclusion front-loaded. The phrase "recurring maintenance windows" is repeated from the name, and the docs URL is marginally useful filler, but nothing is genuinely 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?

An output schema exists, so return values need not be explained, and both parameters are fully described in the schema. The definition covers purpose, scope, the sibling alternative, and the operational consequence of a window; only sampling or pagination behavior of the generated-periods list is left unstated.

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%, so both parameters are already documented, including the default of false for include_generated_periods. The description slightly muddies this by saying the generated periods are listed as if always included, when the schema makes them opt-in; it adds no syntax or format detail beyond the schema. 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 and resource ("List the recurring maintenance windows defined on a monitor") plus what is returned (schedule and generated periods). It explicitly contrasts with the sibling tool that handles one-off windows, so the agent can distinguish the two without opening schemas.

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

Usage Guidelines5/5

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

Gives an explicit routing rule: "For one-off windows with a fixed start and end, use list_maintenance_periods instead." That names the alternative and the condition that selects it, leaving nothing to inference.

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