Skip to main content
Glama

Ga4 admin create audience

ga4.admin.create_audience

Creates a Google Analytics 4 audience on a specified property using defined filter clauses, with a confirmation step to guard the write action.

Instructions

Create an audience with filter clauses on a property (guarded).

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": {
      "property_id": "<property_id>",
      "display_name": "<display_name>",
      "filter_clauses": "<filter_clauses>"
    },
    "name": "ga4.admin.create_audience"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
property_idYes
display_nameYes
filter_clausesYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false, openWorld=true, so the description's marginal contribution is the word '(guarded)'. That word is unexplained: it doesn't say what permission is required, what the guard does, whether re-invocation creates a duplicate audience, or what value the confirm parameter needs. For a non-idempotent mutation, that is a real gap.

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

Conciseness3/5

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

One short, front-loaded sentence with no filler, so nothing is wasted. However, brevity here comes at the cost of under-specification; the parenthetical '(guarded)' is a compressed hint rather than a usable instruction.

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?

An output schema exists, so return values need not be described. But for a 4-parameter, non-idempotent, open-world mutation with zero schema documentation and a guard parameter, the description is far too thin for an agent to invoke it correctly on the first try.

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 0%, so the description must compensate and it does not. It alludes to property_id and filter_clauses obliquely but never documents the shape of a filter clause, the purpose of display_name, or the meaning and expected values of the nullable 'confirm' parameter.

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 description states a specific verb and resource ('Create an audience') and scopes it to a property with filter clauses. It is clear what the tool produces, though it does not differentiate itself from any GA4 admin sibling (none of which create audiences), so the differentiation credit is limited.

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?

There is no explicit when-to-use or when-not-to-use guidance and no alternatives named. The parenthetical '(guarded)' hints that some prerequisite exists but never says what it is, leaving the agent to guess whether a confirm flow must be followed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools