check_analytics_compatibility
Check a GA4 report will work, before running it read-only
Description
FREE PRE-FLIGHT FOR analytics_report — ask Google whether these dimensions and metrics can appear in ONE report together, BEFORE running the report that would fail. Use it whenever a report combines fields you have not combined before, and especially when one of them is a custom dimension: GA4 has real pairs that are each perfectly valid alone and cannot be queried together, and `analytics_report` deliberately forwards names AS GIVEN (GA4 publishes hundreds of dimensions and every property ships its own custom ones, so validating against a copied list would go stale and start REFUSING names Google accepts). Pass EXACTLY what you would pass to analytics_report — same metrics, same dimensions, same filters — and it returns which fields are INCOMPATIBLE so you can drop one and run the real report once. IT DOES NOT CHECK THAT A NAME EXISTS: an unknown api name is refused by Google outright, and list_analytics_metadata is what resolves names. Read-only, 0 credits.
Parameters
| Parameter | Type | Description |
|---|---|---|
propertyrequired | string | NUMERIC GA4 property id |
metrics | string[] | the same metrics you would send to analytics_report (defaults to the same three it defaults to) |
dimensions | string[] | the same dimensions you would send to analytics_report |
dimensionFilter | object | the same GA4 FilterExpression you would send to analytics_report |
metricFilter | object | the same GA4 FilterExpression you would send to analytics_report |
compatibilityFilter | "COMPATIBILITY_UNSPECIFIED" | "COMPATIBLE" | "INCOMPATIBLE" | narrow the answer — COMPATIBLE returns only the fields that CAN be added |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/check_analytics_compatibility.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"check_analytics_compatibility","arguments":{"property":"<string>"}}}
CLI
hermoso call check_analytics_compatibility --json '{"property":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
analytics_reportRun a GA4 reportlist_analytics_metadataWhat a GA4 property can be askedarchive_analytics_custom_metricArchive a GA4 custom metric (one-way)create_analytics_custom_metricRegister a GA4 custom metricdelete_analytics_key_eventStop counting a GA4 event as a conversionarchive_analytics_custom_dimensionArchive a GA4 custom dimensioncreate_analytics_custom_dimensionCreate a GA4 custom dimensioncreate_analytics_key_eventMark a GA4 event as a key event (conversion)list_analytics_definitionsList a GA4 property’s key events and custom dimensionsanalytics_realtimeWho is on the site right now (GA4 realtime)