Skip to main content
Glama

Create Audience

create_audience

Create a new audience in the caller's Uxia workspace and synchronously generate AI testers for it. An audience defines targeting filters (age, gender, geography, demographics) used to generate synthetic AI tester profiles, not recruit people. Returns the created audience plus the freshly generated testers.

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": {
      "ageRange": "<ageRange>",
      "gender": "<gender>"
    },
    "name": "create_audience"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
countNoHow many AI testers to generate. Defaults to 5, which is the minimum a test can launch with — an audience with fewer approved testers is rejected at launch.
rolesNo
genderYes
ageRangeYesTwo-element [min, max] age range (integers, 16-100).
countriesNoCountry of residence codes in uppercase ISO 3166-1 alpha-2 format. Use KR for South Korea, US for United States, GB for United Kingdom; do not send country names.
languagesNo
industriesNo
isReusableNo
descriptionNo
techLiteracyNo
customDetailsNo
maritalStatusNo
nationalitiesNoNationality country codes in uppercase ISO 3166-1 alpha-2 format. Use KR for South Korean, US for American, GB for British; do not send nationality names.
educationLevelNo
personalIncomeNo
householdIncomeNo
employmentStatusNo
languagesRequirementNo

Output Schema

NameRequiredDescriptionDefault
testersNoFreshly generated AI testers for the new audience.
audienceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / householdIncome / additionalProperties
      Removed value: -false
    • removedInput schema / properties / personalIncome / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / audience / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / testers / items / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Changed4 schema fields changed
    • addedInput schema / properties / countries / description
      Added value: +"Country of residence codes in uppercase ISO 3166-1 alpha-2 format. Use KR for South Korea, US for United States, GB for United Kingdom; do not send country names."
    • addedInput schema / properties / countries / items / pattern
      Added value: +"^[A-Z]{2}$"
    • addedInput schema / properties / nationalities / description
      Added value: +"Nationality country codes in uppercase ISO 3166-1 alpha-2 format. Use KR for South Korean, US for American, GB for British; do not send nationality names."
    • addedInput schema / properties / nationalities / items / pattern
      Added value: +"^[A-Z]{2}$"
  3. Changed3 schema fields changed
    • changedInput schema / properties / ageRange / description
      Previous value: -"Two-element [min, max] age range (integers, 0-120)."New value: +"Two-element [min, max] age range (integers, 16-100)."
    • changedInput schema / properties / ageRange / items / maximum
      Previous value: -120New value: +100
    • changedInput schema / properties / ageRange / items / minimum
      Previous value: -0New value: +16
  4. Changed6 schema fields changed
    • removedInput schema / properties / personalIncome / properties / range / $ref
      Removed value: -"#/properties/householdIncome/properties/range"
    • addedInput schema / properties / personalIncome / properties / range / description
      Added value: +"Two-element [min, max] range in the given currency."
    • addedInput schema / properties / personalIncome / properties / range / items
      Added value: +{
      +  "maximum": 500000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / personalIncome / properties / range / maxItems
      Added value: +2
    • addedInput schema / properties / personalIncome / properties / range / minItems
      Added value: +2
    • addedInput schema / properties / personalIncome / properties / range / type
      Added value: +"array"
  5. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false), so the bar is lower, and the description still adds real value: generation is synchronous (the call blocks and produces testers), results are workspace-scoped, and the response includes both audience and testers. It stops short of saying whether generated testers require approval or how long the synchronous generation may take.

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?

Three front-loaded sentences with no filler; the side effect and the conceptual clarification come before anything secondary. Slightly more compact phrasing could fold the 'not recruit people' clarification into the first sentence, but nothing is wasted.

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?

An output schema exists, so return values needn't be detailed, and the description does well to note that testers are generated alongside the audience. However, for a 19-parameter creation tool with nested income objects and low schema coverage, the description leaves most field semantics and the approval/launch implications of generated testers unexplained.

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?

With 19 parameters and only 21% schema description coverage, the description carries the burden and largely does not meet it. It groups the audience concept into 'age, gender, geography, demographics' but adds no meaning for the many undocumented fields (roles, languages, industries, techLiteracy, isReusable, maritalStatus, employmentStatus, customDetails, languagesRequirement).

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 plus a non-obvious side effect: creating an audience synchronously generates AI testers. The clause defining an audience as targeting filters 'not recruit people' preempts the most likely misreading and separates it from read-style siblings like get_audience.

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

Usage Guidelines3/5

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

Usage is only implied — an agent can infer this is the creation entry point versus get_audience/set_test_audience, but the description never states when to prefer it or what prerequisites exist. The note that count defaults to a launch-viable minimum hints at downstream workflow, but no explicit routing guidance is given.

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