hermosodocs

check_analytics_compatibility

Check a GA4 report will work, before running it read-only

Area: GOOGLE ANALYTICS · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
propertyrequiredstringNUMERIC GA4 property id
metricsstring[]the same metrics you would send to analytics_report (defaults to the same three it defaults to)
dimensionsstring[]the same dimensions you would send to analytics_report
dimensionFilterobjectthe same GA4 FilterExpression you would send to analytics_report
metricFilterobjectthe 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.

All 759 Ad campaign management tools · tools.json