Skip to main content
Glama
burhan29ee

ga4-mcp-server

by burhan29ee

create_custom_dimension

Create a custom dimension in Google Analytics 4 by specifying property ID, parameter name, display name, and scope (EVENT, USER, or ITEM) to define how event parameters or user properties are tracked.

Instructions

Create a custom dimension. parameter_name is the event parameter / user property key; scope is 'EVENT', 'USER' or 'ITEM'. display_name may contain only letters, numbers, underscores and spaces.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoEVENT
descriptionNo
property_idYes
display_nameYes
parameter_nameYes
Behavior2/5

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

With no annotations, the description should disclose side effects, prerequisites, and result behavior. It only explains parameter semantics and validation rules, not what happens on creation (e.g., idempotency, error cases, permissions). This leaves a significant transparency gap for a mutation tool.

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 brief and front-loaded with the core action. It uses a single sentence plus a few clarifying notes, with no wasted words.

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

Completeness2/5

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

The tool has no annotations and no output schema, and the description does not explain all required parameters (property_id) or mention what a successful creation returns. Given the complexity of five parameters and a create operation, the description is insufficient for confident use without external knowledge.

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 description explains the meaning of parameter_name, scope, and display_name constraints, which adds value beyond the schema (0% coverage). However, it leaves property_id and the description parameter unexplained, so not all parameters are semantically covered.

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 action 'Create a custom dimension' with a specific resource, distinguishing it from sibling tools like create_custom_metric. It also provides immediate clarity on key parameters.

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 when to use this tool (when a new custom dimension is needed) but does not explicitly mention alternatives or exclusions, such as contrasting with create_custom_metric or noting that list/archive operations are separate.

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/burhan29ee/ga4-mcp-server'

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