Skip to main content
Glama
rgellis

Google Tag Manager MCP Server

by rgellis

Create Container

create_container

Create a new container in a Google Tag Manager account by providing the numeric account ID and container configuration including name and usage context (web, android, ios, amp, server).

Instructions

Create a container in a Tag Manager account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
containerYesContainer resource. Requires name and usageContext, e.g. {"name": "example.com", "usageContext": ["web"]}. usageContext is one of web, android, ios, amp or server.
account_idYesNumeric Tag Manager account ID.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing behavior. It only says 'Create a container,' which implies a write operation but doesn't mention permissions, idempotency, side effects, or response behavior. This is insufficient for a mutation tool.

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 description is a single sentence, which is concise, but it omits critical context. It is not overly verbose, but it is too brief to be useful beyond stating the obvious.

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?

There is an output schema, so return values are covered, but the description fails to explain when to create a container, what prerequisites exist, or how it differs from other creation tools. This leaves gaps for an agent deciding whether to invoke it.

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 documents both parameters with good descriptions, including the container object's structure and allowed usageContext values. The description adds no additional parameter semantics, so a baseline of 3 is appropriate given 100% schema coverage.

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 clearly states the action 'Create', the resource 'container', and the scope 'in a Tag Manager account'. It names a specific resource that distinguishes it from sibling create_* tools, though it does not explicitly contrast with them.

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 tool versus alternatives like create_tag or create_workspace, nor any prerequisites such as having an account. The description simply states the action without context.

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