Skip to main content
Glama
kLOsk

Google Ads - AdLoop

by kLOsk

Draft an Analytics key event

draft_key_event

Draft a change to mark a GA4 event as a key event, specifying the counting method, and return a preview plan for confirmation before applying.

Instructions

Draft marking a GA4 event as a key event (conversion) — returns a PREVIEW.

The fix for "the event fires but isn't tracked as a conversion": attribution_check / validate_tracking diagnose it, this closes the loop. counting_method: ONCE_PER_EVENT (purchases) or ONCE_PER_SESSION (sign-ups). Call confirm_and_apply with the returned plan_id to execute. Applies to future data only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
event_nameYes
property_idNo
counting_methodNoONCE_PER_EVENT

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.2
  2. Removedv0.13.0
  3. Addedv0.12.0

TDQS

A4.3/5.0
Behavior5/5

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

Explicitly states it returns a PREVIEW and requires confirm_and_apply to execute, so it does not directly modify state. Also notes 'Applies to future data only', which sets expectations. This aligns with annotations (readOnlyHint false, destructiveHint false) and adds useful detail.

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 description is reasonably concise but has some redundancy (e.g., the repeated 'the fix for' phrasing and quotes). It is structured in short lines, but could be tightened without losing information.

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?

Provides enough context for drafting: mentions preview, plan_id for confirmation, and future-data scope. The output schema is not described but its existence is indicated, so a user can infer that confirm_and_apply will require the returned plan_id. Slight gap on property_id semantics.

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?

While event_name is obvious and counting_method is explained with examples, property_id is not described in the text. Since the schema has no descriptions (coverage 0%), the description should compensate but fails to explain what property_id represents or when to override its default.

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 clearly states the tool drafts a GA4 key event and returns a preview, distinguishing it from execution tools like confirm_and_apply. It also specifies the diagnostic context (fixing untracked conversions) which clarifies its role.

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?

Provides when-to-use guidance by referencing attribution_check and validate_tracking as diagnostics that precede this action. It also mentions counting_method examples but does not explicitly list when not to use it or alternative tools beyond the implicit context.

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