Skip to main content
Glama
getmcpads-com

google-analytics-mcp-server

ga4_get_custom_definitions

List custom dimensions and metrics for a GA4 property to inventory user-defined reporting fields when standard metadata is unavailable.

Instructions

List custom dimensions and custom metrics exposed by GA4 Data API metadata. Read-only fallback for custom definition inventory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
propertyIdYesGA4 property ID (numeric, e.g., 123456789)
Behavior3/5

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

With no annotations, the description carries the full burden of disclosing behavior. It explicitly labels the operation 'Read-only' and says it lists metadata-exposed definitions, but it does not describe output shape, pagination, error behavior, or what 'fallback' means in practice.

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?

A single sentence front-loads the core action and resource, then adds the read-only fallback context. There is no filler or duplication of schema content.

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

Completeness4/5

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

For a one-parameter read-only list tool, the description adequately states the input and what will be returned (custom dimensions and metrics). The main residual gap is explaining the 'fallback' behavior and any limitations of the metadata source.

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?

Schema coverage is 100% and the only parameter, propertyId, already has a clear schema description including a numeric example. The description adds no additional parameter-level meaning, so the baseline of 3 applies.

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?

The description names a specific verb ('List') and a distinct resource ('custom dimensions and custom metrics'), so an agent can distinguish it from generic metadata tooling such as ga4_get_metadata. The phrase 'Read-only fallback for custom definition inventory' is slightly ambiguous, which keeps this from a 5.

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 'Read-only fallback for custom definition inventory' phrase implies a fallback use case, but it does not explicitly state when to use this tool instead of ga4_get_metadata or an admin custom-definition endpoint. No exclusion or alternative is named.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/getmcpads-com/google-analytics-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server