Skip to main content
Glama
tijevlam

unboundai-gtm-mcp-server

by tijevlam

gtm_variable

Manage Google Tag Manager variables: create, retrieve, list, update, remove, or revert variables in a container workspace.

Instructions

Performs all GTM variable operations: create, get, list, update, remove, revert. The 'list' action returns up to 20 items per page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination (starts from 1). Each page contains up to itemsPerPage items.
actionYesThe GTM variable operation to perform. Must be one of: 'create', 'get', 'list', 'update', 'remove', 'revert'.
accountIdYesThe unique ID of the GTM Account containing the variable.
variableIdNoThe unique ID of the GTM variable. Required for 'get', 'update', 'remove', and 'revert' actions.
containerIdYesThe unique ID of the GTM Container containing the variable.
fingerprintNoThe fingerprint for optimistic concurrency control. Optional for 'update' action if included in createOrUpdateConfig. Required for 'revert' action.
workspaceIdYesThe unique ID of the GTM Workspace containing the variable.
itemsPerPageNoNumber of items to return per page (1-20). Default: 20. Use lower values if experiencing response issues.
createOrUpdateConfigNoConfiguration for 'create' and 'update' actions. All fields correspond to the GTM variable resource, except IDs.
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It only mentions pagination for 'list' and states the actions. It does not describe mutation effects (e.g., whether remove is hard delete), authentication needs, rate limits, or concurrency control via fingerprint. This leaves significant behavioral gaps.

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 two sentences long, front-loading the core purpose and adding one key detail about pagination. No fluff or redundancy.

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 (9 parameters, nested objects, no output schema), the description is insufficient. It fails to describe return values, error conditions, required action-specific parameters, or how to use fingerprint for optimistic locking. The pagination info is minimal.

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 100%, so the schema already documents all parameters. The description adds no additional semantic meaning beyond what is in the schema. Therefore, it meets the baseline score of 3.

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 explicitly states it performs all GTM variable operations (create, get, list, update, remove, revert) and specifies that list returns up to 20 items per page. This clearly distinguishes it from sibling tools like gtm_tag or gtm_trigger, which operate on different resources.

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

Usage Guidelines3/5

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

The description lists the supported actions but does not provide guidance on when to use this tool versus alternatives (e.g., gtm_built_in_variable for built-in variables). Usage context is implied by resource name, but no explicit when-to-use or when-not-to-use instructions are given.

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/tijevlam/unboundai-google-tag-manager-mcp-server'

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