Skip to main content
Glama
samarthanalytics-sj

Samarth GTM MCP Server

Official

ga4_create_google_ads_link

Create a link between a GA4 property and a Google Ads customer account to enable ad personalization and data sharing. Requires write mode and confirmation.

Instructions

[GA4 WRITE] Create a Google Ads link. Requires GA4_MCP_ENABLE_WRITES=true and confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmYesMust be true to apply the change.
propertyYesGA4 property ID, e.g. "123456789" or "properties/123456789".
customerIdYesGoogle Ads customer ID (digits, no dashes).
adsPersonalizationEnabledNo
Behavior3/5

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

No annotations are provided, so the description carries full burden. It indicates this is a write operation ('[GA4 WRITE]') and requires explicit confirmation ('confirm=true'). However, it does not disclose what happens on success/failure, whether the operation is idempotent, or any rate limits. The confirmation requirement adds transparency but more context could be given.

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, concise sentence that front-loads the purpose and crucial requirements. No redundant words. It could include a brief note on return value but remains efficient for its purpose.

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?

For a simple creation tool with no output schema and well-documented parameters, the description covers the key prerequisites. However, it lacks information about expected output, error scenarios (e.g., duplicate link), or required permissions beyond the environment variable. Given the complexity (4 parameters, no output schema), it is adequate but not thorough.

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 description coverage is 75% (3 of 4 parameters documented). The tool description repeats the confirmation requirement but adds no new parameter-specific information beyond the schema. Since the schema already covers most parameters, the description adds minimal value here. Baseline 3 is appropriate.

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 verb 'Create' and the resource 'a Google Ads link'. The prefix '[GA4 WRITE]' distinguishes it as a write operation. It differentiates from sibling tools like ga4_update_google_ads_link and ga4_delete_google_ads_link by specifying creation.

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 explicitly mentions prerequisites: 'Requires GA4_MCP_ENABLE_WRITES=true and confirm=true.' This tells the agent when to use it (when writes are enabled and confirmation is provided). However, it lacks explicit guidance on alternatives or when not to use this tool (e.g., if link already exists, use update instead).

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