Skip to main content
Glama
samarthanalytics-sj

Samarth GTM MCP Server

Official

ga4_create_data_stream

Create a Google Analytics 4 data stream for web, Android, or iOS apps to start collecting data.

Instructions

[GA4 WRITE] Create a data stream (web / Android / iOS). Requires GA4_MCP_ENABLE_WRITES=true and confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoRaw request-body object (JSON) merged OVER the typed fields — use for nested/advanced fields not exposed as flat args.
typeYesStream type.
confirmYesMust be true to apply the change.
bundleIdNoFor IOS streams: the app bundle id.
propertyYesGA4 property ID, e.g. "123456789" or "properties/123456789".
defaultUriNoFor WEB streams: the site URL (sets webStreamData.defaultUri).
displayNameYes
packageNameNoFor ANDROID streams: the app package name.
Behavior2/5

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

With no annotations, the description only identifies it as a write operation requiring confirmation. It does not disclose idempotency, error conditions, permission scope, or consequences (e.g., quotas, duplication).

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?

Two sentences, front-loaded with purpose and critical requirements. Zero extraneous text.

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?

No output schema or description of return value. For a write tool, what the agent should expect after creation (e.g., the new stream object) is missing, leaving the agent guessing about the response format.

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 88% with good parameter descriptions. The tool description adds little beyond restating stream types and the confirm requirement, which are already clear from the schema.

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?

Clearly states action (create), resource (data stream), and types (web/Android/iOS). The GA4 WRITE tag and sibling tools help distinguish from list/update/delete operations.

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?

Explicitly mentions required prereqs (GA4_MCP_ENABLE_WRITES=true, confirm=true) but does not state when to avoid or specify alternatives beyond implied context from sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/samarthanalytics-sj/samarth-analytics-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server