Skip to main content
Glama

GA4: update attribution settings

ga4_update_attribution_settings
DestructiveIdempotent

Change a GA4 property's reporting attribution model or key-event lookback windows (properties/). Give only what changes: reporting_attribution_model (PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN, PAID_AND_ORGANIC_CHANNELS_LAST_CLICK or GOOGLE_PAID_CHANNELS_LAST_CLICK), acquisition_lookback_days (7 or 30, for first-visit and first-open key events), other_lookback_days (30, 60 or 90). A model change applies to past and future Analytics reports; a window change applies from the day it is made. Which channels may earn credit for conversions shared with Google Ads is not changed here. Returns the settings before and after, and the arguments that put the old values back.

Tools revision: 5c9bea8f.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
propertyYes
other_lookback_daysNo
acquisition_lookback_daysNo
reporting_attribution_modelNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, which already flag a destructive, non-read-only mutation, the description discloses that model changes apply to past and future reports, window changes apply from the day made, and Google Ads channel-credit settings are not changed here. It also states that the tool returns before/after settings and rollback arguments, giving unusually strong operational 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?

The description is dense but front-loaded: it opens with the action and scope, then enumerates parameters, then explains effects and return behavior. Every sentence carries information needed to call the tool correctly.

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?

For a destructive mutation with no schema descriptions, the description supplies valid values, temporal effects, scope exclusions, and return/rollback behavior. Although an output schema exists, the description's return summary adds useful operational context without redundancy.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the schema contains no enums, so the description must compensate. It does so by giving the property path format and enumerating valid values for reporting_attribution_model, acquisition_lookback_days, and other_lookback_days, plus explaining the meaning of each.

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 uses a specific verb and resource: changing a GA4 property's reporting attribution model or key-event lookback windows. It also names the scoped property path format, making it clearly distinguishable from the read-only sibling ga4_get_attribution_settings.

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?

It clearly instructs to 'Give only what changes' and explains the effect of model versus window changes. It does not explicitly name when to use this instead of ga4_get_attribution_settings or other GA4 update tools, so the routing guidance is clear but not fully explicit.

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