Skip to main content
Glama
google-data-mcp

google-data-mcp

by seliem-attia

GA4: Change data redaction

ga4_update_data_redaction

Update GA4 web stream redaction settings to redact email addresses and URL parameters before storage, affecting only new data and specified fields.

Instructions

Changes the data redaction of a web data stream: email addresses and/or the named URL parameters are redacted before GA4 stores them. Takes effect immediately and only for new data. Only the specified fields are changed.

Input Schema

NameRequiredDescriptionDefault
propertyYesGA4 property ID, e.g. '123456789' or 'properties/123456789'
dataStreamIdYesNumeric stream ID (from ga4_list_data_streams)
queryParameterKeysNoURL parameters, e.g. ['name','email','tel']
emailRedactionEnabledNo
queryParameterRedactionEnabledNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A4.7/5.0
Behavior5/5

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

The description adds critical context beyond the annotations by specifying what is redacted (email addresses and URL parameters), the timing of the effect (immediate/new data), and the scope of modification (only specified fields).

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?

The description is tightly written in two sentences. It front-loads the core function and then adds crucial technical constraints, resulting in zero wasted words.

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?

Given that it is a complex configuration update, the description provides all necessary behavioral and functional constraints (what, where, when, how much) required for an agent to utilize it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 60%, the description adds crucial meaning by naming the subjects of the redaction (emails and URL parameters), which justifies the configuration parameters for an AI agent.

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?

The tool name and description work together to state exactly what changes are made (data redaction) and where (web data stream). This is highly specific.

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?

The description provides clear operational boundaries by stating the changes take effect 'immediately and only for new data.' It doesn't name an alternative tool, but the operational constraints are clear context for usage.

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