Skip to main content
Glama

Gtm.Create Tag

gtm.create_tag

Create a tag in a Google Tag Manager workspace using a validate-only preview and confirm token to guard write operations.

Instructions

Create a tag in a workspace (guarded: validate_only preview + confirm token).

Input Schema

NameRequiredDescriptionDefault
confirmNo
tag_nameYes
tag_typeYes
parametersNo
workspace_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose one genuinely non-obvious trait: the guarded preview/confirm-token handshake. It does not say what happens when confirm is null, whether creation is reversible, what permissions are required, or what error surfaces on a stale token.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the safety mechanism attached as a parenthetical — no waste. It is arguably too compressed for a 5-parameter mutation tool, but nothing is padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, but for a mutation tool with no annotations and 0% parameter documentation the description leaves the agent guessing about the confirm-token contract and the tag parameters payload. It is not sufficient to call the tool correctly on the first try.

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

Parameters2/5

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

Schema description coverage is 0% across 5 parameters, so the description must compensate and largely does not. It gestures at workspace_path, tag_name, and confirm, but says nothing about the 'parameters' array (the tag's actual configuration payload) or accepted tag_type values.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (create a tag) plus the scoping container (in a workspace), which separates it from gtm.list_tags and gtm.update_tag. It does not explicitly name a sibling or state what distinguishes creation from update, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The parenthetical '(guarded: validate_only preview + confirm token)' implies a two-step call pattern — preview first, then re-invoke with a confirm token — but never states it as guidance. There is no explicit 'use this instead of gtm.update_tag when...' routing, so usage is only implied.

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