Skip to main content
Glama
rgellis

Google Tag Manager MCP Server

by rgellis

Update Gtag Config

update_gtag_config

Update a Google tag configuration by replacing the stored config with your edited full resource. Read current config first, apply changes, and send it back to avoid overwriting.

Instructions

Update a Google tag configuration.

The config you send replaces the stored one, so read it with get_gtag_config first and send the whole thing back with your edits applied.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYesNumeric Tag Manager account ID.
fingerprintNoFingerprint from a previous read. When given, the update fails if the config changed in the meantime.
gtag_configYesComplete GtagConfig resource.
container_idYesNumeric container ID.
workspace_idYesNumeric workspace ID.
gtag_config_idYesNumeric Google tag config ID.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It clearly discloses the full-replacement behavior and instructs read-before-write, which are key behavioral traits beyond the name. It does not cover permissions or reversibility, but the replacement semantics are the most critical operational detail and are well stated.

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?

Two sentences with no filler. The core operation is front-loaded, and the crucial replace-and-read-first warning is placed immediately after. 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?

For a 6-parameter mutation tool with a full schema and output schema, the description covers the essential behavior and workflow. Missing details like auth requirements or permission prerequisites are not stated, but the critical replace semantics and reading the current config are sufficient for correct invocation in most cases.

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

Parameters4/5

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

The schema already documents all parameters (100% coverage), so baseline is 3. The description adds meaning by explaining how gtag_config should be used: fetch the full resource first and send it back with edits. This goes beyond the schema's 'Complete GtagConfig resource' label.

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 clear action ('Update a Google tag configuration') with a specific resource. The second sentence clarifies that the update replaces the stored config, separating it from create or partial-update operations and reinforcing the operation's meaning.

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 explicit guidance to read with get_gtag_config first and send the entire config back with edits. This gives the agent a clear precondition and workflow, though it does not explicitly contrast with create_gtag_config or delete_gtag_config.

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