Skip to main content
Glama
Google Workspace MCP connector

Google Workspace MCP connector

by animesh-ex

gtm_list_versions

Read-only

List a Google Tag Manager container's versions in reverse chronological order to review change history or identify the version to roll back to.

Instructions

List a container's versions (newest first) to see history or find the version to roll back to.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "container": "<container>"
    },
    "name": "gtm_list_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
containerYesGTM-XXXX or container path

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and reach are covered without prose. The description's only added behavioral fact is the newest-first ordering; it says nothing about pagination, result limits, or whether all historical versions are returned, which matters for a list tool on a large container.

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?

One front-loaded sentence with the verb, scope, ordering, and purpose packed in, with no filler. It uses the parenthetical ordering note efficiently rather than burying it in a second clause.

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 one-parameter read-only listing tool with annotations covering the safety profile and no output schema, the description is close to sufficient. The remaining gap is what a listing entry contains and whether results are truncated, which an agent may need before paginating.

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% and the single container parameter is documented in-schema as "GTM-XXXX or container path", so the schema carries the burden. The description adds no format rules, defaults, or validation hints beyond that, leaving this at the baseline for a fully documented single parameter.

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 ("List a container's versions") plus the return ordering (newest first), so the agent knows exactly what comes back. It stops short of naming a sibling such as gtm_create_version or gtm_get_container to sharpen the split, but the read-only listing intent is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Supplies two concrete use cases ("see history" and "find the version to roll back to"), which gives real context for when to call it. It offers no when-not guidance and does not point at any alternative tool for publishing or inspecting a single version.

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