Skip to main content
Glama

Devicegroup Set Maintenance

devicegroup_set_maintenance
DestructiveIdempotent

Set a maintenance window for a LibreNMS device group, defining duration, title, notes, and optional start time to pause alerts during planned work.

Instructions

Set maintenance for a device group in LibreNMS.

Input Schema

NameRequiredDescriptionDefault
nameYesDevice group name or ID
payloadYesMaintenance mode payload: - duration (required): Duration in "H:i" format (e.g., "02:00" for 2 hours) - title (optional): Maintenance window title - notes (optional): Maintenance notes - start (optional): Start time in "Y-m-d H:i:00" format (default: now)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.12.0
    • changedInput schema / properties / name / description
      Previous value: -"Device group name"New value: +"Device group name or ID"
  2. First observedv1.9.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false. The description adds nothing beyond this – it doesn't say what maintenance does to the group, whether existing windows are overwritten, or what 'destructive' means here (e.g., alert suppression). With annotations covering the safety profile, no added context means a low score.

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, front-loaded sentence with zero waste. It is efficient, though its brevity is part of the definition's overall thinness rather than a deliberate structural choice.

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

Completeness3/5

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

Annotations carry the safety profile and an output schema exists, so return values need no explanation. However, for a destructive mutation on device groups, the description says nothing about the effect of entering maintenance, leaving a noticeable gap.

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% and the nested payload schema already documents duration, title, notes, and start with formats and defaults. The description adds no parameter meaning, so the baseline 3 applies.

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?

States a specific verb+resource ('set maintenance for a device group') and scopes it to device groups, which distinguishes it from the sibling device_set_maintenance. It does not explicitly name that sibling, so it falls short of 5.

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

Usage Guidelines2/5

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

No when-to-use guidance, no prerequisites, and no mention of the closely related device_set_maintenance or location_set_maintenance alternatives. The agent must infer everything from the tool name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools