Skip to main content
Glama
Google Workspace MCP connector

Google Workspace MCP connector

by animesh-ex

gtm_create_version

Saves a Google Tag Manager workspace as a new container version without publishing and returns compiler errors for invalid configurations. Use it before checking GTM Preview and publishing.

Instructions

Save the workspace as a new container version (not live yet). Returns compiler errors if the configuration is invalid. Ask the user to check GTM Preview before publishing.

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": "<workspace>",
      "name": "<name>"
    },
    "name": "gtm_create_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
notesNo
workspaceYesWorkspace path (accounts/…/containers/…/workspaces/…), or a container public ID like GTM-XXXX (uses its Default Workspace)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true), and the description adds real context on top: the version is not live, invalid configuration surfaces compiler errors, and the user should preview before publishing. What it does not state is whether a version is created at all when compilation fails, or whether repeated calls with the same name are allowed.

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?

Three short sentences, front-loaded with the action and scope, then the error behavior, then the operational recommendation. Nothing is padded and the ordering matches how an agent needs the information.

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

Completeness3/5

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

For a mutation tool with no output schema, the description covers the two things an agent most needs to know: the result is not live and invalid config returns compiler errors. It is still thin on the two undocumented parameters and on post-call state, which matters for a create operation in a versioned system.

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 coverage is only 33% – workspace is documented in the schema but name and notes are bare strings. The description adds no meaning for either: it does not say whether name must be unique among versions or what notes are surfaced as. With low coverage the description is expected to compensate, and it does not.

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?

The description states a specific verb and resource ('Save the workspace as a new container version') and immediately scopes it with '(not live yet)', which separates it from a publish operation. It stops short of naming the publish sibling explicitly, so differentiation is implied rather than stated.

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?

Usage is implied rather than declared: '(not live yet)' and 'Ask the user to check GTM Preview before publishing' sketch the create-then-publish workflow, which is genuinely useful guidance. There is no explicit when-not or named alternative (e.g. gtm_publish), so the agent must infer the choice.

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