Skip to main content
Glama
google-seo-mcp
by Akxan

Mark GA4 events as key events

ga_create_key_event
Idempotent

Marks GA4 events as key conversions immediately, bypassing the UI wait for traffic; supports dry-run preview of existing and to-be-created key events.

Instructions

Mark events as key events (conversions) in a GA4 property, so they count in keyEvents metrics, conversion reports and Google Ads imports. The GA4 UI only offers a star next to events that have already appeared in the last days, so a freshly instrumented event has to wait for traffic; the API registers it at once, with the counting method chosen here. Events already marked are skipped. A standard property allows 30 key events; check ga_property_config keyEvents first. dryRun shows what exists and what would be created.

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": {
      "propertyId": "<propertyId>",
      "events": "<events>"
    },
    "name": "ga_create_key_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoList existing key events and the ones that would be created, without creating anything.
eventsYesEvents to mark as key events in this property.
propertyIdYesGA4 property ID, e.g. '123456789' (see ga_list_properties).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.14.0

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true), the description adds real context: already-marked events are skipped, the property has a 30-key-event cap, and dryRun previews without writing. It does not describe error or permission behavior, but the quota and skip semantics are the operational details an agent needs and the annotations already carry the safety profile.

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?

The effect, the UI-vs-API rationale, the skip behavior, the quota, and the dryRun option are ordered from most to least essential, and the leading sentence is the operative one. The aside about the UI only offering a star on recently seen events is arguably the least essential clause but it justifies the tool's existence, so it earns its place; the description is dense but not padded.

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?

For a write tool with no output schema, the description covers the mutation's effect, idempotent skip behavior, the property-level quota constraint, and a preview mode, which is enough to call it correctly and safely. The only gap is that it does not say what the response contains on success, which is minor since no output schema exists to define 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 100%, so the schema already documents all three parameters, and the description reinforces dryRun's preview semantics and notes that the counting method is chosen at creation time. The one addition that goes slightly beyond the schema is the framing of countingMethod as the decision point for how conversions count, which helps the agent choose between ONCE_PER_EVENT and ONCE_PER_SESSION.

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?

The description opens with a specific verb and resource: 'Mark events as key events (conversions) in a GA4 property,' and immediately explains the effect ('so they count in keyEvents metrics, conversion reports and Google Ads imports'). It also differentiates from the sibling ga_property_config by directing the agent there for quota checks, so the tool is distinguishable without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit when-to-use case (a freshly instrumented event that cannot yet be starred in the UI) versus the UI alternative, states a precondition ('check ga_property_config keyEvents first') and a hard limit (30 key events per standard property). It also tells the agent that dryRun shows what exists and what would be created, which is direct guidance on how to use the tool safely before committing.

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