Skip to main content
Glama
dienhokhanh

gtm-mcp-server

by dienhokhanh

gtm_list_triggers

Read-onlyIdempotent

Lists all triggers in a Google Tag Manager workspace, automatically paging through results to ensure a complete list.

Instructions

List every trigger in a workspace, following all result pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYesName or ID of the GTM account (e.g. 'My Company' or '1234567').
containerYesName, GTM container ID (publicId, e.g. GTM-XXXX), or internal container ID.
workspaceNoWorkspace name or ID. Omit only for reads to use Default Workspace.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, covering the safety profile. The description adds one genuinely useful behavioral detail beyond the annotations – that it auto-follows all result pages – but says nothing about result volume, ordering, or failure behavior during pagination.

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?

A single front-loaded sentence with zero filler; every word carries meaning and the scope constraint is stated first.

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?

With an output schema present, return values needn't be explained, and annotations cover safety. The description is therefore adequate but thin – it omits any usage routing and behavioral notes that would help the agent choose this over gtm_get_trigger.

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 all three parameters (account, container, workspace) are already documented in the schema with examples. The description adds no additional parameter semantics, so the baseline 3 applies.

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?

States a specific verb+resource ('List every trigger in a workspace'), which is clear and immediately distinguishable from gtm_get_tag/gtm_list_tags. However it doesn't explicitly distinguish itself from the sibling gtm_get_trigger, so sibling differentiation is left implicit.

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?

No guidance on when to use this versus alternatives like gtm_get_trigger (single fetch) or other list tools. There are no prerequisites or exclusions stated; the agent must infer that this is the bulk-listing path from the name alone.

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