Skip to main content
Glama

GTM: list variables

gtm_list_variables
Read-onlyIdempotent

List user-defined variables in a workspace.

Tools revision: d80f65c0.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspace": "<workspace>"
    },
    "name": "gtm_list_variables"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the useful fact that results are limited to user-defined variables in one workspace, but says nothing about pagination, result ordering, or whether inherited/synced variables from other containers appear.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is tightly scoped and front-loaded, which is good. The second sentence, "Tools revision: d80f65c0.", is an internal version stamp that consumes space without helping the agent decide or call.

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?

The presence of an output schema and annotations means the return shape and safety profile need not be explained, so the definition is adequate for a simple single-parameter list tool. The gaps are the workspace identifier format and the lack of routing guidance toward the built-in-variable sibling.

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?

With schema description coverage at 0% and only the title "Workspace" on the single required parameter, the schema gives almost nothing. The description's "in a workspace" only confirms the parameter identifies a workspace; it never states the expected identifier format (e.g. accounts/{a}/containers/{c}/workspaces/{w}) or whether workspace names are accepted.

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?

Names a specific verb and resource ("List user-defined variables") and scopes it to a workspace. The qualifier "user-defined" implicitly separates it from the sibling gtm_list_built_in_variables, though that sibling is never named.

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?

There is no explicit when-to-use or when-not-to-use guidance. Usage is only implied by the phrase "user-defined," which suggests the agent should reach for gtm_list_built_in_variables when built-in variables are wanted, but this inference is left entirely to the reader.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources