Skip to main content
Glama
Akxan
by Akxan

GA4 dimensions & metrics metadata

ga_get_metadata
Read-onlyIdempotent

List GA4 dimensions and metrics, including custom ones, with optional search filter to narrow results by API name, UI name, or category.

Instructions

List the dimensions and metrics available for a GA4 property (including custom ones). Filter by a search string to keep the output small.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoall
searchNoCase-insensitive substring matched against API name, UI name and category, e.g. 'page', 'conversion'.
propertyIdYesGA4 property ID, e.g. '123456789' or 'properties/123456789'. Use ga_list_properties to discover it.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, covering safety and side effects. The description adds the behavior that it includes custom dimensions/metrics and that the output can be large without a search filter, which are useful non-obvious details. No contradiction with annotations.

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 two short sentences with no filler. It front-loads the core action and then provides a practical filtering tip. Every word earns its place.

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 metadata listing tool with a required propertyId and optional kind/search, the description covers the essential purpose and filtering behavior. It does not detail the return structure, but the absence of an output schema and the simplicity of the tool make that less critical. Annotations cover the safety profile, so nothing critical is missing.

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 description coverage is 67% (propertyId and search have descriptions; kind does not). The description reinforces the search parameter's purpose and implies kind through 'dimensions and metrics', but it does not add substantial semantics beyond what the schema already provides. Baseline of 3 is appropriate given high schema coverage.

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 verb ('List') and the resource ('dimensions and metrics available for a GA4 property'), and adds specificity with 'including custom ones'. It is distinct from siblings like ga_list_properties (which lists properties) and ga_run_report (which runs reports), so an agent can immediately tell what this tool does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear context (listing available dimensions/metrics for a property) and even hints at usage by advising to filter with a search string to keep output small. However, it does not explicitly mention when to prefer this over alternatives, nor does it state exclusions. The context is sufficient for most agents to select it appropriately.

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

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/Akxan/google-seo-mcp'

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