Skip to main content
Glama

Create Audience

create-audience

Create an audience (mailing list) for campaigns and automations, optionally with its settings.

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": {
      "name": "<name>"
    },
    "name": "create-audience"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
unengagedNo
visibilityNopublic: listed on the manage subscriptions page for everyone. private: only for contacts already subscribed.
public_nameNoName shown to subscribers instead of the internal name.
double_opt_inNoAsk people who join through the subscribe URL, forms or the API (double_opt_in: true) to confirm by email.
confirmation_emailNoEmail sent after someone subscribes or confirms.
public_descriptionNoShort description shown on the manage subscriptions page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / confirmation_email / properties / email / properties / from_name
      Added value: +{
      +  "description": "Sender name shown in the inbox, e.g. your business name. Replaces any name in \"from\".",
      +  "maxLength": 200,
      +  "type": "string"
      +}
    • addedInput schema / properties / double_opt_in / properties / email / properties / from_name
      Added value: +{
      +  "description": "Sender name shown in the inbox, e.g. your business name. Replaces any name in \"from\".",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  2. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the agent knows this is a non-idempotent create. The description adds a little context by framing the audience as a mailing list for campaigns and automations, but says nothing about workspace scoping, duplicate-name behavior, permission requirements, or what happens to unsupplied settings.

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?

A single front-loaded sentence with the action first and the optional-settings modifier after; nothing is wasted, though the trailing clause is too generic to earn its place fully.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a create tool with seven parameters, nested double-opt-in and confirmation-email objects, and no output schema, the description should at minimum say whether an audience object/id comes back and whether only name is required. The schema carries most of the detail, so the call is still executable, but the definition is thinner than the tool's complexity warrants.

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

Parameters2/5

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

Schema description coverage is 71%, below the 80% threshold where the schema alone earns a baseline of 3. The description mentions only 'settings' generically and never touches unengaged, visibility, double_opt_in, confirmation_email, or public_description, so it adds no meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource, 'Create an audience (mailing list)', and disambiguates audience semantically as a mailing list used for campaigns and automations. It does not differentiate from siblings such as update-audience, list-audiences, or merge-audiences, so the agent gets a clear purpose but no routing help.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only guidance is 'optionally with its settings', which describes argument shape rather than when to call this instead of update-audience or merge-audiences. There is no statement of prerequisites, no when-not-to-use, and no named alternative.

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.