Skip to main content
Glama

Render Listing Set

render_listing_set

Render a marketplace listing image set from one product cutout without an LLM API key, using provided facts to fill selected slots and skipping slots with missing copy.

Instructions

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 {prefix}.{code}.jpg. Lifestyle slots are skipped — they need a generative model. Pass facts with sellingPoints, dimensions, inBox and comparison rows; slots that are missing copy are skipped rather than invented. platform may be amazon, shopify, etsy or ebay.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cutout_path": "<cutout_path>",
      "output_dir": "<output_dir>",
      "product_name": "<product_name>"
    },
    "name": "render_listing_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
factsNo
slotsNo
prefixNoASIN
platformNoamazon
output_dirYes
cutout_pathYes
product_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the no-LLM-key guarantee, the pip install prerequisite, the exact default slot set, the output filename pattern, and crucially that missing copy causes slots to be skipped rather than hallucinated. It stops short of stating overwrite behavior, failure modes on a bad cutout_path, or whether output_dir is created.

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?

It is dense and front-loaded, leading with what the tool produces and following with prerequisites and behavioral caveats, and nearly every sentence adds a fact an agent would otherwise have to guess. The 'no LLM API key' claim is echoed by the later note that lifestyle slots need a generative model, a minor redundancy.

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

Completeness5/5

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

An output schema exists, so return values need no prose, and against a seven-parameter render tool the description supplies prerequisites, defaults, fallback behavior, and platform vocabulary. What remains unstated (overwrite semantics, error conditions) is secondary to selecting and invoking the tool correctly.

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 0%, so the description must compensate and largely does: it enumerates the `facts` sub-keys (sellingPoints, dimensions, inBox, comparison rows) and supplies the concrete `platform` values amazon/shopify/etsy/ebay even though the schema declares no enum. `slots` and `prefix` are only implied through the defaults and filename pattern, and the three required parameters (cutout_path, output_dir, product_name) are left to their self-explanatory names.

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?

It states a specific verb and resource ('Render a marketplace listing set from one product cutout') and immediately scopes the output with default slot codes and the `{prefix}.{code}.jpg` naming convention. The action is plainly distinct from the check/fix main-image siblings, but the description never names or routes against them, leaving differentiation to inference.

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?

Usage context is implied rather than stated: you need a cutout to start from and you need the `studio` extra installed, and lifestyle slots are excluded because they need a generative model. There is no explicit statement of when to prefer this over another tool, nor any note that a cutout must first be produced by a sibling tool such as inspect_and_cutout.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.