Skip to main content
Glama

Google Ads & Meta Ads

Merchant Center: Update Product Input

gmc_update_product_input
DestructiveIdempotent

Change selected attributes of products in a Google Merchant Center account — the landing-page link, mobile link, title, description, image, price or sale price (with currency), availability, condition, brand, GTIN, MPN, Google product category, product types or custom labels — without resubmitting the rest. Only the attributes passed change. Google accepts this only for products whose data source is an API source (gmc_get_product shows patchable); a product from a file, sheet, shop connection or the Merchant Center interface is refused with an explanation of where to change it. The change is submitted for processing: Google reprocesses the product within minutes, so verify later with gmc_get_product. Needs a STANDARD or ADMIN login. For more than one product pass products (up to 50 rows, each with product_id and the attributes to change) instead of calling this once per product; the result lists each row as submitted or refused. A changed price or availability is live in Shopping ads as soon as Google processes it, so the call is a dry run by default: confirm=false reads each product and reports current → proposed values, changing nothing; show that to the user and call again with confirm=true only after they approve those exact values.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gmc_update_product_input"
  }
}

Input Schema

NameRequiredDescriptionDefault
mpnNoManufacturer part number.
gtinNoGTIN(s), 8–14 digits each, replacing the current list.
linkNoLanding-page URL of the product (http/https).
brandNoBrand.
priceNoPrice as a decimal amount, e.g. 19.99; pass currency too.
titleNoProduct title.
confirmNofalse (default): dry run — reports the current value and what would change, changes nothing. true: submit the change(s) — set only after the user explicitly confirmed this exact change in this conversation.
currencyNoThree-letter ISO currency of price / sale_price, e.g. EUR.
offer_idNoThe merchant's offer id (SKU), when product_id is not passed.
productsNoBatch form, up to 50 products in this account: use instead of the single-product arguments when changing more than one product.
conditionNoItem condition.
account_idNoNumeric Merchant Center account id, from gmc_list_accounts. May be left out when the connected login reaches exactly one account.
feed_labelNoFeed label of the product, e.g. FR.
image_linkNoMain image URL.
product_idNoThe product id contentLanguage~feedLabel~offerId, e.g. fr~FR~SKU-123 (the id column of gmc_query's product_view). Or pass the three parts below.
sale_priceNoSale price as a decimal amount; pass currency too.
data_sourceNoNumeric id of the API data source holding the product input. Default: the product's own primary source (must be an API source).
descriptionNoProduct description.
mobile_linkNoMobile landing-page URL.
availabilityNoStock status.
product_typesNoThe merchant's own category paths, replacing the current list.
canonical_linkNoCanonical URL of the landing page.
custom_label_0NoCustom label 0 for campaign grouping.
custom_label_1NoCustom label 1 for campaign grouping.
custom_label_2NoCustom label 2 for campaign grouping.
custom_label_3NoCustom label 3 for campaign grouping.
custom_label_4NoCustom label 4 for campaign grouping.
content_languageNoTwo-letter content language of the product, e.g. fr.
additional_image_linksNoFurther image URLs, replacing the current list.
google_product_categoryNoGoogle product category, as id or full path.

Output Schema

NameRequiredDescriptionDefault
dryRunYesTrue when confirm was not set: nothing was changed.
failedNoBatch form: products refused.
changedNoThe attribute arguments applied.
resultsNoBatch form: one entry per input row.
updatedNoBatch form: products submitted.
previousNoEach changed attribute's value on the processed product before the call, as text.
accountIdYesMerchant Center account.
productIdNocontentLanguage~feedLabel~offerId.
submittedNoEach changed attribute's new value as submitted, as text.
processingYesTrue when the change was submitted (Google processes it asynchronously; verify with gmc_get_product); false on a dry run.
dataSourceIdNoThe API data source the input was patched in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Well beyond what the annotations declare: the description discloses that the tool is a dry run by default (confirm=false reads and reports current → proposed values, changing nothing), that confirm=true produces a change that is live in Shopping ads after reprocessing 'within minutes', and that a STANDARD or ADMIN login is required. The API-source restriction and the per-row refused/submitted reporting for batch calls add real behavioral context.

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 and dense: purpose, then patchable attributes, then the source restriction, then batch, then the dry-run gate. It is a single long paragraph where the confirm workflow might be clearer as its own lead, and the attribute list is a lengthy enumeration, but every sentence carries operational content with no filler.

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?

For a 30-parameter destructive mutation with an output schema and full annotation coverage, the description closes the gaps that matter: how to gate the write (dry run then confirm), which products are eligible, what happens after submission (reprocessing, ad impact), how to batch, and where to verify. Nothing an agent needs to call it safely is missing.

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 the schema already documents all 30 parameters including product_id composition and the currency pairing. The description adds meaning at the level of intent rather than individual parameters: only the attributes passed are changed, the batch maximum is 50 rows with product_id plus attributes each, and confirm must be re-issued with identical values after user approval. It adds little per-parameter semantics beyond the schema.

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 opening states a specific verb (change), resource (products in a Google Merchant Center account) and an explicit scope limitation: 'without resubmitting the rest. Only the attributes passed change.' That partial-update framing plus the enumerated patchable attributes lets an agent distinguish it from creation/read siblings such as gmc_insert_product_input and gmc_get_product 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?

Strong conditional guidance: use the batch `products` form rather than one call per product when changing more than one product, only API-sourced products are accepted, and the result should be verified later with gmc_get_product. It also states the dry-run-then-confirm workflow. It does not name gmc_insert_product_input as the alternative for new products, so the create-vs-update boundary is only implied by 'without resubmitting the rest'.

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