Skip to main content
Glama

Send Push Notification

send_push_notification

Send an ActivitySmith Push Notification to this account. Optionally target channel slugs.

Normal notification taps use redirection, which accepts HTTP/HTTPS URLs and installed apps' custom URL schemes, such as spotify:// or shortcuts://run-shortcut?name=Example.

Expanded notification actions use actions, up to 4 items. open_url actions accept the same external URLs as redirection. Custom app schemes require the target app to be installed; no web fallback is provided. Unsafe schemes and ActivitySmith's internal scheme are blocked. webhook actions call an HTTPS endpoint with GET or POST and optional JSON body.

media can be combined with redirection, but media cannot be combined with actions.

The result includes notification_id. Pass it to replace_push_notification to update this notification later, for example when an incident you alerted on is resolved, or to dismiss_push_notification to clear it from the Lock Screen once it no longer needs attention.

icon shows an HTTPS image, such as a logo or avatar, next to a smaller ActivitySmith app icon; iOS may hide the subtitle. interruption_level is passive (quiet, no sound), active (default), or time-sensitive (can break through Focus when allowed); use time-sensitive only for things the user must see now.

Action examples: [ { "title": "Open Build", "type": "open_url", "url": "https://github.com/acme/web/actions/runs/123" }, { "title": "Chat with Jarvis", "type": "open_url", "url": "shortcuts://run-shortcut?name=Jarvis" }, { "title": "Create Incident", "type": "webhook", "url": "https://hooks.example.com/incidents/create", "method": "POST", "body": { "service": "payments-api", "severity": "high" } } ]

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>"
    },
    "name": "send_push_notification"
  }
}

Input Schema

NameRequiredDescriptionDefault
iconNoOptional HTTPS image URL, such as a logo or avatar, shown next to a smaller ActivitySmith app icon.
tagsNoOptional account tags used to organize history.
badgeNoOptional app badge count.
mediaNoOptional HTTPS image, audio, or video URL. Can be combined with redirection, but not with actions.
soundNoOptional sound. Omit it to play the Push Notifications sound picked on the device. Use one of the sounds bundled with the ActivitySmith app (arrive, bell, bells, bitflip, bloom, callout, chime, coin, corrupt, crest, cue, ding, drop, ember, emblem, flourish, glimmer, glint, glitch, lantern, nightfall, nudge, pixel, pop, signal, streak, tally, wand, whoosh, zip), default for the sound picked on the device, or none for silence.
titleYesPush Notification title.
actionsNoOptional expanded notification actions, up to 4. open_url actions accept HTTP/HTTPS URLs or installed apps' custom URL schemes, such as spotify:// or shortcuts://run-shortcut?name=Example. webhook actions call an HTTPS endpoint with optional GET or POST method and optional JSON body. Do not combine actions with media.
messageNoOptional Push Notification message body.
payloadNoOptional custom JSON payload delivered with the notification.
metadataNoOptional app-only details: up to 50 string keys (1–100 characters), with string (up to 4000 characters), finite number, or boolean values; 16 KB total. Stored in history, never sent to APNs. No nested values or null.
subtitleNoOptional subtitle shown with the Push Notification.
redirectionNoOptional normal-tap target. Use an HTTP/HTTPS URL or an installed app's custom URL scheme, such as spotify:// or shortcuts://run-shortcut?name=Example. Custom app schemes have no web fallback.
interruption_levelNoOptional delivery urgency: passive, active (default), or time-sensitive.
target_channel_slugsNoOptional channel slugs to target. Omit to target the account-wide default delivery scope.

Output Schema

NameRequiredDescriptionDefault
tagsYes
successYes
timestampYes
users_notifiedYes
notification_idNo
devices_notifiedYes
effective_channel_slugsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / redirection / description
      Previous value: -"Optional normal-tap target. Use an HTTP/HTTPS URL or an installed app's custom URL scheme, such as spotify:// or shortcuts://run-shortcut?name=Example. Custom app schemes require iOS app 1.13.4 build 2 or later. No web fallback."New value: +"Optional normal-tap target. Use an HTTP/HTTPS URL or an installed app's custom URL scheme, such as spotify:// or shortcuts://run-shortcut?name=Example. Custom app schemes have no web fallback."
    • changedInput schema / properties / sound / description
      Previous value: -"Optional APNs sound name, such as default."New value: +"Optional sound. Omit it to play the Push Notifications sound picked on the device. Use one of the sounds bundled with the ActivitySmith app (arrive, bell, bells, bitflip, bloom, callout, chime, coin, corrupt, crest, cue, ding, drop, ember, emblem, flourish, glimmer, glint, glitch, lantern, nightfall, nudge, pixel, pop, signal, streak, tally, wand, whoosh, zip), default for the sound picked on the device, or none for silence."
  2. Changed1 schema field changed
    • changedOutput schema / description
      Previous value: -"Push Notification delivery result. Pass notification_id to replace_push_notification to replace it later."New value: +"Push Notification delivery result. Pass notification_id to replace_push_notification to replace it later, or to dismiss_push_notification to clear it from the Lock Screen."
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare write/openWorld/non-destructive, so the description carries the real burden and delivers: scheme blocklist behavior, no web fallback for custom schemes, and the media-vs-actions mutual exclusion are all genuine behavioral constraints an agent cannot infer otherwise. The main gap is delivery semantics such as rate limits or what happens when a target channel slug does not exist.

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-loaded with purpose, then organized by parameter concern, with examples last where they belong. It loses a point for repetition: the custom-scheme/no-web-fallback rule is stated in the opening paragraph, again in the actions paragraph, and again in the redirection parameter description.

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 14-parameter tool with nested objects and an output schema, the description covers every consequential decision point: delivery urgency, tap target vs. expanded actions, media incompatibility, and the notification_id lifecycle. Return values need not be explained since an output schema exists, yet the notification_id usage is still tied to follow-up tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% so the baseline would be 3, but the description adds meaning the schema cannot: the actions array's items are untyped in the schema, and the worked examples supply the actual object shape (title/type/url/method/body). It also explains interruption_level urgency trade-offs and icon rendering behavior in terms of effect rather than type.

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?

Opens with a specific verb+resource ("Send an ActivitySmith Push Notification to this account") and immediately scopes it with the optional channel targeting. It also names the sibling follow-ups (replace_push_notification, dismiss_push_notification) so an agent can tell this apart from the mutation tools nearby.

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 clear operative guidance: how to follow up after sending (pass notification_id to replace or dismiss, with concrete scenarios like incident resolution), and when to pick interruption_level time-sensitive vs. passive. It stops short of stating when not to send a notification or describing alternative delivery channels.

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