Skip to main content
Glama

Seller Labs Amazon MCP

create_sp_negative_keywords

Add one or more negative keywords to an existing Sponsored Products ad group. Use list_sp_ad_groups or execute_sql against ad_group_performance to find adGroupId and campaignId.

Each negative keyword requires keywordText and matchType (NEGATIVE_EXACT or NEGATIVE_PHRASE). Shorthand EXACT and PHRASE are also accepted and normalized automatically. Negative keywords are created in ENABLED state.

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": {
      "adGroupId": "<adGroupId>",
      "campaignId": "<campaignId>",
      "keywords": "<keywords>",
      "venueId": "<venueId>"
    },
    "name": "create_sp_negative_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
venueIdYesVenue ID of the storefront to change (required; never defaulted). In an agency account each venue can be a different client, so if the user has not named the venue, ask them before calling. Use get_ads_connection_status or execute_sql with 'SELECT venue_id, name, marketplace_name FROM venues' to list venue IDs.
keywordsYesList of negative keywords to create (required)
adGroupIdYesAd group ID to add negative keywords to (required)
campaignIdYesCampaign ID (required)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose meaningful behavior: new entities land in ENABLED state, and matchType shorthands are 'normalized automatically' rather than rejected. It omits duplicate/idempotency behavior and what happens on conflict, which are the main remaining gaps for a creation tool.

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?

Four short lines, front-loaded with the action, then prerequisites, then payload rules, then resulting state. Every sentence supplies information an agent needs before calling; nothing is redundant padding.

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?

For a 4-parameter creation tool with no annotations and no output schema, the description covers target, prerequisites, payload format, and resulting state. It leaves the return value (created keyword IDs or a status) and failure modes unstated, which an agent would need for verification or retry logic.

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 coverage is 100%, so the baseline is 3, but the description adds real semantic value beyond the schema by explaining that bare EXACT and PHRASE are accepted and rewritten to NEGATIVE_EXACT / NEGATIVE_PHRASE. The venueId authorization nuance is handled in the schema rather than the description, and the description does not add to it.

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 a specific verb and resource ('Add one or more negative keywords to an existing Sponsored Products ad group') and pins the scope to negative keywords, which separates it from create_sp_keywords (positive keywords) and from list_sp_negative_keywords / delete_sp_negative_keywords. An agent can identify the operation and its target without opening any schema.

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

Usage Guidelines4/5

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

It states the precondition ('existing ad group') and routes the agent to concrete discovery steps for the required IDs ('Use list_sp_ad_groups or execute_sql against ad_group_performance to find adGroupId and campaignId'). It does not explicitly say when to prefer this over sibling mutation tools, but the negative-keyword scope makes the boundary obvious.

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