Skip to main content
Glama

Gtm create version

gtm.create_version

Create a guarded Google Tag Manager container version by freezing a workspace, ensuring changes are captured before publishing.

Instructions

Freeze a workspace into a new container version (guarded).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspace_path": "<workspace_path>",
      "name": "<name>"
    },
    "name": "gtm.create_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
confirmNo
workspace_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true. The word 'guarded' adds a little context about a confirmation gate that annotations do not cover, but it does not explain what the guard does, what permissions are needed, or that repeated calls create duplicate versions since the operation is non-idempotent.

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 short sentence with the action front-loaded and no filler. It is efficient, though 'freeze' and 'guarded' are unexpanded jargon that cost some precision.

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?

This is a mutating, non-idempotent, open-world operation with three parameters at 0% schema coverage and an existing output schema (so return values need not be described). Given that, the description should explain the confirmation guard and the resulting version state (draft vs published), and it does neither.

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%, so the description must carry parameter meaning and largely fails. 'workspace_path' and 'name' are guessable from their identifiers, but the 'confirm' parameter (nullable string, default null) is completely opaque, and '(guarded)' only vaguely gestures at it without explaining expected format or trigger conditions.

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 concrete verb and resource: 'Freeze a workspace into a new container version'. An agent can tell it creates a version snapshot rather than publishing or editing tags. It does not explicitly distinguish itself from the sibling gtm.publish_version, so it stops 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 Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative (e.g. gtm.publish_version, gtm.list_versions). The only hint is the parenthetical '(guarded)', which implies a confirmation precondition but never states it.

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