Skip to main content
Glama

Devicegroup Set Maintenance

devicegroup_set_maintenance
DestructiveIdempotent

Set maintenance on a device group to avoid false alerts during planned downtime, with configurable duration, title, notes, and start time.

Instructions

Set maintenance for a device group in LibreNMS.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDevice group name
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

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 readOnlyHint=false, idempotentHint=true, and destructiveHint=true. The description adds no additional behavioral context, such as what gets destroyed or overwritten, whether existing maintenance windows are replaced, or what side effects the maintenance mode has. With a destructive mutation, the description should provide more transparency beyond the bare action phrase.

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?

The description is a single concise sentence that immediately identifies the tool's purpose. There is no redundant wording or repetition of the schema details.

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?

Given the destructive annotation and the existence of sibling maintenance tools, the description is too thin. It does not explain what 'set maintenance' means operationally, whether the window replaces existing maintenance, or how this differs from device-level or location-level maintenance. The payload schema covers parameter formats well, but the overal semantics and operational context are missing.

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 description coverage is 100%, so the input schema already documents name and payload fields including formats, optionality, and defaults. The description itself adds no parameter semantics, but the baseline of 3 applies because the schema carries the full burden successfully.

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 states a specific action ('Set') on a specific resource ('device group') within LibreNMS, so an agent can tell it is a maintenance-window mutation for device groups. However, it does not explicitly distinguish it from the sibling tools device_set_maintenance or location_set_maintenance, so it misses some sibling differentiation.

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?

There is no guidance on when to use this tool versus device_set_maintenance or location_set_maintenance. The description does not state prerequisites, such as needing an existing device group, nor whether this should be preferred for group-level maintenance. The agent is left to infer usage from the tool name and schema.

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