amazon-listing-kit
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AMAZON_LISTING_KIT_MODEL_DIR | No | Override the model cache directory (defaults to ~/.cache/amazon-listing-kit/models/). | |
| AMAZON_LISTING_KIT_AUTO_DOWNLOAD | No | Set to 0 to disable automatic model downloads. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Check and fix Amazon main images (pure white RGB 255, 85% fill, 2000×2000) and render a programmatic listing set (main, infographic, dimensions, detail, angle, in-box, comparison) without a generative-model API key. Cutout and listing-set tools need the [studio] extra.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_main_imageA | Check a product photo against Amazon main-image rules. Measures six things: longest side (1,000 px min, 2,000 recommended), square ratio, file format and 10 MB limit, pure white RGB 255, 255, 255 background, 85% product fill, and whether the product is cropped at the edge. The photo is read from disk only; nothing is uploaded. Other platforms still get the Amazon report plus a short note, because those marketplaces are more relaxed. |
| fix_main_imageA | Replace the backdrop with pure white, reframe the product, and re-check. Writes a square JPEG (default 2000×2000) with the product filling about 88% of the frame on RGB 255, 255, 255, then returns a fresh compliance report for the written file. Works on light-grey or off-white backdrops; busy scenes may still need a manual cutout. |
| inspect_and_cutoutA | Inspect a source photo and write an RGBA cutout using a local ONNX model. Requires the studio extra: pip install 'amazon-listing-kit[studio]'.
|
| render_listing_setA | Render a marketplace listing set from one product cutout. No LLM API key. Requires the studio extra: pip install 'amazon-listing-kit[studio]'.
By default renders Amazon slots MAIN, PT01 (infographic), PT03 (dimensions),
PT04 (detail), PT05 (angle), PT07 (in-box) and PT08 (comparison), named
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
The four tools map to distinct stages: check (read-only validation), fix (write/repair), cutout (extraction), and render (set generation). The only mild overlap is that fix_main_image also returns a compliance report, which could tempt an agent to use it instead of check_main_image for validation, but the write-vs-read distinction is clear.
All names use snake_case and begin with a verb, making them predictable. inspect_and_cutout bundles two actions into one name, a minor inconsistency compared to the single verb_noun pattern of the others, but overall readable.
Four tools is well-scoped for an image-preparation kit; each tool covers a necessary step (check, fix, cutout, render) with no redundant entries. The count sits comfortably in the recommended range.
The surface covers the core image lifecycle: validation, repair, cutout extraction, and multi-slot rendering. Gaps include no tool for lifestyle image generation (acknowledged as out of scope) and no batch or multi-image validation, but these are minor for the stated purpose.