Skip to main content
Glama
kLOsk

AdLoop: Google Ads, Reddit Ads & GA4

List Tag Manager accounts

list_gtm_accounts
Read-only

Discover Google Tag Manager accounts accessible to the connected service account or OAuth user, returning IDs and names to start coverage audits.

Instructions

List all GTM accounts the AdLoop service account / OAuth user can read.

The first-time discovery step: provides the account_id that audit_event_coverage takes. Returns each account's ID and name. An empty list means the service account hasn't been added to any GTM container with at least Read permission.

Tag Manager API: https://developers.google.com/tag-platform/tag-manager/api/v2

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.2
  2. Removedv0.13.0
  3. Addedv0.12.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, openWorld), so the description adds value by disclosing the permission precondition and the meaning of an empty result (service account lacks at least Read permission). It does not describe pagination or result ordering, but the empty-list semantics are genuinely useful context beyond the annotations.

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?

Four short sentences, front-loaded with the purpose and the discovery-step role before the empty-list caveat and the API reference. Each sentence carries information, though 'Returns each account's ID and name' partially duplicates what the output schema already provides.

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

Completeness5/5

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

For a zero-parameter, read-only listing tool with an output schema and full annotation coverage, the description supplies everything an agent needs: what it returns, why to call it, the downstream consumer, and how to interpret an empty result.

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?

The tool takes zero parameters, so there is nothing to disambiguate and the baseline of 4 applies. The description appropriately focuses on the return/dependency relationship rather than inventing parameter guidance.

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?

States a specific verb+resource (list GTM accounts) and scopes it to what the service account / OAuth user can read. It also positions itself relative to siblings by naming audit_event_coverage as the downstream consumer, so an agent can distinguish it from list_gtm_containers, list_gtm_tags, etc.

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?

Explicitly frames the tool as the first-time discovery step and states that it supplies the account_id needed by audit_event_coverage, giving clear when-to-use context. It stops short of naming alternatives or exclusions, but the downstream dependency makes the usage 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