Skip to main content
Glama
AlexStansfield

gtm-mcp-server

List GTM Accounts

gtm_list_accounts
Read-onlyIdempotent

Retrieve all Google Tag Manager accounts accessible via the service account, returning their IDs, names, and paths. Use this to identify available accounts and obtain their identifiers for subsequent management tasks.

Instructions

List all Google Tag Manager accounts accessible by the service account, with their IDs, names, and paths.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_tokenNoContinuation token from a previous call to fetch the next page of results

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

The description adds useful context beyond the annotations by clarifying the scope ('accessible by the service account') and the return payload ('IDs, names, and paths'). This complements the readOnlyHint and idempotentHint annotations without contradiction, though it does not discuss rate limits or error behavior.

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 a single, concise sentence that front-loads the verb and resource, includes essential scope details, and contains no redundant words. Every phrase adds value.

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 simple list operation with one optional parameter and no output schema, the description provides all necessary information: purpose, scope, and return fields. It is sufficiently complete for an agent to use the tool correctly.

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 single parameter page_token is fully described in the schema with a clear explanation. The tool description itself does not add parameter information, but given 100% schema coverage, the baseline of 3 is appropriate.

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 'List all Google Tag Manager accounts accessible by the service account' with an explicit verb and resource. It distinguishes from sibling list tools (e.g., gtm_list_containers) by naming the resource type and adds scope ('accessible by the service account') and return fields ('IDs, names, and paths').

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?

The description implies usage context by noting it lists accounts accessible by the service account, which hints at discovery of available accounts. However, it does not explicitly state when to use this tool versus alternatives or mention any preconditions or follow-up tools.

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