Skip to main content
Glama
samarthanalytics-sj

Samarth GTM MCP Server

Official

ga4_create_property_access_binding

Grant a user access to a GA4 property by assigning roles. Requires user email, property ID, roles array, and confirmation to apply changes.

Instructions

[GA4 WRITE] Grant a user access to a GA4 property (needs analytics.manage.users scope). Requires GA4_MCP_ENABLE_WRITES=true and confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userYesEmail of the user to grant access to.
rolesYesRoles, e.g. ["predefinedRoles/read"], ["predefinedRoles/analyst"], ["predefinedRoles/editor"], ["predefinedRoles/admin"].
confirmYesMust be true to apply the change.
propertyYesGA4 property ID, e.g. "123456789" or "properties/123456789".
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses the write nature, required permissions, and the confirm flag. Missing details on idempotency, error behaviors, or success response, but covers essential safety guards.

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 description is a single sentence that efficiently conveys purpose and requirements. The bracketed '[GA4 WRITE]' may add clarity but is slightly redundant. Overall concise and front-loaded.

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

Completeness3/5

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

Given no output schema and four required parameters well-described in schema, the description covers behavioral prerequisites. However, it lacks information on response semantics, side effects, or whether the operation is idempotent. Adequate but not comprehensive.

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 baseline is 3. The description does not add additional meaning beyond the schema; it merely references the confirm parameter. No extra guidance on parameter formatting or constraints.

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?

The description clearly states the action ('Grant a user access') and the resource ('GA4 property'), with specific prerequisites. It distinguishes itself from sibling tools like ga4_delete_property_access_binding by explicitly being a write operation for granting access.

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?

The description provides required scope ('analytics.manage.users') and environment flags ('GA4_MCP_ENABLE_WRITES=true and confirm=true'), guiding when to use. However, it lacks explicit comparison to alternatives like 'ga4_update_property_access_binding' or account-level binding.

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