Skip to main content
Glama

Hide an alert for a few days

snooze_alert

Changes data: hides one open alert from the issues page for 1, 3 or 7 days, as the person who connected this app, and records it in the organization's audit log. It comes back on its own when the time is up, or sooner if it gets worse; restore_alert brings it back at once. Use it only when the user asks to snooze or postpone an alert. Get alert_id from list_alerts. Snoozing again replaces the earlier snooze and moves the end time, so do not repeat a call that succeeded. Answers with the alert, its snoozed_until set.

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": {
      "alert_id": "<alert_id>",
      "days": "<days>"
    },
    "name": "snooze_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYesHow many days to hide it for: 1, 3 or 7.
alert_idYesAn alert id such as "alr_2210", as returned by list_alerts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false; the description adds real value beyond them with the audit-log record, the automatic expiry, the early-return-if-worse behavior, and the replace-on-repeat semantics. However, the sentence 'Changes data: hides...' frames a hide as a state change without clarifying why destructiveHint is false, which leaves a small tension an agent may have to reconcile on its own.

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?

Front-loads the data-change warning and is dense with information, but the 'Get alert_id from list_alerts' sentence duplicates the schema and could be dropped. Remaining sentences each carry distinct behavioral detail.

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?

Covers prerequisites, actor identity, side effects and the return value ('the alert, its snoozed_until set') despite having no output schema. Only the day-range default or time zone for the end time is left implicit.

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 both parameters are documented with the day enum and an alert_id example, so the description only repeats 'Get alert_id from list_alerts'. The one addition beyond the schema is that a second snooze replaces the earlier one and moves the end time.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('hides one open alert'), the exact scope (issues page, 1/3/7 days) and the actor (the person who connected the app), which separates it from restore_alert and dismiss_alert named in the same text.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use rule ('Use it only when the user asks to snooze or postpone an alert'), names the alternative for reversing it ('restore_alert brings it back at once'), and warns against repeating a successful call.

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