Skip to main content
Glama

GA4: create data stream

ga4_create_data_stream

Create a data stream on a GA4 property.

Tools revision: 5c9bea8f.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
propertyYes
stream_typeNoWEB_DATA_STREAM
display_nameYes
web_stream_dataNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, openWorldHint=false, so the mutation profile is covered without the description. The description adds nothing beyond them: it doesn't say what state a new stream starts in, whether duplicates are possible, or what permissions are needed. The 'Tools revision: 5c9bea8f' line is versioning noise, not behavioral context.

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?

The operational sentence is short and front-loaded with no wasted words. The appended 'Tools revision' line is dead weight but small enough not to disrupt the structure.

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

Completeness2/5

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

A mutation tool with an output schema (so return values needn't be explained) but with 0% parameter coverage and an untyped nested object parameter, the description leaves an agent guessing about required formats and valid stream types. It is not complete enough to invoke confidently without inspecting the upstream GA4 API.

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

Parameters2/5

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

Schema description coverage is 0% on all four parameters, so the description must compensate and instead says nothing about them. Key unknowns remain: the required 'property' format (e.g., 'properties/123456'), the allowed stream_type values and what changing them implies, and the shape of the free-form 'web_stream_data' object that anyOf accepts.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource ('Create a data stream on a GA4 property'), which cleanly separates it from the ga4_list_data_streams and ga4_update_data_stream siblings by operation. It doesn't explicitly call out those siblings, but the operation prefix makes disambiguation straightforward.

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

Usage Guidelines2/5

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

No statement of when to use this versus ga4_update_data_stream (which presumably configures an existing stream) or ga4_create_property (which a stream likely depends on). No preconditions such as needing an existing GA4 property ID.

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