Skip to main content
Glama
google-data-mcp

google-data-mcp

by seliem-attia

GA4: Create annotation

ga4_create_annotation

Creates GA4 report annotations for single dates or date ranges, marking events such as relaunches or campaign starts so changes are identifiable.

Instructions

Creates an annotation that GA4 shows in reports as a marker: e.g. 'Relaunch', 'GTM: Consent Mode v2 live', 'Campaign start'. One day (date) or a range (date + endDate). The color ORANGE is reserved for Google. Delete/change: ga4_admin_request (v1alpha).

Input Schema

NameRequiredDescriptionDefault
dateYesDay or start, YYYY-MM-DD
colorNoDefault BLUE
titleYesShort title
endDateNoEnd of a range, YYYY-MM-DD
propertyYesGA4 property ID, e.g. '123456789' or 'properties/123456789'
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true. The description adds genuinely non-obvious context beyond that: ORANGE is reserved for Google (explaining why the color enum omits it) and that later edits/deletes must go through ga4_admin_request, which usefully signals the created marker is not managed by this tool.

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 action and effect, then the two structural facts an agent needs (date vs range, color reservation). The telegraphic style ('One day (date) or a range (date + endDate)') is efficient rather than wasteful, though slightly clipped.

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 6-parameter write tool with no output schema, the description covers purpose, date-range semantics, a hidden color constraint, and the follow-up path for modification. Missing only auth/property-permission expectations and any note on what the created annotation identifier looks like.

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 coverage is 83%, so parameter meaning is largely carried by the schema itself. The description reinforces the date/endDate pairing and supplies example titles, but adds no format or validation detail beyond what the schema already states.

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 ('Creates an annotation') and explains the observable effect: it appears in GA4 reports as a marker. Concrete example titles ('Relaunch', 'GTM: Consent Mode v2 live') make the resource unambiguous against siblings like ga4_list_annotations or ga4_admin_request.

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 a clear condition for one-day versus ranged annotations ('One day (date) or a range (date + endDate)') and explicitly routes delete/modify operations to ga4_admin_request. It stops short of naming ga4_list_annotations as the read counterpart or stating prerequisites such as required property permissions.

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