Skip to main content
Glama
samarthanalytics-sj

Samarth GTM MCP Server

Official

versions_publish

Publish a specific GTM container version to live in production. Requires explicit confirmation before deployment.

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
confirmYesMust be true to confirm this publish operation.
accountIdYes
containerIdYes
containerVersionIdYesThe version ID to publish.
Behavior3/5

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

The description warns that the action immediately makes the version live in production, indicating potential impact. However, with no annotations, it omits details on reversibility, idempotency, or failure modes. Some transparency is present via the warning emoji, but incomplete.

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?

The description is short and front-loaded with a [PUBLISH] tag. It conveys essential details without verbosity. Slightly more structure could improve readability, but it is efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of a publishing action with production impact, the description lacks context on return values, error handling, prerequisites (e.g., version must exist and be unpublished), and environment setup. It feels incomplete for a tool that can alter live environments.

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?

With 50% schema description coverage, the description does not add meaning for the undocumented parameters (accountId, containerId). It only reiterates the confirm parameter's requirement already present in the schema. No additional semantic value beyond the schema.

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?

The description clearly states the tool publishes a specific GTM container version to live, using the verb 'Publish' and specifying the resource. However, it does not explicitly differentiate from sibling tools like workspace_create_version_and_publish, which may also publish.

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

Usage Guidelines2/5

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

The description mentions required prerequisites (environment variable and confirm=true) but provides no guidance on when to use this tool versus alternatives. It lacks context on scenarios where other version or workspace tools would be more appropriate.

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