Skip to main content
Glama
rgellis

Google Tag Manager MCP Server

by rgellis

Delete Template

delete_template

Delete a custom template from a workspace. Check for dependent tags or variables first, as they will stop working after removal.

Instructions

Delete a custom template from a workspace.

Tags and variables using the template stop working, so check for uses before deleting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYesNumeric Tag Manager account ID.
template_idYesNumeric template ID.
container_idYesNumeric container ID.
workspace_idYesNumeric workspace ID.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly warns that 'Tags and variables using the template stop working,' which is a significant side-effect. It could additionally state irreversibility or permission requirements, but the consequence warning is substantive and valuable.

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 compact and front-loaded: the action is stated first, followed by a critical warning. Every sentence earns its place with no filler or repetition of schema fields.

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 the simple 4-parameter shape, complete schema coverage, and an output schema, the description is nearly sufficient. It supplies the key domain consequence and a pre-deletion safety step. It could mention whether deletion is permanent or how to find usages, but these are minor given the low complexity.

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?

The input schema already documents all four parameters with 100% coverage, so the baseline is 3. The description adds no further parameter-level meaning, but none is necessary because the schema descriptions are complete.

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 clearly states a specific verb and resource: 'Delete a custom template from a workspace.' It distinguishes this tool from sibling delete tools like delete_tag and delete_variable by explicitly naming 'template' as the target.

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?

The description provides clear context: use this tool to delete a custom template. It also gives a practical prerequisite by warning to 'check for uses before deleting,' which guides when the action is safe. It does not explicitly name alternative tools, but the resource type makes the intended use unambiguous.

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