Skip to main content
Glama
Akxan
by Akxan

Check dimension/metric compatibility

ga_check_compatibility
Read-onlyIdempotent

Check if GA4 dimensions and metrics are queryable together, identify incompatible combinations, and list additional compatible fields before creating reports.

Instructions

Ask GA4 whether a set of dimensions and metrics can be queried together (some combinations are incompatible) and which additional fields are still compatible. Use before building an unusual ga_run_report.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metricsNo
dimensionsNo
propertyIdYesGA4 property ID, e.g. '123456789' (see ga_list_properties).
onlyIncompatibleNoReturn only fields flagged incompatible (default) instead of the full compatible lists.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.1

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false. The description adds that the tool queries GA4 for compatibility and returns compatible additional fields, which is useful but does not go into details like return shape, pagination, or error behavior.

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 sentences with no filler. The core action is front-loaded, and the usage guidance is placed immediately after the functional explanation.

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 simple read-only compatibility check, the description provides the essential context: what it checks, what it returns conceptually, and when to use it. There is no output schema, so a little more detail about the response format or the effect of onlyIncompatible would be helpful, but the description is still sufficient for basic invocation.

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 only 50%; metrics and dimensions lack schema descriptions. The description does explain that these parameters represent 'a set of dimensions and metrics' checked for compatibility, but it does not fully compensate by clarifying formats, allowed values, or edge cases like empty arrays.

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 uses a specific verb and resource: 'Ask GA4 whether a set of dimensions and metrics can be queried together' and 'which additional fields are still compatible.' It clearly differentiates itself from the sibling ga_run_report by saying 'Use before building an unusual ga_run_report.'

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 a clear usage context: use before building an unusual ga_run_report. It does not explicitly list alternatives or when-not-to-use scenarios, but the context is specific enough for an agent to select this tool appropriately.

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