Skip to main content
Glama

Seller update listing

seller_update_listing

Patch an existing listing the calling seller owns. Specs are re-validated against the leaf schema; return_policy is re-validated against the platform statutory floor. Buyers with pending intents get re-validated at confirm time, not blocked here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
specsNoReplacement spec values; must match the listing's category spec schema.
titleNoNew product title (1-300 chars).
imagesNoReplacement image URL array (https, max 12); the first entry becomes the primary image.
width_mmNoNew package width in millimetres; null clears it.
height_mmNoNew package height in millimetres; null clears it.
length_mmNoNew package length in millimetres; null clears it.
product_idYesUUID of the listing to update. Omitted fields are left unchanged.
descriptionNoNew product description (max 20000 chars).
price_penceNoNew item price in pence (integer minor units).
vat_rate_bpNoNew VAT rate in basis points, 0-2500 (2000 = 20%).
weight_gramsNoNew item weight in grams; null clears it.
return_policyNoReplacement return-policy object; validated against platform floors.
certificationsNoReplacement list of certification labels.
shipping_penceNoNew shipping charge in pence (integer minor units).
country_of_originNoNew ISO 3166-1 alpha-2 country of origin; null clears it.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The description adds meaningful behavior beyond the annotations: specs are re-validated against the leaf schema, return_policy against the platform statutory floor, and most valuably, buyers with pending intents are re-validated at confirm time rather than blocked here. This prevents an agent from wrongly assuming the update will fail or trigger immediate re-validation. It doesn't cover every behavior, but the additions exceed what annotations already provide.

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 sentences with zero filler: purpose is front-loaded in the first sentence, and the two following sentences add high-value behavioral context about validation and deferred re-validation. Every sentence earns its place.

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?

For a 15-parameter mutation with nested objects and no output schema, the description covers the purpose and the highest-risk validation behaviors well, but it omits response/return semantics and failure behavior. The partial-update semantics ('omitted fields unchanged') are only present in the schema's product_id description, not the tool description, leaving a modest gap for a complex tool.

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 100%, so the schema carries the burden for all 15 parameters. The description adds value only for specs and return_policy by disclosing their re-validation rules; the other 13 parameters receive nothing beyond their schema docs. This matches the baseline-3 case for high schema coverage.

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 description states a specific verb (Patch), resource (existing listing), and ownership constraint (the calling seller owns), which unambiguously differentiates it from siblings like seller_create_listing, seller_archive_listing, and services_create_listing. The patch semantics are immediately clear from the first sentence.

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 ownership constraint and 'existing listing' phrasing imply this is the right tool for modifying a seller's own listing, but the description never names alternatives or states when not to use it. In particular, the boundary with seller_update_stock (which also mutates listing data) is left to inference rather than explicit routing.

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.