Skip to main content
Glama

Send a push notification

push_send
Destructive

Send a push notification to the people who installed your app. audience is required and says who receives it: everyone, groups (with group_ids, read with members_get type group) or users (with user_ids, read with members_get type user). push_platforms and the filter_ arguments narrow the audience further (iOS, Android, web app; language, number of launches, zones). send is required and says when: now sends at once, at schedules the notification for send_at. on_tap chooses what the notification opens: the app, a web link or a section of the app, with item_id for one item of content. A notification that was sent cannot be recalled or changed. The answer confirms the send or the schedule; a refusal names the argument to fix and nothing is sent.

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": {
      "message": "<message>",
      "audience": "<audience>",
      "send": "<send>"
    },
    "name": "push_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
sendYesWhen the notification leaves. now: at once. at: later, at send_at. Always written out; there is no default.
on_tapNoWhat opens when the notification is tapped: open_app (default), open_link (with link_url), open_section (with section_id, and item_id for one item).
item_idNoWith on_tap open_section: the content_id of one item to open in that section. Only for a section listed by content_get without any_source.
messageYesText of the notification, 255 characters at most.
send_atNoWith send at, required: the time to send, with the user's UTC offset: YYYY-MM-DDTHH:MM+HH:MM, for example 2026-11-03T09:00+01:00.
audienceYesWho receives the notification. everyone: every person who installed the app; groups: the members of the groups in group_ids; users: the people in user_ids. Always written out; there is no default.
link_urlNoWith on_tap open_link: the web address to open.
user_idsNoWith audience users, required: ids of the people, read with members_get (type user).
group_idsNoWith audience groups, required: ids of the groups, read with members_get (type group).
section_idNoWith on_tap open_section: id of the section to open, read with content_get (type section; any_source true when the section is not in the first list).
filter_zonesNoKeep only the devices located in one of these zones. iOS and Android only: push_platforms must leave pwa out.
push_platformsNoKeep only these platforms: ios, android, pwa (the web app). Omit for all of them.
use_local_timeNoWith send at: true delivers at the clock time of send_at in each person's own time zone, instead of at one instant for all. Only when the user asks for it.
filter_languageNoKeep only the devices set to this language.
filter_launchesNoKeep only the people who opened the app a number of times within this range over the last 30 days, as [minimum, maximum], for example [1, 5].
filter_never_notifiedNotrue keeps only the people who never received a notification. iOS and Android only: push_platforms must leave pwa out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

The description goes beyond the annotations by stating the irreversible consequence plainly ('A notification that was sent cannot be recalled or changed'), which reinforces destructiveHint=true and idempotentHint=false with a user-facing explanation. It also discloses error behavior ('a refusal names the argument to fix and nothing is sent') and the response shape ('confirms the send or the schedule'). It says nothing about permissions, rate limits, or whether a draft/preview step exists before committing.

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?

It is front-loaded with the required audience axis before the optional narrowing arguments and ends with the consequence and response, which is the right order. Information density is high and almost every clause earns its place, but it is a single dense run-on paragraph where bullets or separate sentences for audience/send/on_tap would scan faster.

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 16-parameter destructive tool with no output schema, the definition covers the recipient axis, the timing axis, the tap-target axis, filter composition, irreversibility, and the success/failure response. Remaining gaps are minor: it does not state whether multiple filter_* arguments combine as AND, nor any limits on audience size. An agent could call this correctly from the description alone.

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 the schema already documents every one of the 16 parameters including enum meanings and conditional requirements. The description mostly restates that structure, though it does add a useful compositional framing that push_platforms and the filter_ arguments 'narrow the audience further'. With the schema carrying the detail, this is the baseline adequate score.

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 names a specific verb and resource ('Send a push notification to the people who installed your app') and immediately scopes the recipient universe. The remainder separates the three controlled axes (audience, send, on_tap), so an agent knows exactly what the tool does. No sibling tool in the catalog performs push sends, so sibling differentiation is not needed.

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 explicit routing rules for the variants: audience=groups requires group_ids 'read with members_get type group', audience=users requires user_ids read with members_get type user, and send=at requires send_at. It also states constraints ('filter_zones ... iOS and Android only: push_platforms must leave pwa out') and a guardrail ('use_local_time ... Only when the user asks for it'). It stops short of saying when to prefer this over any alternative path, but no obvious alternative exists.

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.