Skip to main content
Glama

Update Listing

hgr_update_listing
Destructive

Changes editable fields of one exact listing variation using HGRApi SaveProductChanges. Call only after the listing is exact and the user explicitly confirmed the action. Requires HGRApi Header channel / ChannelOAuthId resolved internally.

Input Schema

NameRequiredDescriptionDefault
notesNoNew listing notes.
priceNoNew channel price.
titleNoNew listing title.
markupNoNew percentage markup.
quantityNoNew channel stock quantity.
confirmedYesMust be true after the user explicitly requested or confirmed the exact change.
primeOnlyNoWhether this listing should use Prime-only source offers when applicable.
productIdNoVisible marketplace Product Id / primary id. Prefer this when the user provides a Product Id.
sourceUrlNoNew source product URL.
ignoreRulesNoWhether this listing ignores pricing rules.
markupFixedNoNew fixed markup.
minQuantityNoNew minimum quantity setting.
monitorPriceNoWhether HGR should monitor source price for this listing.
monitorStockNoWhether HGR should monitor source stock for this listing.
returnPolicyNoNew marketplace return business policy id.
paymentPolicyNoNew marketplace payment business policy id.
channelOAuthIdYesChannelOAuthId returned by hgr_list_channels for the selected visible store.
shippingPolicyNoNew marketplace shipping business policy id.
maxDeliveryDaysNoNew maximum delivery days setting.
dispatchTimeDaysNoNew dispatch handling time in days.
variationProductIdNoVisible variation Product Id / primary id when the listing has multiple variations.
monitorPriceDecreaseNoWhether HGR should monitor source price decreases for this listing.
priceDecreasePercentageNoPrice decrease percentage setting.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true; the description adds the confirmation requirement and notes the channel header is resolved internally, which is beyond the structured data. It still omits the most consequential mutation detail: whether omitted optional fields are left untouched or cleared, and what a partial failure looks like.

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?

Three short sentences with the purpose front-loaded, the safety gate second, and infrastructure notes last. No filler, though the trailing header/auth sentence could be tightened given channelOAuthId is already documented in the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and annotations carry the safety profile, so those burdens are lifted. But for a 23-parameter destructive mutation with no idempotency, the description never explains partial-update semantics, identifier precedence (productId vs variationProductId), or which fields are actually editable — the gaps an agent is most likely to hit.

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% with all 23 parameters individually described, so the description needn't restate them. It adds a small amount of routing context — that this targets one exact variation and that channel identity comes from the HGRApi header — though the phrase 'ChannelOAuthId resolved internally' sits awkwardly against channelOAuthId being a required input, which slightly muddies rather than clarifies.

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?

A specific verb plus resource ('Changes editable fields of one exact listing variation') and the underlying API call (SaveProductChanges). 'One exact listing variation' implicitly separates it from bulk siblings like hgr_post_searchproduct_savemultipleproductchanges, but no sibling is named explicitly.

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?

Gives a real precondition ('Call only after the listing is exact and the user explicitly confirmed the action'), which is useful gating guidance. However, it names no alternatives — nothing tells the agent whether to use this versus hgr_post_searchproduct_savemultipleproductchanges for bulk edits, hgr_update_pricing_rule for rule-level changes, or hgr_post_listingcreate_editpending for pending listings.

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