Skip to main content
Glama
samarthanalytics-sj

Samarth GTM MCP Server

Official

versions_set_latest

Set a specific container version as the default workspace version, synchronizing the workspace without publishing 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
confirmYes
accountIdYes
containerIdYes
containerVersionIdYesThe version ID to set as latest.
Behavior4/5

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

With no annotations, the description marks the tool as [WRITE], explains it synchronizes the default workspace, and clarifies it does not publish. However, it lacks details on error handling or reversibility.

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?

Concise two-sentence description that effectively front-loads the purpose, adds a critical note about publishing, and ends with prerequisites. No wasted words.

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 simple write action with no output schema, the description covers the core behavior and prerequisites. It distinguishes from the key sibling versions_publish, making it sufficient for an agent to use correctly.

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 only 25% (only containerVersionId has a description). The description merely restates that containerVersionId is the version ID to set as latest, and mentions confirm must be true but doesn't explain its role. Other parameters are left unexplained.

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?

Clearly states 'Set a specific container version as the latest' with specific verb and resource. Distinguishes from sibling versions_publish by explicitly noting it 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?

Explicitly tells when to use (to set latest) and when not to (use versions_publish to go live). Also lists prerequisites: GTM_MCP_ENABLE_WRITES=true and confirm=true.

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