ga_check_compatibility
Validate dimension and metric combinations for GA4 properties before running reports. Avoid invalid requests and discover which fields remain compatible with your chosen set.
Instructions
Check whether a combination of dimensions and metrics is valid for this property BEFORE running a report.
Avoids wasted report requests and token-heavy error loops. Also lists which other fields remain compatible with the given combination.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ga_check_compatibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metrics | No | Metrics to check (e.g., [{name: "activeUsers"}]) | |
| dimensions | No | Dimensions to check (e.g., [{name: "city"}]) | |
| propertyId | No | GA4 property ID to query (overrides the default GA_PROPERTY_ID). Accepts "123456789" or "properties/123456789". Use ga_get_account_summaries to discover IDs. | |
| compatibilityFilter | No | Only return fields with this compatibility (recommended: COMPATIBLE) |