Skip to main content
Glama
kLOsk

Google Ads - AdLoop

by kLOsk

Draft attaching a shared set

attach_shared_set_to_campaigns

Attach an existing shared set, like negative keywords, to one or more campaigns. Returns a preview for confirmation before applying.

Instructions

Attach an existing shared set to one or more campaigns — returns a PREVIEW.

Creates CampaignSharedSet linkages so the campaigns inherit the shared set's criteria (e.g. negative keywords). Most commonly used to attach a shared negative keyword list to newly-built campaigns.

Use get_negative_keyword_lists to find the shared_set_id, and get_negative_keyword_list_campaigns to inspect existing attachments.

shared_set_id: numeric ID from get_negative_keyword_lists. campaign_ids: list of numeric campaign IDs to attach the set to.

Call confirm_and_apply with the returned plan_id to execute.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customer_idNo
campaign_idsYes
shared_set_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.2
  2. Removedv0.13.0
  3. First observedv0.9.0

TDQS

A4.8/5.0
Behavior5/5

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

The description transparently discloses non-obvious behavior: it returns a PREVIEW and requires a subsequent call to confirm_and_apply to actually execute. This goes beyond the annotations (readOnlyHint=false, destructiveHint=false) which do not capture the preview/confirm pattern. The agent is fully aware of the tool's side effects.

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 repeats the preview/confirm behavior in the first and last sentences, which is slightly redundant. However, the overall structure is logical: summary, detailed explanation, parameter notes. It is not overly long and the redundancy reinforces the critical workflow.

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?

The description provides all necessary context for an agent to act: what the tool does, how it relates to other tools (get_negative_keyword_lists, confirm_and_apply), the fact that it returns a plan_id, and the need for confirmation. It is self-contained enough to guide the agent without needing additional references.

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?

The description adds meaning for shared_set_id and campaign_ids (including numeric type and how to obtain them), but does not explain customer_id, which is a common but still important parameter. Coverage is good for 2 of 3 params, and the extra guidance on deriving shared_set_id from get_negative_keyword_lists is valuable.

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 identifies the action (attach), the resource (shared set), and the target (campaigns), and distinguishes it from related tools like detach_shared_set_from_campaigns. It also explains the purpose (inheriting negative keywords) precisely.

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

Usage Guidelines5/5

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

It explicitly states the common use case ('Most commonly used to attach a shared negative keyword list to newly-built campaigns') and provides the full workflow: fetch the shared_set_id, attach, then confirm with confirm_and_apply. This gives the agent clear guidance on when and how to use the tool.

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