Skip to main content
Glama

Opus Growth, Ad Platforms MCP Connector

Publish GTM Container

publish_gtm_container
Destructive

PUBLISHES the workspace's staged changes LIVE: creates a container version from the workspace, then publishes it. This is what makes new/edited tags actually run on the site. SAFETY: confirm=false → preview (nothing goes live); confirm=true → create version + publish. workspace = a list_gtm_workspaces path (empty → Default Workspace of the resolved container). container = 'GTM-XXXX'/name if workspace is empty.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNo
confirmNo
containerNo
workspaceNo
version_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Added
  8. Removed
  9. Added
  10. Removed
  11. Added
  12. Removed
  13. Added
  14. Removed
  15. Added
  16. Removed
  17. Added
  18. Removed
  19. Added
  20. Removed
  21. Added
  22. Removed
  23. Added
  24. Removed
  25. Added
  26. Removed
  27. Added
  28. Removed
  29. Added
  30. Removed
  31. Added
  32. Removed
  33. Added
  34. Removed
  35. Added
  36. Removed
  37. Added
  38. Removed
  39. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already mark this as destructive and non-idempotent, but the description adds critical behavioral detail: confirm=false performs only a preview with nothing going live, while confirm=true creates a container version and publishes it. It also explains how workspace and container resolution work, which goes beyond the annotation set.

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 text is front-loaded with the core verb and consequence, then uses compact labeled clauses for safety and parameter resolution. Every sentence earns its place with no filler.

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?

Output schema exists, so return values need no explanation, and the description covers safety, workspace/container resolution, and the publish workflow. It is nearly complete, missing only the meaning of the notes and version_name parameters.

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 0%, so the description must carry parameter meaning. It explains confirm, workspace, and container semantics clearly, but leaves notes and version_name undocumented, so it only partially compensates for the schema gap.

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?

States a specific verb and resource (publishes the GTM container/workspace) plus the operational consequence that new/edited tags will actually run on the site. This clearly distinguishes it from sibling tools like create_gtm_tag, create_gtm_workspace, and rollback_gtm_version.

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?

Explains when to use it (to push staged workspace changes live) and gives the key safety branch: confirm=false for preview, confirm=true to create and publish. It also references list_gtm_workspaces for the workspace path, but does not name when-not-to-use or direct alternatives like rollback_gtm_version.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.