Skip to main content
Glama
AlexStansfield

gtm-mcp-server

Update GTM Tag

gtm_update_tag
DestructiveIdempotent

Update an existing Google Tag Manager tag by modifying its name, paused status, parameters, or firing/blocking triggers. Provide only the fields to change; arrays replace existing values.

Instructions

Update an existing tag in a workspace. Only the provided fields are changed; provided array fields (parameters, trigger IDs) replace the existing arrays wholesale.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew name for the tag
pausedNoWhether to pause the tag
tag_idYesThe GTM tag ID to update
account_idYesThe GTM account ID
parametersNoNew parameters array (replaces all existing parameters)
container_idYesThe GTM container ID
workspace_idYesThe GTM workspace ID
firing_trigger_idsNoNew firing trigger IDs (replaces existing)
blocking_trigger_idsNoNew blocking trigger IDs (replaces existing)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false, destructiveHint=true, and idempotentHint=true. The description adds valuable behavior beyond the annotations by explaining that only provided fields are changed and that provided array fields replace existing arrays wholesale, which is important update semantics for the agent to know.

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 a single, front-loaded sentence that states the core action first and then the key behavioral caveat. Every word earns its place; there is no redundancy or 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?

Given the 9-parameter schema, full schema coverage, and the presence of safety annotations, the description covers the most critical behavioral nuance. It does not explain return values, but no output schema is defined and the schema/annotations already handle most operational context.

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?

Schema coverage is 100%, so the baseline is 3. The description adds extra meaning by clarifying the partial-update contract: omitted fields remain unchanged and array fields are replaced rather than merged. This is a meaningful addition beyond the individual parameter descriptions in the schema.

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 states 'Update an existing tag in a workspace' with a specific verb and resource, clearly distinguishing this mutation tool from sibling create/delete/get/list tag tools. The phrase 'existing tag' also clarifies that this is not for creation.

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?

The description clearly implies this tool is for modifying an already existing tag, providing context for when it should be used. It does not explicitly name alternatives or exclusion cases, but the sibling tool names and 'existing tag' wording give adequate contextual guidance.

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