Skip to main content
Glama
mcp-google-analytics

mcp-google-analytics

Create GA4 property

ga_create_property

Creates a Google Analytics 4 property and, when a website URL is provided, its web data stream, returning the measurement ID for tracking setup.

Instructions

Creates a GA4 property and, if websiteUrl is given, its web data stream (returns the measurement ID).

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": {
      "displayName": "<displayName>",
      "timeZone": "<timeZone>",
      "currencyCode": "<currencyCode>"
    },
    "name": "ga_create_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeZoneYesIANA time zone, e.g. America/Lima.
accountIdNoGA account ID (numeric). Defaults to GA_MCP_DEFAULT_ACCOUNT_ID.
websiteUrlNo
displayNameYes
currencyCodeYesISO 4217 code, e.g. USD.
industryCategoryNoe.g. TECHNOLOGY, SHOPPING, TRAVEL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden for this mutation tool. It usefully discloses an optional side effect (stream creation) and the return value (measurement ID), which is valuable because no output schema exists, but it does not disclose the need for permissions or that the operation is irreversible.

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?

A single compact sentence with the main action front-loaded and the conditional behavior following immediately. No wasted words.

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?

For a mutation tool with no annotations and no output schema, the description covers the action, the optional side effect, and the return value. It still omits the requirements and consequences of the operation (permissions, irreversibility, and what happens when accountId is omitted) that an agent would need before invoking it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, and the description adds key meaning for websiteUrl beyond what the schema states: this parameter triggers creation of an associated web stream and yields a measurement ID. The remaining parameters, such as displayName and industryCategory, get no extra explanation, but the schema partially covers them.

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 definition states a specific verb and resource ("Creates a GA4 property") and adds the conditional creation of a web data stream, which implicitly separates this tool from the sibling ga_create_web_stream. It stops short of naming that sibling explicitly, so it is clear but not maximally distinguishing.

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?

The tool specifies the condition for the web stream branch ("if websiteUrl is given"), which is equivalent to real when-to-use guidance for that optional behavior. It does not say when to prefer this tool over ga_create_web_stream plus a direct call, nor does it mention prerequisites such as an available accountId.

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