Skip to main content
Glama

UXON AI

audiences_create

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Create a custom visitor audience using the current supported targeting rules.

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": {
      "siteId": "<siteId>",
      "name": "<name>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "audiences_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
rulesNoSaved audience rules. Match all/any conditions across channel, event_name, UTMs, device, visitor_type, country, region, hostname, browser_language, viewport, query_parameter, url, or referrer. Event-triggered conditions can include eventLookbackDays: 7, 14, 30, or 90.
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
descriptionNo
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
auditIdNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered structurally. The description adds nothing behavioral beyond that — no mention of what happens on a duplicate name, whether the audience is immediately active, or whether rules are validated at creation time.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Half of the description is a cross-tool preamble about reading agent.instructions.get, which is not about this tool and pushes the actual purpose into the second sentence. The remaining sentence is tight, but the off-topic boilerplate dilutes an already short definition.

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

Completeness2/5

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

The tool is a mutation with an output schema and good annotations, but 50% schema coverage and no usage routing leave real gaps for an agent deciding between create, duplicate, and update. Nothing in the description addresses failure modes or rule-validation expectations.

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 only 50%, so the description needs to compensate and instead says only "using the current supported targeting rules," which adds no syntax, format, or constraint detail for the rules object. The required siteId, name, and idempotencyKey get no explanation in the description at all.

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?

The second sentence gives a specific verb and resource: "Create a custom visitor audience using the current supported targeting rules." That distinguishes it from read-oriented siblings like audiences_list and audiences_get, but it never explicitly contrasts with audiences_duplicate or audiences_update, so sibling differentiation is only partial.

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?

No guidance on when to create a new audience versus duplicating or updating an existing one, and no prerequisites such as needing a siteId from a site listing call or an organization from organizations_list. The only directive is an unrelated preamble about reading agent instructions.

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