Skip to main content
Glama

Analytics: Link google ads

ga4_link_google_ads

Link a client's Google Ads account to their GA4 property so key events and audiences flow into Ads. Both must be linked to the same client here. Previews unless confirm is true. Never unlinks.

Input Schema

NameRequiredDescriptionDefault
confirmNoLeave false to preview: nothing changes and the preview shows exactly what would happen. Set true only after the user has agreed to this exact change.
customer_idYesGoogle Ads customer ID linked to the same client, e.g. 123-456-7890
property_idYesGA4 property ID linked to one of this agency's clients
ads_personalizationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / confirm / description
      Added value: +"Leave false to preview: nothing changes and the preview shows exactly what would happen. Set true only after the user has agreed to this exact change."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare the safety profile (destructiveHint=false, openWorld=true) but not the dry-run default; the description adds that the tool previews unless confirm is true and never unlinks, which is genuinely new context. It still doesn't describe rate limits, permission requirements, or what a preview response contains.

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 compact sentences: what it does, the prerequisite, then the safety/mode behavior front-loaded where the agent needs it before calling. No filler.

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 mutation-style tool with annotations covering the safety hints, the description supplies the missing prerequisite and dry-run semantics. Absent an output schema it doesn't say what the preview or success result looks like, and it omits ads_personalization entirely.

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 75% and the confirm parameter is fully documented in the schema, so the description's restatement of preview behavior is largely redundant. The ads_personalization parameter has no schema description and the tool description ignores it entirely, leaving a real 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?

States a specific verb (Link) and both resources (Google Ads account, GA4 property) plus the downstream benefit (key events and audiences flow into Ads). 'Never unlinks' implicitly separates it from an unlink operation and the read-side sibling ga4_list_google_ads_links, so an agent can place it precisely.

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 prerequisite ('Both must be linked to the same client here') and a mode condition ('Previews unless confirm is true'), which tells the agent when the call is safe versus committing. It stops short of naming the alternative tools (e.g., ga4_list_google_ads_links to check existing links) or stating when not to link.

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.