Skip to main content
Glama

Gtm publish version

gtm.publish_version
DestructiveIdempotent

Publishes a Google Tag Manager container version with a confirmation guard, helping prevent accidental releases during controlled deployments.

Instructions

Publish a 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": {
      "version_path": "<version_path>"
    },
    "name": "gtm.publish_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
version_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the risk profile is known. The description's only added signal is the word "guarded", which hints at a confirmation gate but never states what it is, what triggers it, or what happens when the guard is not satisfied — leaving the most consequential behavior unexplained.

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

Conciseness3/5

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

The single six-word phrase is certainly concise and front-loaded, but it omits so much that the brevity reads as under-specification rather than efficiency. It is short without being informative.

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?

For a destructive, open-world publish operation with two undocumented parameters, the description leaves an agent without the prerequisite knowledge to invoke it safely. The existence of an output schema excuses it from describing return values, but the confirmation and path semantics still need coverage.

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

Parameters1/5

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

Schema description coverage is 0% and the description mentions neither parameter. In particular the optional "confirm" field, which is presumably central to the "guarded" behavior, is never explained, and "version_path" format is not described anywhere.

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?

"Publish a container version" is a specific verb plus resource that an agent can distinguish from the sibling gtm.create_version and gtm.list_versions without opening the schema. The parenthetical "(guarded)" is opaque, but the core action is unambiguous.

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 guidance on when to use this instead of gtm.create_version, no stated prerequisite that a version must already exist, and no explanation of what "guarded" means in practice. The agent must infer the workflow entirely from the tool name.

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