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

Check dimension/metric compatibility

ga_check_compatibility
Read-onlyIdempotent

Check whether GA4 dimensions and metrics can be queried together and find compatible additional fields before building a custom report.

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.

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_check_compatibility"
  }
}

Input 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. Changed1 schema field changedv0.14.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Addedv0.5.1

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds the useful behavior note that some dimension/metric combinations are incompatible and that compatible additional fields are returned, but says nothing about error/validation semantics such as what happens with misspelled field names or an invalid propertyId.

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 front-loaded sentence states the capability, followed by the usage cue. The parenthetical '(some combinations are incompatible)' is slightly redundant with the main clause but is short and earns its place as the motivation.

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?

With no output schema, the description does summarize what comes back: a yes/no on co-queryability plus the remaining compatible fields. For a lightweight read-only validation tool that is largely sufficient; only the shape of the response and field-naming conventions are left implicit.

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 50%: propertyId and onlyIncompatible are documented in the schema, while the dimensions and metrics arrays have no per-parameter description. The description implies these carry the field names to test but adds no format guidance (e.g. GA4 API names), so it does not fully compensate for the undocumented 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?

Specific verb and resource: 'Ask GA4 whether a set of dimensions and metrics can be queried together' plus the extra capability 'which additional fields are still compatible'. It is clearly differentiated from the sibling ga_run_report, which it names as the downstream operation this validates.

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?

'Use before building an unusual ga_run_report' gives a concrete trigger condition and points at the alternative it complements. It stops short of stating when NOT to bother (e.g. for known-safe standard field combinations), so it is clear context rather than a full when/when-not rule set.

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