Skip to main content
Glama
Google Ads MCP Server

Google Ads MCP Server

link_shared_set_to_campaign

Links a shared negative keyword list to a campaign so you can apply keyword exclusions consistently.

Instructions

Link a shared set (negative keyword list) to a campaign.

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": {
      "customerId": "<customerId>",
      "campaignId": "<campaignId>",
      "sharedSetId": "<sharedSetId>"
    },
    "name": "link_shared_set_to_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaignIdYesThe campaign ID
customerIdYesThe customer ID
sharedSetIdYesThe shared set ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and does not meet it. It does not state whether the link is idempotent, what happens if the shared set is already linked, whether the campaign's serving is affected, or what permissions are required for this mutation.

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?

A single sentence with zero filler, front-loading the verb and the two resources being connected. Nothing in it is redundant or misplaced; the brevity is a matter of missing detail addressed in other dimensions, not wasted wording.

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?

The tool is simple (three required string IDs, flat schema, no output schema), so the definition is minimally sufficient to invoke it correctly. However, as a mutation with no annotations and no description of side effects or error behavior, it leaves the agent without the context needed to call it confidently.

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 all three IDs are documented in the schema itself, which sets the baseline at 3. The description adds only the clarification that a shared set is a negative keyword list; it gives no additional constraints on the IDs or their relationships.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ('Link') and resource ('shared set ... to a campaign'), and parenthetically defines 'shared set' as a negative keyword list, which disambiguates it from the many other link_* siblings. It does not explicitly contrast with link_asset_to_campaign, but the resource nouns are distinct enough for an agent to choose correctly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus link_asset_to_campaign, add_shared_set_criteria, or create_shared_set, nor any stated prerequisites such as the shared set already existing or the campaign being mutable. The agent must infer usage entirely from the name and one-line purpose.

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

Deploy Server

Other Tools