ga4 check compatibility
ga4_check_compatibilityCheck which GA4 dimensions and metrics are compatible for a report selection. Queries the Data API to validate combinations and avoid errors.
Instructions
Ask the official GA4 Data API which dimensions and metrics are compatible with a proposed Core report selection.
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": "ga4_check_compatibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metrics | No | Native or documented calculated metric names to request. Check compatibility with the selected dimensions. | |
| dimensions | No | Native reporting dimensions. Validate compatibility with the selected metrics. | |
| propertyId | Yes | Numeric GA4 property ID or properties/{id}. | |
| metricFilter | No | Native GA4 FilterExpression JSON. | |
| dimensionFilter | No | Native GA4 FilterExpression JSON. | |
| compatibilityFilter | No | Limit compatibility results to the requested GA4 compatibility category. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Original tool result: parsed JSON when the text is JSON, otherwise the text or multiple MCP content blocks. Provider fields depend on the selected query. |