Skip to main content
Glama
google-seo-mcp
by Akxan

GA4 dimensions & metrics metadata

ga_get_metadata
Read-onlyIdempotent

List available GA4 dimensions and metrics, including custom fields, metric types, and deprecated API names; filter by search term to keep output small.

Instructions

List the dimensions and metrics available for a GA4 property (including custom ones), with each metric's type (TYPE_SECONDS, TYPE_CURRENCY, TYPE_STANDARD…) and any deprecated API names. Filter by a search string to keep the output small.

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": {
      "propertyId": "<propertyId>"
    },
    "name": "ga_get_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoall
searchNoCase-insensitive substring matched against API name, UI name and category, e.g. 'page', 'conversion'.
propertyIdYesGA4 property ID, e.g. '123456789' (see ga_list_properties).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Changed2 schema fields changedv0.5.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / propertyId / description
      Previous value: -"GA4 property ID, e.g. '123456789' or 'properties/123456789'. Use ga_list_properties to discover it."New value: +"GA4 property ID, e.g. '123456789' (see ga_list_properties)."
  3. First observedv0.3.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description's job is to add return-shape context — and it does, disclosing that custom dimensions/metrics are included, that metric types like TYPE_SECONDS/TYPE_CURRENCY are reported, and that deprecated API names are surfaced. It also warns that output can grow large. It does not discuss rate limits or truncation of very large catalogs, so it is not exhaustive.

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

Conciseness4/5

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

A single dense sentence with the resource and scope front-loaded and no filler. The stacked parentheticals (custom ones / type list / deprecated names) make it slightly harder to scan than a short bulleted split would be, but nothing is wasted.

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?

For a three-parameter read tool with no output schema, the description covers what the response contains well enough to call it. It omits the default behavior of 'kind' (all), any indication of result size/pagination limits despite hinting at large output, and how custom fields are distinguished from standard ones.

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 67%, with 'search' and 'propertyId' already well documented in the schema; the description only restates the search-filter benefit. The 'kind' enum (all/dimensions/metrics) has no description in the schema and is never mentioned in the description, leaving the most behavior-changing parameter unexplained.

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 gives a specific verb and resource ('List the dimensions and metrics available for a GA4 property'), plus the scope additions of custom fields, metric types, and deprecated API names. It does not explicitly contrast itself with a nearby sibling such as ga_check_compatibility or explain its role in validating fields before ga_run_report, so it stops short of full sibling differentiation.

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 a useful tactical hint ('Filter by a search string to keep the output small') and propertyId's schema text points to ga_list_properties, which implies the discovery workflow. However, no explicit when-to-use/when-not-to-use statement or named alternative is given, so a caller must infer that this is the field-lookup tool to run before building reports.

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