Skip to main content
Glama

snooze_monitor

Idempotent

Set or clear a maintenance window on a monitor so alerts stay silent for a chosen duration or until a timestamp.

Instructions

Requires an API key with the write scope or higher. Set or clear a maintenance window on a monitor. During the window the monitor will not alert. Provide exactly one of: duration (e.g. '1h', '24h'), until (RFC 3339 timestamp), or clear=true to remove the window.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesMonitor UUID.
clearNoSet true to remove the active maintenance window.
untilNoRFC 3339 end timestamp. Use this OR duration OR clear.
durationNoGo duration string, e.g. '1h' or '24h'. Use this OR until OR clear.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already signal idempotence and non-read-only behavior; the description adds useful behavioral context by stating the auth requirement, the effect of suppressing alerts, and how clear=true removes an active window. This meaningfully supplements the structured annotations without contradicting them.

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 compact and well-structured: auth prerequisite, core action and effect, then parameter usage rule. Every sentence adds necessary information with no filler or repetition of the tool name.

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?

Given the moderate complexity of four parameters and no output schema, the description covers the essential call requirements: auth, semantics, mutual exclusivity, and clearing behavior. It could mention response or error behavior, but nothing critical is missing for invoking the tool correctly.

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

Parameters4/5

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

The schema already documents each parameter and the OR relationship, but the description adds the 'exactly one of' rule and concrete examples like '1h' and '24h'. This reinforces the intended usage beyond the schema's individual field descriptions, though the schema coverage is already high.

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 clearly states the action: 'Set or clear a maintenance window on a monitor', and explains the effect that the monitor will not alert during the window. It distinguishes this tool from generic update tools by focusing on the maintenance/snooze concept, though it does not explicitly contrast it with sibling tools like pause_monitor or resume_monitor.

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

Usage Guidelines4/5

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

The description provides clear context on when the tool is appropriate: managing a maintenance window to suppress alerts. It also gives explicit operational constraints such as requiring a write-scope API key and providing exactly one of duration, until, or clear. It does not mention when not to use it or explicitly name alternatives.

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