Skip to main content
Glama

ADS MCP

Add Negative Keywords

add_negative_keywords

Add negative keywords at campaign, ad group, or account level. For account-level (applies to ALL campaigns including PMax), use shared_set_name. Max 50 per call.

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": {
      "user_intent": "<user_intent>",
      "keywords": "<keywords>"
    },
    "name": "add_negative_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordsYes
customer_idNo
user_intentYes
shared_set_nameNoFor account-level negatives: any label name e.g. 'Account Negatives'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the mutation is declared. The description adds two real behavioral facts beyond that: a hard batch ceiling ('Max 50 per call') and the blast radius of shared_set_name (applies to ALL campaigns including PMax). It does not say what happens on exceeding 50, whether duplicates are rejected, or what the call returns.

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?

Three short sentences, front-loaded with scope, then the account-level escape hatch, then the batch limit. Every sentence carries information an agent needs; nothing is repeated from the title or annotations.

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?

For a 4-parameter mutation tool with no output schema and only 25% schema coverage, the description covers the level-selection logic and the batch cap well. It leaves the required user_intent parameter entirely unexplained and gives no error or return behavior, so an agent still has to guess at part of the invocation contract.

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?

No contradiction found, and shared_set_name gets explicit meaning beyond the schema ('any label name e.g. Account Negatives', account-wide scope). The keywords batch limit is also stated. Missing: any explanation of the required 'user_intent' parameter or of customer_id, and no explanation of how the per-keyword campaign_id/ad_group_id fields interact with the level choice.

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 opens with a specific verb+resource ('Add negative keywords') and enumerates the three supported levels (campaign, ad group, account), which lets an agent distinguish it from a positive-keyword tool like add_keywords. It stops short of naming that sibling explicitly, so differentiation is by inference rather than routing.

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?

It gives a clear conditional: use shared_set_name for account-level negatives that apply to ALL campaigns including PMax. That is genuine when-to-use guidance for one branch, but there is no statement of when NOT to use this tool (e.g., for positive keywords) and no guidance on choosing campaign_id vs ad_group_id vs shared_set_name beyond the account case.

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.