Skip to main content
Glama
samarthanalytics-sj

Samarth GTM MCP Server

Official

versions_publish

Publishes a Google Tag Manager container version to production. Requires explicit confirmation and the publish feature flag to be enabled.

Instructions

[PUBLISH] Publish a specific GTM container version to live. Requires GTM_MCP_ENABLE_PUBLISH=true and confirm=true. ⚠️ This immediately makes the version live in production.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountIdYes
containerIdYes
containerVersionIdYesThe version ID to publish.
confirmYesMust be true to confirm this publish operation.
Behavior4/5

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

Without annotations, the description effectively discloses that the action immediately makes the version live in production, indicating destructiveness and urgency. It also flags the confirm parameter as a safeguard.

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 a single concise sentence with essential requirements and warning, front-loaded with the action. Every word adds value.

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 no output schema, the description adequately covers the action, prerequisites, and consequence. Missing details like error handling or idempotency are not critical for a simple publish action.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50% with descriptions only for containerVersionId and confirm. The description does not elaborate on accountId or containerId beyond the tool's overall purpose, failing to add significant meaning beyond the schema.

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 'Publish a specific GTM container version to live' with the verb 'publish' and the resource 'GTM container version', distinguishing it from sibling tools like versions_create or workspace_create_version_and_publish.

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?

The description includes explicit requirements (GTM_MCP_ENABLE_PUBLISH=true, confirm=true) and warns of immediate production impact, providing clear context for when to use. However, it does not explicitly contrast with sibling tools.

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