Skip to main content
Glama
A1-x-Tech

Google Tag Manager MCP

Create a workspace

create_workspace

Create a new isolated workspace to edit tags, triggers, and variables before compiling into a version. Provide account_id, container_id, and name to receive the new workspace ID.

Instructions

Creates a new workspace in a container — an isolated draft where tags, triggers and variables are edited before being compiled into a version. Returns the created Workspace with its server-assigned workspaceId. Requires the tagmanager.edit.containers scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDisplay name of the new workspace.
account_idYesGTM account id (string).
descriptionNoOptional description of what this workspace changes.
container_idYesContainer id (string).
Behavior4/5

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

The description adds valuable behavioral context beyond the annotations by specifying the required OAuth scope (tagmanager.edit.containers) and the return value (the created workspace with its server-assigned workspaceId). It also frames the operation as non-destructive by describing the workspace as an isolated draft. No contradiction with annotations.

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 concise and well-structured, with three sentences that front-load the main action and provide essential context without unnecessary verbosity. Every sentence earns its place.

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?

For a create tool with no output schema, the description covers the key aspects: purpose, workspace definition, return value, and auth requirement. While the openWorldHint is not elaborated, the description is still complete enough for a straightforward creation operation.

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

Parameters3/5

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

The schema already provides descriptions for all 4 parameters, achieving 100% coverage. The description does not add parameter-level details beyond what the schema states, so a baseline score of 3 is appropriate.

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 clearly states that the tool creates a new workspace in a container, and further explains that a workspace is an isolated draft where edits occur before compilation into a version. This specific verb+resource combination distinguishes it from sibling tools like create_version or get_workspace.

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 provides clear context by explaining that workspaces are used for editing tags, triggers, and variables before compiling into a version, implying when to use this tool. However, it does not explicitly name alternatives or specify conditions where this tool should not be used.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/A1-x-Tech/mcp-google-tagmanager'

If you have feedback or need assistance with the MCP directory API, please join our Discord server