Skip to main content
Glama

Whathead Ad Operations

Google Tag Manager

gtm_native_action
Destructive

Google Tag Manager gateway for native operations, queued-job status, and audits. Use whathead_tool_help with gateway="gtm_native_action" and operation= to inspect nested input fields before a complex call.

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": {
      "operation": "<operation>"
    },
    "name": "gtm_native_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
argumentsNoExact arguments for the selected operation. The original operation schema is validated before execution.
operationYesValidated internal operation to execute.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, openWorldHint=true, and idempotentHint=false, so the safety profile is covered structurally. The description adds only the hint that some operations are asynchronous ('queued-job status') and that audits exist; it never warns what a destructive GTM operation can change, whether results are reversible, or what auth/permission scope is needed.

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?

Two short sentences, front-loaded with the resource and capabilities, then the prerequisite workflow. Nothing is redundant, though the second sentence is compressed into a dense run-on that takes a second pass to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, open-world multiplexer with a free-form nested arguments object and no output schema, the definition covers the discovery path but says nothing about what each of the three operations does, what fields each expects, or what a queued-job status response implies. It is minimally sufficient to start, but relies almost entirely on the help tool to supply the rest.

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 reads as 100%, but the 'arguments' property is an unconstrained additionalProperties object whose real contents depend on the chosen operation — the schema cannot describe those nested fields at all. The description compensates by telling the agent exactly how to discover them (whathead_tool_help with the gateway and operation name) before a complex call, which is meaningful guidance beyond the structured fields.

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 names the resource (Google Tag Manager) and enumerates the three capability areas: native operations, queued-job status, and audits, which map directly onto the operation enum. It is clearly a multiplexer gateway rather than a single action, though the actual work behind each operation is left unnamed.

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?

It gives one concrete procedural instruction — call whathead_tool_help with gateway="gtm_native_action" and an operation name to inspect nested fields before a complex call — which is genuinely actionable. However, it offers no when-to-use versus when-not guidance, and nothing distinguishes these operations from sibling gateways such as ga4_native_action; usage must be inferred from the domain name.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.