Skip to main content
Glama
kLOsk

AdLoop: Google Ads, Reddit Ads & GA4

List negative keywords

get_negative_keywords
Read-only

List existing Google Ads negative keywords for one campaign or all campaigns to spot duplicates before adding new negatives, with match types, resource IDs, and total counts.

Instructions

List existing negative keywords for a campaign or all campaigns.

Shows the existing negatives, which reveals duplicates before new negative keywords are added. Returns each negative's campaign, keyword text, match type, and a resource_id ("campaignId~criterionId") as taken by remove_entity, plus the total count.

Google Ads API: https://developers.google.com/google-ads/api/docs/start

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaign_idNoNumeric campaign ID to filter by. If empty, returns negatives across all campaigns.
customer_idNoGoogle Ads customer ID, digits with or without dashes (e.g. "123-456-7890"). Defaults to the configured ads.customer_id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.27.1
    • addedInput schema / properties / campaign_id / description
      Added value: +"Numeric campaign ID to filter by. If empty, returns\nnegatives across all campaigns."
    • addedInput schema / properties / customer_id / description
      Added value: +"Google Ads customer ID, digits with or without dashes\n(e.g. \"123-456-7890\"). Defaults to the configured ads.customer_id."
  2. First observedv0.9.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered and the description is not burdened with it. What the description adds beyond structured data is the cross-tool contract: the returned resource_id format ('campaignId~criterionId') is explicitly the value accepted by remove_entity, which is genuinely useful linking behavior not encoded in the schema.

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?

Front-loaded with purpose, then return shape, then a reference link; no sentence is redundant. The trailing Google Ads API URL is marginal filler but short enough not to dilute the structure.

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?

An output schema exists, so return values need not be enumerated in prose (though the description helpfully does), and both parameters are fully described in the schema. The only meaningful gap is explicit disambiguation from the negative-keyword-list tools that share the same domain vocabulary.

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 description coverage is 100% for both optional parameters (campaign_id, customer_id), so the schema fully documents filtering and defaulting behavior. The description adds nothing about parameter syntax or empty-value semantics beyond what the schema states, so the baseline 3 applies.

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?

States a specific verb and resource ('List existing negative keywords') plus scope ('for a campaign or all campaigns'), so an agent knows what it returns. It does not, however, distinguish itself from the nearby negative-keyword-list siblings (get_negative_keyword_list_keywords, get_negative_keyword_list_campaigns), which address a different resource (shared sets) and could plausibly be confused with this one.

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 line 'reveals duplicates before new negative keywords are added' implies the check-before-write workflow with add_negative_keywords, which is real but indirect guidance. There is no explicit when-to-use/when-not and no sibling is named as an alternative, leaving the choice to inference.

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