GTM: list folders
gtm_list_foldersList folders in a workspace.
Tools revision: 5c9bea8f.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
gtm_list_foldersList folders in a workspace.
Tools revision: 5c9bea8f.
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes |
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds nothing beyond that: no mention of whether folders are returned flat or with parent hierarchy, no pagination behavior, no ordering.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The core sentence is front-loaded and efficient. The trailing "Tools revision: 5c9bea8f." is a build artifact that conveys nothing actionable to an agent and dilutes an already thin description.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return-value structure need not be explained. For a one-parameter read-only list call that is close to sufficient, but the missing workspace identifier format is something the agent must guess before it can invoke the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% for the single required parameter, so the description must carry the meaning. Saying "in a workspace" hints that `workspace` identifies the container, but it never specifies whether the value is an ID, a numeric workspace ID, a path, or a display name.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource ("List folders") scoped to a workspace, which is unambiguous. It does not name or distinguish against siblings, but the gtm_list_* siblings cover different resource types (tags, triggers, variables), so confusion risk is low.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this versus gtm_list_workspaces or gtm_list_containers, nor on prerequisites such as needing a workspace ID from the workspace listing call. The phrase "in a workspace" implies a container but does not route the agent to how one is obtained.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.