Skip to main content
Glama
kLOsk

Google Ads - AdLoop

by kLOsk

draft_key_event

Draft a GA4 event as a key event (conversion) to resolve events not being tracked. Returns a preview for review 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

Behavior4/5

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

Description discloses that it returns a preview (not final), requires calling confirm_and_apply with plan_id to execute, and applies only to future data. Annotations have readOnlyHint=false and destructiveHint=false, so no contradiction, but description adds critical workflow context.

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?

Three sentences with no fluff. Front-loads purpose, then usage, then next steps. Every sentence earns its place.

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?

Given the tool returns a preview and has an output schema, the description explains the workflow (draft then confirm_and_apply). It covers the lifecycle and data effect (future only). Sufficient for an agent to use 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 0%, so description must explain parameters. It explains counting_method with examples (ONCE_PER_EVENT for purchases, ONCE_PER_SESSION for sign-ups). Event_name is implied by context, property_id is not explained. Partially compensates for schema gap.

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 event as a key event (conversion) and returns a preview. It distinguishes from siblings like attribution_check and validate_tracking by saying it 'closes the loop'.

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 context for when to use: after diagnosis by attribution_check/validate_tracking. Gives examples for counting_method choices (purchases vs sign-ups). Implicitly says not to use before diagnosis.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kLOsk/adloop'

If you have feedback or need assistance with the MCP directory API, please join our Discord server