Opus Growth

Create GTM Variable

Creates a user-defined VARIABLE.

Type
Makes changes
Credits
3
Platform
Tag Manager
Approval
Preview first, applied after you approve

What it does

Creates a user-defined VARIABLE. variable_type = GTM type string: 'c' (Constant → parameters='{"value":"..."}'), 'v' (Data Layer Variable → parameters='{"name":"ecommerce.value"}' plus optional dataLayerVersion), 'jsm' (Custom JavaScript → parameters='{"javascript":"function(){return ...}"}'), 'u' (URL), 'k' (1st-party Cookie → '{"name":"_ga"}'). parameters is JSON: an object {key:value} (wrapped as template) or a raw GTM parameter list. SAFETY: confirm=false → preview; confirm=true → creates it (staged until publish).

MCP: create_gtm_variable

How to use it

You don't call tools by name. Write what you want in ChatGPT, Claude or another assistant connected to Opus Growth, in your own words; it picks this tool when it fits.

Because this tool changes your account, your assistant first shows a preview of exactly what will change. Nothing is applied until you say yes, and every applied change is written to your audit log.

Parameters

NameTypeRequiredDefault
namestringRequired·Human-readable name for the resource being created or updated.
variable_typestringRequired·Provider-specific variable type accepted by this operation. Use a supported value from the tool documentation or returned provider data.
parametersstringOptional·Provider-specific parameter payload accepted by this operation; preserve the documented structure.
workspacestringOptional·Exact workspace identifier or resource name returned by the relevant workspace-listing tool.
containerstringOptional·Exact container identifier or resource name returned by the relevant container-listing tool.
confirmbooleanOptionalfalseSafety confirmation for a state-changing operation. Leave false to preview or validate; set true only after the user explicitly approves the shown change.