Skip to main content
Glama

Google Ads & Meta Ads

Google Analytics: Unmark Key Event

ga4_unmark_key_event
DestructiveIdempotent

Stop counting one event as a key event in a GA4 property of the user's connected Google Analytics login. The event is still collected and past key-event data stays; Google Ads conversions imported from it stop receiving new data. An event that is not a key event is a no-op; one Google marks non-deletable is refused. dry_run previews. Run only after the user approved removing this specific key event.

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>",
      "key_event": "<key_event>"
    },
    "name": "ga4_unmark_key_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNotrue: read the current configuration and report the field-level changes this call would make, changing nothing. Default false. Show the user the proposal and get their approval before calling without dry_run.
key_eventYesThe key event: its event name or key event id.
property_idYesThe GA4 property: its number (123456789) or properties/123456789. Must be one of the properties ga4_get_account_summaries lists for the connected login.

Output Schema

NameRequiredDescriptionDefault
afterNoThe resource after the call (Google's read-back), or the proposal on a dry run.
beforeNoThe resource before the call; null when it did not exist.
dryRunYesTrue when the call only previewed the change.
changedYesTrue only when this call changed Google Analytics.
changesYesField-level changes: made, or proposed on a dry run.
propertyYesproperties/<number>.
resourceNoResource name the change targets, when it exists.
verifiedNoWhether Google's read-back holds every requested value; null when nothing was written.
operationYesWhat happened: the change made, no_change, or dry_run.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: data is still collected, historical key-event data is retained, Google Ads conversion imports stop receiving new data, non-key events are a no-op, and Google-protected events are refused. This reconciles with destructiveHint=true and idempotentHint=true rather than contradicting them, and it tells the agent what is and is not destroyed.

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?

Four short sentences, each carrying distinct information: effect, data-retention behavior, edge cases, dry_run, and the approval gate. The primary effect is front-loaded and nothing is redundant.

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

Completeness5/5

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

Covers the mutation's side effects, its no-op and refusal cases, and the safe-preview workflow. With annotations and an output schema already present, no additional context is needed for an agent to call this correctly.

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 coverage is 100%, so the schema already explains property_id, key_event, and dry_run in detail. The description only restates 'dry_run previews' and adds the approval workflow, which is marginal value on top of structured data. Baseline 3 is appropriate.

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?

States a specific verb and resource: 'Stop counting one event as a key event in a GA4 property'. The verb 'unmark' contrasts unmistakably with the sibling ga4_mark_key_event, and the scope ('the user's connected Google Analytics login') tells an agent exactly which property space it operates in.

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

Usage Guidelines4/5

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

Gives a clear precondition ('Run only after the user approved removing this specific key event') and explains the dry_run path, which is strong when-to-use guidance. It does not explicitly route the agent away from ga4_update_key_event or ga4_mark_key_event, so the comparison case is left implicit.

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