Skip to main content
Glama

Google Ads & Meta Ads

Tag Manager: Get Workspace Status

gtm_get_workspace_status
Read-onlyIdempotent

Show the unpublished changes in one Google Tag Manager container: for each workspace, which tags, triggers, variables and other entities were added, changed or deleted since the live version, and whether it has merge conflicts. Use it to tell whether a fix is live yet or sits unpublished, and whether someone left work half done. Reads workspaces.list plus one status per workspace (max_workspaces, default 3). Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gtm_get_workspace_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
containerNoThe container: its public id (GTM-XXXXXXX), its name, or its API path from gtm_list_containers. May be left out when the connected login reaches exactly one container.
max_workspacesNoWorkspaces to read the status of, in the order Tag Manager lists them. Default 3, at most 10; each costs one API request.

Output Schema

NameRequiredDescriptionDefault
publicIdNoPublic GTM-XXXXXXX id.
workspacesYesOne entry per workspace read.
containerNameYesContainer name.
containerPathYesAPI path of the container.
workspaceCountYesWorkspaces the container has.
workspacesReadYesWorkspaces whose status was read.
unpublishedChangeCountYesChanges across the workspaces read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so 'Read-only' at the end is redundant restatement. The genuinely additive detail is the request-cost model ('workspaces.list plus one status per workspace', each costing one API request), which tells the agent this call is fan-out and non-trivial in latency/quota — but nothing is said about failure modes or what happens when a workspace status call errors.

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?

Front-loaded with what it returns, then why you'd call it, then the mechanics — a sensible order. The first sentence is dense and multi-clause, and the trailing 'Read-only.' duplicates the annotation, but overall little waste.

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?

An output schema exists, so return values needn't be explained, and the description covers scope, cost, and read semantics for a 2-parameter read tool. Minor gaps remain around behavior when the container argument is omitted for multi-container logins and around partial failures.

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 coverage is 100%, so both parameters are already documented, including the default-3/max-10 cap and per-request cost. The description repeats the default and cost without adding syntax or selection guidance beyond the schema (e.g. how to choose a higher max_workspaces). Baseline 3 applies.

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?

States a specific verb and resource ('Show the unpublished changes in one Google Tag Manager container') and enumerates the entity types covered plus merge-conflict reporting. It implicitly distinguishes itself from gtm_list_workspaces by noting it reads workspaces.list plus a status call, but never names that sibling or any other to contrast against.

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?

Gives concrete decision contexts: 'tell whether a fix is live yet or sits unpublished, and whether someone left work half done.' That is real when-to-use guidance, but there are no explicit exclusions or named alternatives (e.g. when to prefer gtm_list_versions or gtm_get_container instead).

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.

Resources