Skip to main content
Glama
mharnett

mcp-gtm-ga4

by mharnett

gtm_update_tag

Modify an existing tag in the sandbox workspace by merging specified updates (e.g., consent settings, parameters) with the current configuration, ensuring safe changes without affecting live environments.

Instructions

Update a tag in the sandbox workspace. Fetches current tag, merges updates, then saves. Safety: only operates on sandbox workspace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tag_idYesThe tag ID
updates_jsonYesJSON object with fields to update (e.g. consentSettings, parameter)
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the read-modify-write behavior and safety constraint ('only operates on sandbox workspace'). Lacks details on error handling or permissions but provides core behavioral traits.

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?

Two sentences with zero fluff. First sentence front-loads purpose and scope; second adds process and safety. Every sentence earns its place.

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 low complexity (2 parameters, no nested objects), the description covers workspace scope and process. Lacks output description, but adequate for a simple update tool.

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

Parameters4/5

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

Schema coverage is 100% with clear descriptions. The description adds concrete examples ('e.g. consentSettings, parameter') for updates_json, enhancing understanding 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?

Clearly states 'Update a tag in the sandbox workspace' with a specific action (update) and resource (tag) and distinguishes from sibling tools like gtm_update_variable.

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?

Indicates usage context (operates only on sandbox workspace) but does not explicitly exclude other scenarios or mention alternatives. The process description ('Fetches current tag, merges updates, then saves') implies read-modify-write, which helps in deciding when to use.

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/mharnett/mcp-gtm-ga4'

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