Skip to main content
Glama

GA4: update property settings

ga4_update_property
DestructiveIdempotent

Update settings on a GA4 property (name=properties/) with the Analytics Admin API's properties.patch (https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1beta/properties/patch). body holds the Property fields to change; update_mask lists them in snake_case, comma-separated (e.g. "display_name,time_zone"). It overwrites the current values of the fields in update_mask; a time zone or currency change alters how the property's data is reported from then on.

Tools revision: d80f65c0.

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": {
      "name": "<name>",
      "body": "<body>",
      "update_mask": "<update_mask>"
    },
    "name": "ga4_update_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
nameYes
update_maskYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, but the description adds real value beyond them: it explains that only fields listed in update_mask are overwritten, and that a time zone or currency change alters how existing data is reported from that point on. That is precisely the destructive consequence an agent needs before calling. It stops short of naming permission requirements or whether the response echoes the patched resource.

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

Conciseness4/5

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

Front-loaded with the operation and target, then parameter semantics, then the reporting-impact warning — a sensible order with little waste. The API documentation URL earns its place, but the trailing "Tools revision: d80f65c0." is build metadata that adds nothing for an agent.

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

Completeness4/5

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

For a destructive three-parameter mutation with an output schema (so return values need no explanation), the description covers target identification, mask semantics, and downstream data impact. It is only missing prerequisite/permission context and a fuller list of patchable Property fields.

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?

Schema description coverage is 0%, so the description carries the full burden and largely does: it gives the required name format (properties/<id>), explains that body holds the Property fields to change, and specifies update_mask as comma-separated snake_case with a concrete example. The remaining gap is that the set of valid body fields (display_name, time_zone, currency, etc.) is only implied by the example rather than enumerated.

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 ("Update settings on a GA4 property") and pins the exact API surface (Analytics Admin properties.patch), which makes it distinguishable from siblings like ga4_update_data_stream, ga4_update_custom_dimension, and ga4_update_attribution_settings without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the resource scope and the linked properties.patch endpoint, so an agent can infer this is the tool for property-level settings changes. However there is no explicit when-to-use/when-not-to-use guidance, no mention of required Admin API permissions, and no pointer to which sibling handles non-property-level updates.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources