Skip to main content
Glama

Location Set Maintenance

location_set_maintenance
Idempotent

Set maintenance mode for all devices in a location, with options for duration, start time, title, and notes.

Instructions

Set maintenance mode for all devices in a location.

Input Schema

NameRequiredDescriptionDefault
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)
locationYesLocation ID or name

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the mutation profile (non-read-only, idempotent, non-destructive), so the bar is lower. The description does add blast-radius context ('all devices in a location'), which matters for a bulk write, but it says nothing about how the window expires or how to clear maintenance early, despite 'duration' being required in the payload.

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 nine-word sentence with the target scope front-loaded and zero filler. It is efficient, though arguably thinner than the operation's complexity warrants, which is a completeness issue rather than a conciseness one.

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?

With a 100%-covered schema, output schema present, and annotations covering the safety profile, the core call path is documented. Still missing is any statement routing the agent between location-, devicegroup-, and device-level maintenance, and any note on immediate effect or cancellation for a bulk state change.

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% and the nested payload already documents duration format, title, notes, and start-time default, so the description need not repeat parameter detail. Baseline 3 applies; the description adds no parameter meaning of its own.

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 ('Set maintenance mode') plus the resource and its scope ('all devices in a location'), which distinguishes it in spirit from the device-scoped and group-scoped siblings. It never names those siblings (device_set_maintenance, devicegroup_set_maintenance), so the differentiation must be inferred from the word 'location'.

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?

The description gives no when-to-use guidance, no prerequisites, and no alternative tools. An agent facing device_set_maintenance, devicegroup_set_maintenance, and location_set_maintenance receives no statement of which scope to pick. Implied usage exists only through the word 'location'.

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