Skip to main content
Glama

Seller Labs Amazon MCP

update_sp_product_ad_state

Enable or pause one or more Sponsored Products product ads. Use list_sp_product_ads to find ad IDs first.

Supported state values: ENABLED, PAUSED.

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": {
      "adIds": "<adIds>",
      "state": "<state>",
      "venueId": "<venueId>"
    },
    "name": "update_sp_product_ad_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
adIdsYesList of product ad IDs to update (required). Use list_sp_product_ads to find ad IDs.
stateYesNew state: ENABLED or PAUSED (required)
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden: it discloses that this is a state mutation and lists the allowed values, which is useful. It says nothing about whether multi-ID updates are atomic, what permissions are required, or what the call returns on partial failure — meaningful gaps for a bulk write operation.

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 lines, front-loaded with the action, followed by the prerequisite and the legal values. Every sentence is functional with no filler.

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 three-parameter mutation with no output schema, the definition covers action, prerequisite lookup, and valid values, and the schema already handles venue-ID disambiguation. The remaining gap is outcome behavior for bulk updates, which is minor given the otherwise complete schema.

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 coverage is 100%, so all three parameters are already fully documented, including the venue-ID agency-account caveat and the lookup path. The description's restatement of ENABLED/PAUSED and the list_sp_product_ads pointer adds no meaning beyond the schema, so the baseline 3 applies.

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?

States a specific verb pair (enable/pause) and resource (Sponsored Products product ads), which cleanly separates it from siblings like update_sp_keyword_state or update_sp_ad_group. An agent can identify the operation without opening the 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?

Explicitly routes the agent to list_sp_product_ads as the prerequisite step for obtaining ad IDs, and enumerates the two legal state values. It stops short of stating when-not to use this tool (e.g., campaign- or ad-group-level state changes belong to update_sp_campaign / update_sp_ad_group).

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