Skip to main content
Glama

Google Ads & Meta Ads

Google Analytics: List Google Ads Links

ga4_list_google_ads_links
Read-onlyIdempotent

List the Google Ads accounts linked to one GA4 property of the user's connected Google Analytics login: each link's Google Ads customer id, whether it is a manager link, whether ads personalization is on, and when it was created. The customer id matches gads_list_ad_accounts, which is how GA4 sessions and conversions are joined to Google Ads campaigns (sessionGoogleAdsCustomerId / sessionGoogleAdsCampaignId in ga4_run_report). Read-only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "property_id": "<property_id>"
    },
    "name": "ga4_list_google_ads_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
property_idYesThe GA4 property: its number (123456789) or properties/123456789. Must be one of the properties ga4_get_account_summaries lists for the connected login.

Output Schema

NameRequiredDescriptionDefault
linksYesOne entry per Google Ads link.
propertyYesproperties/<number>.
linkCountYesLinks found.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, and the description's 'Read-only' merely restates that. Beyond annotations it adds the identity-matching behavior (customer id equals the gads_list_ad_accounts id) and the per-property scoping, but says nothing about pagination, rate limits, or empty-result behavior. With an output schema present, the field enumeration is largely redundant with structured data.

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?

Three sentences, front-loaded with the operation and the returned fields, then the cross-tool identity link. The middle sentence is dense — it bundles the id equivalence, the join keys, and the report tool — but every clause carries actionable information, so there is little waste.

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 single-parameter read that has both full schema coverage and an output schema, the description covers purpose, prerequisite, and the cross-tool identity relationship an agent needs to use the result. Nothing required to invoke or interpret the call 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% and the parameter description already documents both accepted forms (numeric id or properties/123456789) and the prerequisite. The description confirms the property is scoped to the connected login but adds no format or constraint detail 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?

The description opens with a specific verb and resource ('List the Google Ads accounts linked to one GA4 property') and enumerates the returned fields (customer id, manager link flag, ads personalization, creation time). It also differentiates itself from the sibling gads_list_ad_accounts by explaining that the customer id is shared between them, so an agent can tell which tool gives the GA4-side linkage.

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?

It supplies the precondition for the single argument (the property must come from ga4_get_account_summaries) and explains the downstream purpose — joining GA4 sessions/conversions to Ads campaigns via sessionGoogleAdsCustomerId. There is no explicit 'do not use this when...' statement, but the cross-references to gads_list_ad_accounts and ga4_run_report give strong routing context.

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