Skip to main content
Glama

List saved audiences

list_audiences
Read-onlyIdempotent

Lists the organisation's saved audiences with their current counts and last refresh, newest first, optionally filtered by name. Use it to find an aud_ id to count, quote or share. Free; it needs audiences:read. Pass an aud_ id to count_audience for a fresh count. Lawful basis is UK GDPR Article 6(1)(f) legitimate interests; email audiences include corporate subscribers only by default (PECR), so sole traders and ordinary partnerships are left out unless the toggle is changed.

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": "list_audiences"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoFilter by name.
limitNoItems per page, 1 to 100. Default 25.
cursorNoAn opaque cursor from next_cursor. Pass it back unchanged.

Output Schema

NameRequiredDescriptionDefault
dataYes
has_moreYesWhether another page follows.
next_cursorYesPass as cursor to fetch the next page; null on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / $defs / SinceFilter / properties / field / enum
      Previous value: -[
      -  "contact.last_validated_at",
      -  "email.last_verified_at",
      -  "signal.type",
      -  "signal.observed_at"
      -]New value: +[
      +  "contact.last_validated_at",
      +  "contact.last_confirmed_at",
      +  "contact.privacy_notice_last_sent_at",
      +  "contact.privacy_notice_first_sent_at",
      +  "email.last_verified_at",
      +  "signal.type",
      +  "signal.observed_at"
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive; the description adds materially more: the operation is free, requires the audiences:read scope, and returns cached counts with a last-refresh timestamp. The PECR caveat that email audiences default to corporate subscribers only is a real data-scope disclosure that changes how an agent should interpret the returned counts.

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-loads the core behavior and routing in the first two sentences, with cost and scope stated early. The final sentence on lawful basis and PECR is dense regulatory prose that is useful but slightly sprawls beyond what most calls need.

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?

With an output schema present, the description needn't explain return shapes, and it covers everything else an agent needs: cost, auth scope, ordering, freshness of counts, filter behavior, and the natural next step. Nothing required to call it 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 description coverage is 100%, so all three parameters (q, limit, cursor) are already documented in the schema, including defaults and bounds. The description restates the name filter but adds no syntax, matching behavior, or cursor semantics beyond what the schema provides, 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 the organisation's saved audiences') plus what each row carries ('current counts and last refresh'), the sort order ('newest first'), and the optional filter. An agent can distinguish this from count_audience, which the description explicitly routes to for fresh counts.

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 a clear use case ('find an aud_ id to count, quote or share') and names the follow-on alternative ('Pass an aud_ id to count_audience for a fresh count'), so the agent knows this tool returns cached counts rather than fresh ones. No explicit when-not-to-use condition, but the boundary with count_audience is unambiguous.

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