Skip to main content
Glama

Seller Labs Amazon MCP

move_sp_keywords

Move one or more Sponsored Products keywords to a different ad group. Keywords can be moved within the same campaign or to an ad group in a different campaign. The keywords are deleted from their current ad group and recreated in the target ad group, preserving keywordText, matchType, bid, and state.

Note: because Amazon does not support updating a keyword's ad group directly, this operation deletes and recreates each keyword. The keywordId will change. The response includes an idMapping field that attempts to pair old IDs to new IDs by position, but Amazon does not guarantee that created keywords are returned in submission order, so treat idMapping as best-effort only.

Use list_sp_keywords to find keywordId values. Use list_sp_ad_groups to find the targetAdGroupId and targetCampaignId. targetCampaignId must be the campaign that owns the target ad group.

negateInSource (optional, default false): If true, NEGATIVE_EXACT negatives are added to each source ad group for each keyword being moved, preventing the source ad group from matching those search terms after the move. This is useful for keyword harvesting workflows. IMPORTANT: When negateInSource is true, you MUST present the full impact to the seller and obtain explicit confirmation before proceeding. The tool will return requiresConfirmation=true with a warning on the first call — re-call with confirmed=true only after the seller approves.

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": {
      "keywordIds": "<keywordIds>",
      "targetAdGroupId": "<targetAdGroupId>",
      "targetCampaignId": "<targetCampaignId>",
      "venueId": "<venueId>"
    },
    "name": "move_sp_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.
confirmedNoSet to true to confirm you have reviewed the warnings and the seller approves the operation. Required when negateInSource=true.
keywordIdsYesList of keyword IDs to move (required). Use list_sp_keywords to find IDs.
negateInSourceNoIf true, adds a NEGATIVE_EXACT negative keyword to each source ad group for every keyword being moved, preventing the source ad group from bidding on those terms after the move. Defaults to false. Requires confirmed=true to proceed.
targetAdGroupIdYesTarget ad group ID to move keywords into (required)
targetCampaignIdYesTarget campaign ID (required — must match the target ad group's campaign)

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?

No annotations are supplied, so the description carries the full burden and does: it discloses that keywords are deleted and recreated, that keywordId will change, and that idMapping is best-effort because Amazon does not guarantee submission order. It also discloses the destructive side effect of negateInSource (negatives added to source ad groups) and the mandatory seller-confirmation gate.

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 the core action and mechanic, then prerequisites, then optionals, then the confirmation warning — a sensible ordering. Slightly overweighted: negateInSource's behavior is described in both the body and the IMPORTANT paragraph, and the delete/recreate consequence is restated twice.

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?

There is no output schema, and the description compensates by describing the response signals an agent must react to (idMapping and its unreliability, requiresConfirmation=true, warning). For a mutation tool with a non-trivial side-effect path, nothing needed 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 coverage is 100%, so the baseline is 3, but the description adds real semantics beyond the schema: negateInSource's exact effect on the source ad group and its dependency on confirmed, plus the invariant that targetCampaignId must match the target ad group's campaign. It stops short of expanding on venueId implications.

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?

Names a specific verb and resource ('Move one or more Sponsored Products keywords') plus the scope ('within the same campaign or to an ad group in a different campaign'). It also explains the underlying mechanic (delete + recreate) that distinguishes it from the update_* siblings.

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?

Explicitly routes the agent to list_sp_keywords for keywordIds and list_sp_ad_groups for targetAdGroupId/targetCampaignId, states that targetCampaignId must own the target ad group, and gives a concrete when-to-use scenario for negateInSource ('keyword harvesting workflows'). The two-step requiresConfirmation/confirmed flow is spelled out rather than left to inference.

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