Skip to main content
Glama
google-data-mcp

google-data-mcp

by seliem-attia

GA4: Back up configuration

ga4_export_config
Read-only

Back up a GA4 property's complete configuration as a local JSON file for restore points, including settings, data streams, key events, dimensions, metrics, retention, and links.

Instructions

Backs up the complete configuration of a property (settings, data streams incl. enhanced measurement, key events, custom dimensions/metrics, data retention, links) as a local JSON file. GA4 has no versions — this is the state to restore from. Read the content via backup_read.

Input Schema

NameRequiredDescriptionDefault
labelNoShort reason in the file name, e.g. 'before_relaunch' (default 'manual')
propertyYesGA4 property ID, e.g. '123456789' or 'properties/123456789'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds the crucial behavioral fact that the result lands as a local JSON file and must be read back with backup_read, plus the rationale that GA4 keeps no version history. Note the mild tension with readOnlyHint=true, since a local file is written, but the description discloses this explicitly rather than contradicting it, so an agent is not misled.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and scope, followed by the justification and the retrieval pointer. Nothing is redundant and no sentence could be removed without losing routing or rationale information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter export tool with no output schema, the description covers what is produced (a local JSON file), where to get it (backup_read), and why it matters (no native GA4 versioning). Nothing an agent needs in order to call and follow up correctly is missing.

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 description coverage is 100%, with both `property` and `label` documented including examples and the 'manual' default, so the baseline is 3. The description adds no syntax or format detail beyond the schema — it only describes what the backup contains, not how the parameters shape it.

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?

States a specific verb and resource ("Backs up the complete configuration of a property") and enumerates exactly what is captured: settings, data streams incl. enhanced measurement, key events, custom dimensions/metrics, data retention, links. It is clearly distinguished from GTM export siblings by naming GA4 property scope, and it routes to backup_read for retrieval.

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?

Gives the operating context that makes the tool necessary — "GA4 has no versions — this is the state to restore from" — which tells an agent to run it before destructive changes. It also names the follow-up tool (backup_read). It stops short of explicit when-not guidance or naming a specific alternative backup mechanism, so it is not a full 5.

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