Skip to main content
Glama

Create Notification

notification_create

Creates an Unraid notification to record task outcomes, with if_unique mode to prevent duplicate unread alerts and importance levels for alerts, warnings, or info.

Instructions

Creates a notification in Unraid's notification center, e.g. to record the outcome of a task for whoever runs the server. mode: always always creates; mode: if_unique skips creation when an equivalent unread one already exists, so repeated checks do not pile up duplicates. importance: alert/warning/info. Reports the created title and importance, or that creation was skipped; response_format: detailed returns the created notification with its id. To hide or remove existing notifications use notification_archive or notification_delete.

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": {
      "mode": "<mode>",
      "title": "<title>",
      "subject": "<subject>",
      "description": "<description>",
      "importance": "<importance>"
    },
    "name": "notification_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkNoOptional link attached to the notification, e.g. the web UI path `/Dashboard`.
modeYes`always` creates unconditionally; `if_unique` creates only when no equivalent unread notification exists.
titleYesShort title naming the event (Unraid's 'event' field), e.g. `Backup done`.
subjectYesOne-line subject shown next to the title in listings, e.g. what the event concerns.
importanceYesSeverity; `warning` and `alert` also surface in notification_alerts while unread.
descriptionYesMessage body with the details; reads return it only in `detailed` format.
response_formatNo`detailed` returns full JSON instead of readable text.concise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.1.3
    • addedInput schema / properties / description / description
      Added value: +"Message body with the details; reads return it only in `detailed` format."
    • addedInput schema / properties / importance / description
      Added value: +"Severity; `warning` and `alert` also surface in notification_alerts while unread."
    • addedInput schema / properties / link / description
      Added value: +"Optional link attached to the notification, e.g. the web UI path `/Dashboard`."
    • addedInput schema / properties / mode / description
      Added value: +"`always` creates unconditionally; `if_unique` creates only when no equivalent unread notification exists."
    • addedInput schema / properties / response_format / description
      Added value: +"`detailed` returns full JSON instead of readable text."
    • addedInput schema / properties / subject / description
      Added value: +"One-line subject shown next to the title in listings, e.g. what the event concerns."
    • addedInput schema / properties / title / description
      Added value: +"Short title naming the event (Unraid's 'event' field), e.g. `Backup done`."
  2. First observedv0.1.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent, closed-world. The description adds real behavior beyond that: creation can be silently skipped under if_unique, the response reports title and importance or the skip, and detailed format returns the created notification with its id. It does not mention permission or error behavior, so not a 5.

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?

Dense single paragraph with the core action and mode semantics front-loaded, then return behavior, then alternatives. Every sentence carries content, though it is packed more tightly than ideal for scanning.

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?

With no output schema, the description usefully covers the possible return variants (created title/importance, skipped, detailed with id) and the duplicate-suppression behavior of if_unique. Coverage of failure modes and required permissions is the only notable gap.

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 mode, importance, title/subject/description, link, and response_format are already documented. The description restates mode and importance semantics and adds mild value by framing response_format as a return-shape choice, but adds little beyond the schema.

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 concrete verb and resource ('Creates a notification in Unraid's notification center') plus the practical purpose ('record the outcome of a task'). It also names the sibling tools used for the opposite operation, so an agent can distinguish it without opening the schema.

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?

Gives a positive use case and explains the mode choice ('always' vs 'if_unique' to avoid duplicate unread entries), and routes hide/remove needs to notification_archive or notification_delete. No explicit statement of when creation itself is inappropriate, but the routing guidance is clear.

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