Skip to main content
Glama

Get a Cronitor maintenance window

get_maintenance_window
Read-onlyIdempotent

Get one maintenance window by key, matching cronitor maintenance get.

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": {
      "key": "<key>"
    },
    "name": "get_maintenance_window"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesCronitor resource key.
with_monitorsNoInclude every affected monitor, matching the CLI's --with-monitors flag.
with_group_detailsNo
with_monitor_detailsNo
with_environment_detailsNo
with_status_page_detailsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.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 fully covered. The description adds only CLI parity ("matching `cronitor maintenance get`"), leaving unstated what the response contains and what happens when the key is unknown. Some added context, but thin for a retrieval tool with a 6-parameter surface.

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?

A single short sentence with the key requirement front-loaded and no wasted wording. Its brevity costs it, though—the space saved is not redirected to the undocumented flags.

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

Completeness2/5

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

With six parameters, four of them entirely undescribed in the schema, and no output schema, the description should explain what the detail flags expand and what a returned window looks like. It leaves an agent unable to choose among the expansion flags without guessing, which is a significant gap for this complexity.

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

Parameters2/5

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

Schema description coverage is only 33%, yet the description adds nothing about the four detail flags (with_group_details, with_monitor_details, with_environment_details, with_status_page_details) which have no schema descriptions at all. It only echoes the key-based lookup, so it fails to compensate for the coverage gap.

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 uses a specific verb and resource ("Get one maintenance window by key"), which clearly distinguishes single-item retrieval from list_maintenance_windows or the create/update/delete siblings. It stops short of naming an alternative explicitly, so it is clear but not maximally differentiated.

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?

Guidance is only implied: "by key" suggests you need a known resource key, so the tool is for detail lookup rather than discovery. There is no statement of when not to use it, no mention of prerequisites such as permissions, and no pointer to list_maintenance_windows for enumeration.

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