Skip to main content
Glama

Dismiss Push Notification

dismiss_push_notification
Destructive

Dismiss a Push Notification that was already sent, using the notification_id returned by send_push_notification.

Dismissing clears it from the Lock Screen and Notification Center on every device it was sent to. Use it when a notification no longer needs attention, for example after a question you asked was answered somewhere else. Notification history keeps it.

iPhones and iPads clear it in the background, which can take a moment or wait until the app next opens. A successful result means the dismissal was recorded, not that every device has cleared it yet.

Calling it again for the same notification is safe and sends nothing. A dismissed notification cannot be replaced.

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": {
      "notification_id": "<notification_id>"
    },
    "name": "dismiss_push_notification"
  }
}

Input Schema

NameRequiredDescriptionDefault
notification_idYesnotification_id returned when the Push Notification was sent.

Output Schema

NameRequiredDescriptionDefault
successYes
dismissed_atYes
notification_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, the description explains that dismissal clears the notification from Lock Screen and Notification Center on every device while keeping history. It also discloses asynchronous iPhone/iPad behavior, idempotency, and that success means the dismissal was recorded rather than confirmed on every device.

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 front-loaded with the action and source of notification_id, then proceeds through effects, timing, idempotency, and replacement constraints. Each sentence contributes useful behavioral context without unnecessary repetition.

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 destructive notification-dismissal tool, it covers the important behavioral details: cross-device clearing, retained history, async device behavior, idempotency, and the replacement restriction. An output schema exists, so the description does not need to explain return values further.

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 the single parameter is already documented as the notification_id returned when the notification was sent. The description reinforces that origin but does not add format, validation, or lookup details 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?

The description states a specific verb and resource: dismiss an already-sent Push Notification by notification_id. It explicitly ties the identifier to send_push_notification and notes that a dismissed notification cannot be replaced, helping distinguish it from related notification tools.

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 when-to-use condition and example: dismiss when the notification no longer needs attention, such as after a question was answered elsewhere. It does not explicitly name replace_push_notification or other alternatives for changing notification content, so the guidance is clear but not exhaustive.

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