Skip to main content
Glama
rgellis

Google Tag Manager MCP Server

by rgellis

Update Container

update_container

Update a Google Tag Manager container's settings by providing new field values such as name or notes. Include a fingerprint to prevent overwriting concurrent changes.

Instructions

Update a container's settings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
containerYesContainer resource with the fields to change, e.g. {"name": "example.com (web)", "notes": "Owned by marketing"}.
account_idYesNumeric Tag Manager account ID.
fingerprintNoFingerprint from a previous read. When given, the update fails if the container changed in the meantime.
container_idYesNumeric container ID.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It indicates mutation but does not describe the optimistic concurrency behavior of the fingerprint parameter, whether the update is partial or full replacement, or any failure conditions beyond the schema.

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?

The description is a single, front-loaded sentence with no filler words. It is concise, though its brevity sacrifices useful detail about the container settings.

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 mutation tool with no annotations, four parameters, and a nested container object, the description is materially incomplete. It does not explain what 'settings' includes, how the fingerprint concurrency check works, or when the update would fail.

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?

Schema description coverage is 100%, so the input schema already documents all parameters. The description adds no extra parameter meaning, but the baseline of 3 applies because the schema does the heavy lifting.

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 uses a clear verb and resource: 'Update a container's settings.' It is unambiguous that this tool modifies an existing container, distinguishing it from create_container, get_container, and delete_container, though it does not specify which settings can be changed.

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, no mention of prerequisites such as account_id or fingerprint, and no exclusion criteria. The intended use is only implied by the tool name and generic description.

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