Skip to main content
Glama

Google Ads: link assets to account

link_assets_to_customer
Destructive

Links assets at the customer (account) level so they apply to all campaigns.

The assets can show at once, after Google approves them, in the ads of
every running campaign in the account that has no assets of the same
type of its own.

Args:
    customer_id: The Google Ads customer ID (numbers only, no hyphens).
    asset_resource_names: List of asset resource names to link.
    field_type: The asset field type. One of: SITELINK, CALLOUT, STRUCTURED_SNIPPET,
        CALL, PROMOTION, PRICE, LEAD_FORM, MOBILE_APP, BUSINESS_NAME, BUSINESS_LOGO.

Returns:
    Dictionary with the created customer asset link resource names.

Tools revision: d80f65c0.

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": {
      "customer_id": "<customer_id>",
      "asset_resource_names": "<asset_resource_names>",
      "field_type": "<field_type>"
    },
    "name": "link_assets_to_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
field_typeYes
customer_idYes
asset_resource_namesYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=false, and openWorld=true, so the safety profile is known. The description adds genuinely new context: assets only serve after Google approves them, and they apply only to campaigns without their own same-type assets. It stops short of warning that the link cannot be removed by re-running, or how duplicates behave given idempotent=false.

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 core purpose and effect are front-loaded in the first two sentences, and the Args block is compact rather than boilerplate. The middle sentence is slightly tangled ('can show at once, after Google approves them, in the ads of every running campaign'), and the Returns section duplicates an output schema that already exists.

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

Completeness4/5

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

For a three-parameter mutation with an output schema present, the description covers purpose, propagation behavior, approval latency, and all parameter meanings. What is missing is operational edge-case guidance — duplicate links, partial failures across a list of resource names — which matters given destructive=true and idempotent=false.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and mostly succeeds: customer_id is constrained to digits only with no hyphens, and field_type is enumerated with ten valid values that the schema leaves as a bare string with no enum. Only asset_resource_names is thin, restating the list without any format or example guidance.

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 and resource plus the level at which the link applies: 'Links assets at the customer (account) level so they apply to all campaigns.' That level qualifier is exactly what separates it from link_asset_to_campaign and link_asset_to_ad_group in the sibling list, so an agent can choose correctly 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 Guidelines3/5

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

The second sentence explains the effective behavior (assets serve in every running campaign lacking same-type assets of its own), which implies when account-level linking is appropriate. However, it never states when NOT to use this versus link_asset_to_campaign or link_asset_to_ad_group, nor any prerequisite such as assets already existing or approval status.

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