Skip to main content
Glama
stufently

google-webtools-mcp

ga4_get_data_stream

Read-onlyIdempotent

Read one GA4 data stream to get its measurement ID, default URI, and created/updated times when you have the property and stream IDs.

Instructions

Read one Google Analytics 4 data stream, including its measurement id, default URI, and created and updated times. Use when the user names a stream and wants its measurement id or settings. Call ga4_list_data_streams when the stream id is not known yet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stream_idYesData stream ID (numeric, e.g., "789012")
property_idYesGA4 property ID (e.g., "123456" or "properties/123456")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.2

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds real value by disclosing the returned content (measurement id, default URI, timestamps), though it says nothing about auth requirements, rate limits, or errors.

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 compact sentences with the core action front-loaded, followed by usage condition and the sibling routing. Every sentence earns its place with no redundancy.

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 simple two-parameter read with no output schema, the description compensates by enumerating the returned fields and pointing to the list tool for id discovery. Combined with annotations carrying the safety profile, nothing needed to invoke it 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 coverage is 100%, so both property_id and stream_id are already documented with format examples ("789012", "properties/123456"). The description references the stream id but adds no formatting or semantics beyond the schema, so the baseline of 3 applies.

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 ("Read") and resource ("one Google Analytics 4 data stream") and enumerates what is returned (measurement id, default URI, created and updated times). It also distinguishes itself from the sibling ga4_list_data_streams by naming it, so an agent can pick it without opening the schema.

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

Usage Guidelines5/5

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

"Use when the user names a stream and wants its measurement id or settings" gives an explicit trigger, and "Call ga4_list_data_streams when the stream id is not known yet" names the alternative plus the condition that selects it. Nothing is left to inference.

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