Skip to main content
Glama

Seller create listing

seller_create_listing

Create a product listing. Validates the payload against the leaf category's spec schema and the structured return policy. Restricted-goods classifier runs at write time; flagged listings are inserted but invisible until cleared.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugNoURL slug base (lowercase letters, digits, hyphens); a random suffix is appended. Omit to derive from title.
specsYesCategory-specific spec values; must match the category's spec schema.
stockYesInitial units in stock. Defaults to 0.
titleYesProduct title shown to buyers (1-300 chars).
imagesYesImage URLs (https, max 12); the first entry becomes the primary image.
width_mmNoPackage width in millimetres.
height_mmNoPackage height in millimetres.
length_mmNoPackage length in millimetres.
descriptionYesFull product description (max 20000 chars).
price_penceYesItem price in pence (integer minor units of the seller's currency).
vat_rate_bpYesVAT rate in basis points, 0-2500 (2000 = 20%). Defaults to 0.
weight_gramsNoItem weight in grams.
category_slugYesSlug of a leaf catalog category to list under.
return_policyNoReturn-policy object; omit to use the seller-country default. Validated against platform floors.
certificationsYesCertification labels the product holds (free-form strings).
shipping_penceYesShipping charge in pence (integer minor units). Defaults to 0.
country_of_originNoISO 3166-1 alpha-2 country of origin (e.g. GB).

Schema Changelog

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

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Discloses write-time behavior beyond the annotations: payload validation against the leaf category spec and return policy, plus the restricted-goods classifier that leaves flagged listings inserted but invisible until cleared. This is valuable because the annotations only indicate non-readOnly and provide no moderation or visibility context.

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, front-loaded with the core action followed by two high-value caveats. No redundancy with the schema and no filler.

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 complex 17-parameter create tool with no output schema, the description covers the non-obvious side effects: validation and moderation queueing. It could mention the return value or resulting listing identifier, but the essential call contract is clear from schema and description together.

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 every parameter is already documented. The description's validation note mostly restates schema details for specs and return_policy, adding little new parameter-level meaning.

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?

States a specific verb ('Create') and resource ('product listing'), which clearly differentiates it from siblings like seller_update_listing, seller_archive_listing, and services_create_listing. The validation and moderation details reinforce that this is the listing-creation entry point.

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 create verb implies initial listing creation versus updating or archiving, but the description gives no explicit when-to-use/when-not-to-use guidance. It does not name alternatives such as services_create_listing for service listings or seller_update_listing for changes.

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.