Skip to main content
Glama

Google Ads & Meta Ads

Google Ads: Update Shared Negative List

gads_update_shared_list
DestructiveIdempotent

Manage the account's shared negative lists in Google Ads: negative keyword lists and placement exclusion lists, which one edit applies to every campaign they are attached to. Call it with no arguments to list them with their sizes and campaigns; with shared_list_id to read one list's members. Creates a list (name plus type), renames one, adds negative keywords to a keyword list or website placements to a placement list, removes members by criterion id, and removes a whole list. Adds skip members the list already holds. Attach a list to a campaign with gads_update_campaign_negatives (attach_shared_list_ids); for a single campaign's own negatives use that tool too.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gads_update_shared_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoWithout shared_list_id: the name of a new list to create (a list with that name already is reused). With it: the list's new name.
typeNoType of a new list. NEGATIVE_KEYWORDS (the default) blocks search queries, NEGATIVE_PLACEMENTS blocks websites on the Display and Video networks.
placementsNoWebsites to ADD to a NEGATIVE_PLACEMENTS list, as a domain or page URL (example.com, example.com/news), at most 100 per call.
customer_idNoGoogle Ads account to change: customer id or exact account name. Required when you have several accounts — the stored default is never used for a change then.
remove_listNoTrue removes the whole list from the account, which detaches it from every campaign. Cannot be combined with other changes.
shared_list_idNoList to read or change. Omit to list every shared list, or to create one with name.
negative_keywordsNoNegative keywords to ADD to a NEGATIVE_KEYWORDS list, at most 100 per call. An entry may be a plain string or an object with a text and a match_type.
remove_criterion_idsNoCriterion ids of members to take out of the list, as reported by this tool.

Output Schema

NameRequiredDescriptionDefault
addedYesHow many members were added.
listsYesEvery shared negative list in the account.
membersYesMembers of that list. Empty when no single list was read.
removedYesHow many members were removed.
skippedNoWhat was already in place, and so was not written again.
customerIdYesAccount the lists belong to.
listCreatedNoTrue when this call created the list.
listRemovedNoTrue when this call removed the list.
membersTotalNoHow many members the list holds; members carries at most 200 of them.
sharedListIdNoThe list this call read or changed, if any.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description explains the blast radius — one edit applies to every campaign the list is attached to, and remove_list detaches it from every campaign and cannot be combined with other changes. It also states that already-present members are skipped, corroborating idempotency with concrete behavior.

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 definition is front-loaded with the resource and impact statement, then walks through modes in a logical order with no filler. It is dense — one long paragraph carrying seven operations — and would scan faster as a short list, but every sentence carries information.

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?

With an output schema present (return values need not be explained) and full schema coverage, the description fills the remaining gaps: mode selection, destructive consequences, idempotent add behavior, and the cross-tool handoff for attachment. Nothing an agent needs in order to call it correctly is missing.

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 100%, so the baseline is 3, but the description adds the parameter-combination logic the schema does not: which arguments switch between list, read, create, rename, add-member and delete modes, and that remove_list is exclusive. It is mostly routing guidance rather than deeper field-level semantics, so a 4 rather than 5.

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 names the concrete resource (shared negative lists: keyword lists and placement exclusion lists) and enumerates the exact operations — list, read, create, rename, add members, remove members, delete list. It also explicitly distinguishes itself from the sibling gads_update_campaign_negatives, which handles per-campaign negatives and attachment.

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 gives explicit mode-selection rules: no arguments lists everything, shared_list_id reads one list's members, name plus type creates, and attachment goes through gads_update_campaign_negatives instead. That is a clear when-to-use / which-tool split with no inference required.

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