Skip to main content
Glama

products_edit

Change a product. Money is integer minor units (cents). Calling this changes nothing: it returns a preview of what would change and a confirmation link. Only the merchant, on that page, can make it happen.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoREPLACES the tag list, so pass the whole of it. Read it first.
titleNo
statusNoactive is on sale the moment the merchant confirms; draft and archived hide it.
vendorNo
productYesThe product, by handle or by (enough of) its title.
seoTitleNoThe title search results show for the product page, about 60 characters. Empty falls back to the title.
collectionsNoManual collection handles. REPLACES membership, so pass the whole list. Not for a price: that is products.bulk_price_edit.
descriptionNo
seoDescriptionNoThe line under it in search results, about 155 characters. Empty falls back to the description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

This is the standout. With annotations only saying readOnlyHint=false/destructiveHint=false/idempotentHint=false, the description adds critical non-obvious behavior: the call changes nothing, returns a preview of proposed changes plus a confirmation link, and only the merchant can complete it. It also discloses the money-as-integer-cents convention. None of this is derivable from the annotations.

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 tight sentences, zero waste, and the verb+resource is front-loaded before the surprising behavioral caveat. Nothing could be removed without losing meaning.

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 mutation-flow tool with no output schema, the description does explain what the call returns (a preview and confirmation link), which is exactly the burden it must carry. It is nearly complete; a small gap is that it does not clarify which fields are editable, though the schema covers that.

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 description coverage is 67% and the schema descriptions are already rich (tags REPLACES the list, status enum semantics, collections REPLACES membership). The description only adds the cents-unit convention, which does not even map to a visible schema parameter. Baseline 3 is appropriate since the schema does most of the heavy lifting.

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?

States a specific verb and resource ('Change a product'), and the second/third sentences clarify the actual nature of the operation (a preview generator, not a direct mutation). It does not name sibling alternatives like products_set_status or products_bulk_price_edit in the description itself (though the schema does).

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

Usage Guidelines3/5

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

The description conveys important workflow context ('Only the merchant, on that page, can make it happen'), which is implicit usage guidance about a two-phase confirmation flow. However it gives no explicit when-to-use-vs-alternative routing; sibling disambiguation (e.g. bulk_price_edit, set_status) lives only in the schema, not the description.

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