Skip to main content
Glama

Get Audience

get_audience
Read-onlyIdempotent

Read audience targeting and demographic breakdowns computed over the actual participants in this test. Use get_tester for one participant. Use IDs from list_test_blocks to target a block/run; omission uses the documented defaults. Legacy tests also supported.

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": {
      "testId": "<testId>"
    },
    "name": "get_audience"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdNo
testIdYes
blockIdNoSelect one block from list_test_blocks. Omit to infer a sole relevant block; list_insights defaults to all AI blocks. Omit for legacy tests.

Output Schema

NameRequiredDescriptionDefault
ageNo
dataNo
retryNo
runIdNo
scopeNo
genderNo
statusNo
testIdNo
blockIdNo
messageNo
testersNo
nextStepNo
breakdownsNo
configuredNo
testerCountNo
testersTruncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed87 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / age / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / breakdowns / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / breakdowns / properties / countryCode / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / breakdowns / properties / countryCode / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / breakdowns / properties / countryCode / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / breakdowns / properties / educationLevel / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / breakdowns / properties / educationLevel / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / breakdowns / properties / educationLevel / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / breakdowns / properties / employmentStatus / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / breakdowns / properties / employmentStatus / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / breakdowns / properties / employmentStatus / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / breakdowns / properties / industry / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / breakdowns / properties / industry / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / breakdowns / properties / industry / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / breakdowns / properties / language / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / breakdowns / properties / language / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / breakdowns / properties / language / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / breakdowns / properties / maritalStatus / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / breakdowns / properties / maritalStatus / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / breakdowns / properties / maritalStatus / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / breakdowns / properties / nationalityCode / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / breakdowns / properties / nationalityCode / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / breakdowns / properties / nationalityCode / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / breakdowns / properties / role / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / breakdowns / properties / role / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / breakdowns / properties / role / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / breakdowns / properties / techLiteracy / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / breakdowns / properties / techLiteracy / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / breakdowns / properties / techLiteracy / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / configured / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / configured / properties / targetAgeRange / additionalItems
      Added value: +false
    • changedOutput schema / properties / data / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / data / properties / age / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / data / properties / breakdowns / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / data / properties / breakdowns / properties / countryCode / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / breakdowns / properties / countryCode / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / breakdowns / properties / countryCode / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / properties / breakdowns / properties / educationLevel / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / breakdowns / properties / educationLevel / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / breakdowns / properties / educationLevel / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / properties / breakdowns / properties / employmentStatus / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / breakdowns / properties / employmentStatus / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / breakdowns / properties / employmentStatus / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / properties / breakdowns / properties / industry / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / breakdowns / properties / industry / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / breakdowns / properties / industry / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / properties / breakdowns / properties / language / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / breakdowns / properties / language / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / breakdowns / properties / language / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / properties / breakdowns / properties / maritalStatus / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / breakdowns / properties / maritalStatus / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / breakdowns / properties / maritalStatus / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / properties / breakdowns / properties / nationalityCode / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / breakdowns / properties / nationalityCode / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / breakdowns / properties / nationalityCode / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / properties / breakdowns / properties / role / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / breakdowns / properties / role / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / breakdowns / properties / role / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / properties / breakdowns / properties / techLiteracy / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / breakdowns / properties / techLiteracy / items / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / breakdowns / properties / techLiteracy / items / properties / count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / properties / configured / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / configured / properties / targetAgeRange / additionalItems
      Added value: +false
    • changedOutput schema / properties / data / properties / gender / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / gender / properties / female / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / gender / properties / female / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / data / properties / gender / properties / male / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / gender / properties / male / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / data / properties / gender / properties / unknown / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / gender / properties / unknown / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / data / properties / testerCount / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / testerCount / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / properties / testers / items / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / gender / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / gender / properties / female / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / gender / properties / female / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / gender / properties / male / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / gender / properties / male / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / gender / properties / unknown / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / gender / properties / unknown / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / nextStep / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / nextStep / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / retry / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / testerCount / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / testerCount / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / testers / items / additionalProperties
      Previous value: -trueNew value: +{}
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely useful context beyond that: the data is computed over actual participants, targeting is via block/run IDs, and legacy tests are handled differently.

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?

Four short sentences, front-loaded with the core purpose before the sibling routing and parameter hints. The phrase "omission uses the documented defaults" is slightly vague and refers to documentation not present in the definition, but overall there is little waste.

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?

An output schema exists so return values need not be explained, and annotations cover the safety profile; the description fills in the targeting model and legacy-test caveat. The remaining gap is that testId and the exact meaning of the fallback defaults are not elaborated.

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?

With only 33% schema description coverage, the description carries more burden, and it does explain that blockId/runId come from list_test_blocks and that omission uses defaults or is required for legacy tests. However, it says nothing about the required testId beyond the schema and leans on "documented defaults" that the agent cannot see here.

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 ("Read") plus the exact resource ("audience targeting and demographic breakdowns") and scopes it to "actual participants in this test." It also differentiates itself from get_tester by noting that tool is for a single participant, so an agent can choose between them without opening a schema.

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?

Names two concrete alternatives and the condition that selects each: get_tester for one participant, list_test_blocks as the source of block/run IDs. It also states that omitting IDs falls back to defaults and that legacy tests are supported, though it gives no explicit "when not to use this" exclusion.

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