Skip to main content
Glama

Gtm update tag

gtm.update_tag
DestructiveIdempotent

Update an existing Google Tag Manager tag by path, applying specified field changes with a confirmation guard.

Instructions

Update an existing tag by path (guarded).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tag_path": "<tag_path>",
      "fields": "<fields>"
    },
    "name": "gtm.update_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsYes
confirmNo
tag_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.7/5.0
Behavior2/5

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

The annotations already declare destructive=true, idempotent=true, and openWorld=true. The description adds only 'guarded,' which is undefined; it does not explain the confirmation requirement, what may be destroyed, or any operational side effects.

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 a single front-loaded sentence with no wasted words. The cryptic 'guarded' parenthetical is an under-specification problem rather than a verbosity problem.

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?

This is a destructive mutation tool with a required nested fields object and 0% schema description coverage. The description does not explain fields, confirm, or what 'guarded' means; the output schema covers return values, but the input and guard semantics are incomplete.

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 description coverage is 0%, so the description must compensate. It maps 'by path' to tag_path, but it does not explain the required nested fields object at all, and 'guarded' only vaguely hints at the confirm parameter without defining its semantics.

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 states a specific verb and resource: updating an existing tag by path. This is enough to distinguish it from gtm.create_tag and gtm.list_tags, but the parenthetical 'guarded' is unexplained, preventing a 5.

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?

Usage is only implied by 'Update an existing tag.' There is no explicit when-to-use guidance, no when-not guidance, no mention of alternatives such as gtm.create_tag, and no explanation of when the guard or confirm parameter matters.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools