Skip to main content
Glama

Adbloop Meta Ads

update_catalog_product

Destructive

Edit an existing catalog product. Send only the fields you want to change; omitted fields are left as-is. Price is in major units as a string (e.g. "9.99"). Requires confirm:true after the user approves the product and changed fields.

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": {
      "product_id": "<product_id>",
      "confirm": "<confirm>"
    },
    "name": "update_catalog_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
nameNo
brandNo
priceNoPrice in major units, e.g. "9.99".
confirmYesMust be true, and only after the user has explicitly approved this exact change (account, items and new values) in the conversation.
currencyNo3-letter currency code. Send together with price.
image_urlNo
product_idYesThe product id to edit.
descriptionNo
availabilityNoOne of: in stock, out of stock, preorder, available for order, discontinued.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "Must be true, and only after the user has explicitly approved this exact change (account, items and new values) in the conversation.",
      +  "type": "boolean"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "product_id"
      -]New value: +[
      +  "product_id",
      +  "confirm"
      +]
  2. Added

TDQS

A3.8/5.0
Behavior3/5

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

Beyond the annotations it discloses merge semantics (omitted fields untouched) and a mandatory human-approval gate before confirm:true, which are genuine behavioral requirements. However, destructiveHint=true is never explained: the description does not say what is at risk, whether an edit can overwrite availability or price irreversibly, or what an error looks like. Useful additions, but incomplete for a destructive mutation.

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 tightly packed sentences: identity, mutation semantics, format caveat, then the approval gate. The most important constraint (partial update) is front-loaded and nothing is redundant.

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 10-parameter destructive mutation with no output schema, it covers the essentials an agent needs to call it correctly: patch behavior, price format, currency pairing via schema, and the approval gate. It could still say more about failure modes or the effect of an edit on listings, but it is largely complete.

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 50%, and the two field notes the description supplies (price in major units as a string, confirm only after approval) are already stated nearly verbatim in the schema property descriptions. Half the parameters (url, name, brand, image_url, description) get no guidance anywhere, so the description neither adds much nor compensates for the gap.

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?

"Edit an existing catalog product" is a specific verb-plus-resource that an agent can easily separate from create_catalog_product and delete_catalog_product. It stops short of naming those siblings, but the verb alone carries the distinction.

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?

"Send only the fields you want to change; omitted fields are left as-is" tells the agent this is a partial/patch update rather than a full replace, which is the key usage decision. It also gates invocation on user approval via confirm:true, though it never explicitly contrasts with create/delete.

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