Skip to main content
Glama
pushengage-mcp

pushengage-mcp

List audience groups

pushengage_list_audience_groups
Read-only

List audience groups on the current site with pagination to look up group IDs by name for use in notification requests.

Instructions

Lists audience groups on the current site, paginated (response includes has_more). Use this to look up audience-group IDs when the user references a group by name; those IDs are what pushengage_send_notification / pushengage_send_ab_notification accept in their audience_groups field.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pushengage_list_audience_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-indexed) for paginating beyond the first batch. e.g. with limit=100 the second page (101–200) is page=2.
limitNoHow many audience groups to return in this page. Min 1, max 100, default 10. To browse past the first 100, increase `page` instead of asking for a larger limit.
site_idNoOverride the currently selected site.
name_containsNoOptional substring filter on the audience-group name. Maps to API `name_like`.

Output Schema

NameRequiredDescriptionDefault
pageNo
limitNo
totalNo
has_moreNo
last_pageNo
audience_groupsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / page / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / site_id / maximum
      Added value: +9007199254740991
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / audience_groups / items / additionalProperties
      Previous value: -trueNew value: +{}
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds pagination behavior via `has_more` and the downstream ID handoff, but says nothing about rate limits, permissions, or ordering/filtering semantics beyond the schema. Useful context, not rich behavioral detail.

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?

Two compact sentences, front-loaded with what the tool returns and immediately followed by the concrete use case. No filler, no restatement of the title.

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?

An output schema exists, all four parameters are documented, and annotations carry the safety profile; the description supplies the one thing structured fields cannot, namely when to call it and what the returned IDs feed into. Nothing an agent needs to call this correctly is missing.

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 coverage is 100% and every parameter already has a detailed description (page, limit, site_id, name_contains with its `name_like` mapping). The description only alludes to pagination generally, adding no syntax or format information beyond the schema, so the baseline 3 applies.

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 specific verb and resource ('Lists audience groups'), adds scope ('on the current site'), and discloses the pagination shape ('response includes `has_more`'). It also explains the downstream purpose of the IDs, which separates it from listing siblings such as list_segments or list_audience_filter_values.

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 an explicit trigger condition: use it when the user references an audience group by name and you need the ID. It also names the exact consumer tools and field (`audience_groups` on send_notification / send_ab_notification), so the agent knows what to do next. It lacks an explicit when-not clause or a named alternative for browsing other resource types.

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