Skip to main content
Glama
kLOsk

Google Ads - AdLoop

by kLOsk

List Tag Manager accounts

list_gtm_accounts
Read-only

List all Google Tag Manager accounts readable by the current user for initial discovery and obtaining account IDs for auditing.

Instructions

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

Use this for first-time discovery before calling audit_event_coverage — you need the account_id from here. If this returns an empty list, the service account hasn't been added to any GTM container with at least Read permission.

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.7/5.0
Behavior5/5

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

The description adds context about read permissions and the implication of an empty list, going beyond the readOnlyHint annotation. It is consistent with the non-destructive nature and discloses auth requirements.

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 concise (two sentences) and well-structured, conveying the purpose, usage, and interpretation without unnecessary verbosity.

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?

Given the absence of parameters and output schema, the description provides all necessary context: what the tool does, when to use it, and what the result (including empty list) signifies. It also mentions permission requirements, making it complete for the tool's simplicity.

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 tool has no parameters, so the description adds no parameter-specific meaning. The schema coverage is effectively 100% (empty), meeting the baseline for high coverage where additional param info is not necessary.

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 the tool lists all GTM accounts readable by the service account/OAuth user, using the verb 'list' and specifying the resource 'GTM accounts'. It also distinguishes from siblings like list_accounts and list_merchant_accounts by focusing on GTM-specific accounts.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs to use this for first-time discovery before audit_event_coverage and explains that an empty list indicates insufficient permissions, providing clear guidance on when and how to interpret results.

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