Skip to main content
Glama
samarthanalytics-sj

Samarth GTM MCP Server

Official

versions_set_latest

Set a specific Google Tag Manager container version as the default workspace version. Does not publish; use versions_publish to go live.

Instructions

[WRITE] Set a specific container version as the "latest" (synchronizes the default workspace with this version). Note: This does NOT publish. Use versions_publish to go live. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountIdYes
containerIdYes
containerVersionIdYesThe version ID to set as latest.
confirmYes
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses that this is a write operation ([WRITE]), synchronizes the default workspace, and explicitly states it does not publish. It also mentions required flags. However, it does not describe what happens if confirm is false or other potential side effects.

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 description is concise: two sentences plus a note. It is front-loaded with a [WRITE] tag and a clear action statement. Every sentence adds value with no redundancy.

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?

Given 4 required parameters, no output schema, and no annotations, the description covers the tool's purpose, prerequisites, and differentiation from siblings. It lacks detailed parameter explanations but is otherwise complete for a write operation. A return value description would improve it, but it's acceptable without an output schema.

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 only 25%, so the description must compensate. The description clarifies the purpose of 'containerVersionId' (set as latest) and implies 'confirm' must be true. However, it provides no additional meaning for 'accountId' or 'containerId', which are required but lack explanation. The high-level context helps but is insufficient for full param understanding.

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?

The description clearly states the tool sets a specific container version as 'latest' and synchronizes the default workspace. It uses a specific verb ('Set') and identifies the resource ('container version'). It also distinguishes itself from the sibling tool 'versions_publish' by noting this does NOT publish.

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

Usage Guidelines5/5

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

The description explicitly tells when to use this tool (to set a version as latest) and when not to (use versions_publish to go live). It also lists prerequisites: requires GTM_MCP_ENABLE_WRITES=true and confirm=true. This provides clear context for an AI agent.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/samarthanalytics-sj/samarth-analytics-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server