Skip to main content
Glama

Delete Notifications

notification_delete
Destructive

Permanently deletes a single Unraid notification or all archived notifications after explicit confirmation, reporting resulting counts; use archiving instead to hide items without deleting them.

Instructions

⚠ Permanently deletes notifications (irreversible): one by id, or every archived one. Requires confirm: true. Reports the resulting counts. To hide notifications without losing them use notification_archive instead.

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": {
      "scope": "<scope>"
    },
    "name": "notification_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoNotification id from notification_list. Required for `scope: one`; rejected with `all_archived`.
typeNoBucket the notification was listed under. Required for `scope: one`; rejected with `all_archived`.
scopeYes`one` deletes a single notification (needs `id` and `type`); `all_archived` deletes every archived notification.
confirmNoSet `true` only after the user approves this specific change; otherwise the tool refuses or prompts them.
response_formatNo`detailed` returns full JSON instead of readable text.concise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.1.3
    • addedInput schema / properties / confirm / description
      Added value: +"Set `true` only after the user approves this specific change; otherwise the tool refuses or prompts them."
    • addedInput schema / properties / id / description
      Added value: +"Notification id from notification_list. Required for `scope: one`; rejected with `all_archived`."
    • addedInput schema / properties / response_format / description
      Added value: +"`detailed` returns full JSON instead of readable text."
    • addedInput schema / properties / scope / description
      Added value: +"`one` deletes a single notification (needs `id` and `type`); `all_archived` deletes every archived notification."
    • addedInput schema / properties / type / description
      Added value: +"Bucket the notification was listed under. Required for `scope: one`; rejected with `all_archived`."
  2. First observedv0.1.1

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description goes further by stating irreversibility explicitly, disclosing the confirm:true gate and that the tool will refuse or prompt otherwise, and noting that the result reports counts. These are the behavioral facts an agent needs to sequence a destructive call safely.

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?

Three short sentences, front-loaded with a warning marker and the irreversibility qualifier, followed by the confirmation requirement, the return summary, and the safe alternative. No sentence is filler and the dangerous part is read first.

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

Completeness5/5

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

For a five-parameter destructive tool with no output schema, the description covers the mutation's permanence, the confirmation contract, the two deletion scopes, and what comes back ('resulting counts'). Nothing an agent needs to invoke it correctly is 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 every parameter (id, type, scope, confirm, response_format) is already documented in the schema, including the scope-dependent requirements and rejects. The description only restates the two scopes and the confirm flag at a summary level, adding no syntax or format detail beyond the schema. Baseline 3 applies.

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?

Names the specific resource (notifications) and verb (permanently deletes), and enumerates the two operational modes: single-by-id and all-archived. An agent can distinguish this from notification_archive or share_delete without opening any schema.

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 alternative with the condition that selects it — 'To hide notifications without losing them use notification_archive instead' — which is exactly the when-not guidance that matters for a destructive tool. It also states the confirmation prerequisite, so the agent knows the precondition before calling.

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