Skip to main content
Glama

list_audiences

Read-only

List the workspace's audiences. An audience is a saved filter over user profiles — a dynamic segment — so this answers "who can I target" and gives you the audience IDs that journey audience triggers and send requests refer to.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cursorNoFor fetching the next page. This is an opaque token — never decode it, edit it, or rebuild it. Pass it back exactly as it appeared in the previous response's cursor field, byte for byte. Omit this entirely when you don't have one from a prior response of this exact call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / cursor / description
      Previous value: -"Pagination cursor"New value: +"For fetching the next page. This is an opaque token — never decode it, edit it, or rebuild it. Pass it back exactly as it appeared in the previous response's cursor field, byte for byte. Omit this entirely when you don't have one from a prior response of this exact call."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The readOnlyHint annotation already signals this is a safe read operation Taxonomy. The description adds meaningful behavioral context beyond that: an audience is a dynamic segment, not a static list, and the call yields the audience IDs needed elsewhere. This clarifies what the returned data represents without contradicting the annotations.

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 two sentences, front-loaded with the primary action, and every clause adds value. The first sentence states exactly what the tool does; the second explains the audience concept and why the result matters. There is no filler, repetition, or unnecessary schema duplication.

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 simple list operation with one optional parameter and a well-documented cursor, the description is nearly complete: it tells the agent what the tool lists, what an audience is, and what the result is used for. Since there is no output schema, a brief mention of the returned fields would have been stronger, but the key value — audience IDs — is explicitly included.

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%, with the cursor parameter thoroughly explained in the schema itself including the warnings about not decoding or editing it. The main description adds no parameter-specific detail, which is acceptable because the schema already carries full weight here. Baseline 3 is appropriate.

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 clear verb and resource: "List the workspace's audiences." It goes beyond the name by defining what an audience is and why this tool matters: it identifies who can be targeted and provides the IDs used by journey triggers and send requests. This distinguishes it from sibling tools like get_audience, which fetches a single audience, and list_audience_members, which lists member profiles rather than audiences themselves.

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?

The description gives a clear use case: when you need to know "who can I target" or need audience IDs for journey triggers and send requests. It does not explicitly list alternatives or state when not to use it, so it stops short of full exclusion-level guidance, but the intended context is unmistakable.

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