Skip to main content
Glama

notification_show

Displays a Windows system tray balloon notification to alert users when a long-running task finishes, so they don't need to watch the screen; delivery may be unverifiable due to system settings.

Instructions

Show a Windows system tray balloon notification to alert the user. Use at the end of a long-running task so the user knows it finished without watching the screen. Caveats: toast の user reach は原理的に観測不能 (matrix §3.1 line 158 規範整合)。Focus Assist (Do Not Disturb) / Notifications-off setting / consent UI sink いずれも tool 側からは判別不能のため、successful response は常に hints.verifyDelivery を含む (status="unverifiable", reason="user_visible_side_effect_uninspectable", channel="win32_balloon_tip" — 全 double-quoted JSON literal)。caller は user 側の post-notification behavior (例: wait_until(focus_changes)) で間接観測することが望ましい。Uses System.Windows.Forms — no external modules needed.

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": {
      "title": "<title>",
      "body": "<body>"
    },
    "name": "notification_show"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesNotification body text (not empty: an empty balloon is not shown)
titleYesNotification title
includeNoOptional response-shape opt-in. `['envelope']` returns the self-documenting envelope (`_version` / `data` / `as_of` / `confidence`). `['raw']` forces raw shape (overrides DESKTOP_TOUCH_ENVELOPE=1 server default). Default behaviour is raw shape (compat with existing clients).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.4.1
    • changedInput schema / properties / body / description
      Previous value: -"Notification body text"New value: +"Notification body text (not empty: an empty balloon is not shown)"
  2. Changed2 schema fields changedv2.3.1
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
  3. Addedv1.9.2
  4. Removedv1.8.0
  5. Addedv1.6.0
  6. Removedv1.5.1
  7. Addedv1.5.0
  8. Removedv1.4.3
  9. Addedv1.4.2
  10. Removedv1.4.0
  11. Changed1 schema field changedv1.2.1
    • addedInput schema / properties / include
      Added value: +{
      +  "description": "Optional response-shape opt-in. `['envelope']` returns the self-documenting envelope (`_version` / `data` / `as_of` / `confidence`). `['raw']` forces raw shape (overrides DESKTOP_TOUCH_ENVELOPE=1 server default). Default behaviour is raw shape (compat with existing clients).",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  12. Addedv1.0.3
  13. Removedv0.15.7
  14. Addedv0.10.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses that delivery is inherently unverifiable (Focus Assist, notifications-off, consent-UI sink), that the response always contains hints.verifyDelivery with status="unverifiable", reason, and channel, and that it relies on System.Windows.Forms with no external modules. What it omits is error/failure behavior (what happens if the Win32 call itself fails) and whether the call blocks until the balloon is dismissed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and usage sentences are front-loaded and efficient, but the caveat block is bloated by an internal document citation ('matrix §3.1 line 158 規範整合'), mixed Japanese/English prose, and meta-instructions about JSON literal quoting that belong in the schema or implementation, not the tool description. An agent has to parse noise to extract the two facts that matter: delivery is unverifiable, and hints.verifyDelivery is always returned.

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?

For a low-complexity, three-parameter, no-output-schema tool, the definition covers the essential ground: what it does, when to call it, and the non-obvious fact that success cannot be confirmed from the tool side. The residual gap is failure modes and blocking behavior, which are minor here but not stated.

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 title, body, and include are already documented (including the maxLength and non-empty body constraint). The description adds nothing about parameter meaning or interactions — for instance how `include=['envelope']` interacts with the unverifiable-delivery hints. Baseline 3 applies when the schema does the heavy lifting.

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?

The first sentence states a concrete verb and resource — 'Show a Windows system tray balloon notification to alert the user' — which is unambiguous and clearly distinct from every sibling (wait_until, screenshot, browser_*, etc.). An agent knows exactly what effect to expect 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?

It gives a clear triggering context ('Use at the end of a long-running task so the user knows it finished without watching the screen') and points to an indirect verification path ('wait_until(focus_changes)'). It does not state when *not* to use it (e.g., short tasks, or when a screenshot/sound would be preferable), so it stops short of full when/when-not coverage.

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