Skip to main content
Glama

search_simulation_campaign_audiences

Read-onlyIdempotent

Search authorized standard and dynamic audience groups and return group IDs, names, types and active employee counts. Available to the assistant and campaign widget; this read does not open a component, select recipients or create a campaign. Results include page.next_cursor and page.has_more; an empty page can still have more matches. STANDARD and DYNAMIC identify distinct group types. Employee counts describe group size, not risk rankings. Optional selection returns the exact deduplicated eligible employee count.

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": {
      "organization_id": "<organization_id>"
    },
    "name": "search_simulation_campaign_audiences"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoALL
limitNo
queryNo
setupNoKnown campaign settings from the conversation. Supply every already agreed field, including partial schedule details and scenario filters. Omit unknown fields. Collect missing simple settings before opening. The widget completes selection, review and launch directly without conversation handoffs.
cursorNo
placementNoSTANDALONE
selectionNo
selected_onlyNo
organization_idYes

Output Schema

NameRequiredDescriptionDefault
pageYes
groupsYes
widgetYes
contextYes
request_idYes
selected_groupsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive; the description still adds non-obvious value: pagination semantics ('an empty page can still have more matches'), the distinction between STANDARD and DYNAMIC group types, the warning that employee counts are size not risk ranking, and deduplication behavior for selection. It reinforces the read-only guarantee slightly redundantly but is not contradictory.

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?

Five short sentences, front-loaded with the core action and return shape, then scope, then edge-case caveats. Each sentence contributes a distinct fact; nothing is padding.

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?

Output schema covers return values and the nested setup object has its own description, so the description needn't restate those. Still, for a 9-parameter tool with nested objects and 11% schema coverage, the unexplained placement and selected_only modes leave an agent guessing on non-trivial invocation details.

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 only 11% across 9 parameters, so the description must carry meaning. It explains 'selection' (exact deduplicated eligible count), pagination via next_cursor/has_more, and the type enum values, but leaves placement, selected_only, limit, cursor, and organization_id entirely unaddressed.

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?

Opens with a specific verb and resource ('Search authorized standard and dynamic audience groups') and enumerates what is returned: group IDs, names, types, and active employee counts. It adds a negative scope (does not open a component, select recipients, or create a campaign) that separates it from the configure/launch siblings, though no sibling is named explicitly.

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?

States who may call it ('the assistant and campaign widget') and clarifies it is a lookup step that does not select or launch, which implies when to use it. However, it never states when to prefer this over search_employees, search_simulation_campaign_scenarios, or when to move on to configure_simulation_campaign, leaving routing to inference.

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