Skip to main content
Glama

product_shot

Destructive

Turn a product photo into a marketplace-ready listing image in one call. The server finds the product, cuts it out, frames it at the marketplace's size and shape, puts it on a background, adds a soft ground shadow, gives it digital-first color (screens and a white page make products look muted) and exports a JPEG (a PNG when the background is transparent). It takes a checkpoint first and puts the image back if anything fails or no product is found. The image must have a single layer. Marketplaces: amazon (2000x2000; main image: pure white background, product at least 85% of the frame.) etsy_square (2000x2000; Etsy recommends listing photos at least 2000 px on the short side.) etsy_landscape (2700x2025; Etsy recommends listing photos at least 2000 px on the short side.) shopify (2048x2048; square product images up to 2048 x 2048 px zoom well in most themes.) ebay (1600x1600; eBay recommends at least 1600 px on the longest side for zoom.) background: white (default), transparent (a PNG with no background), a color like #f3e9dc, gradient (top to bottom, from gradient_top, default white, to gradient_bottom, default a 15% darker shade of the top), or upload: (another photo as the background); amazon allows only white. backdrop: flat (default) or studio (a soft darker falloff, 15% darker at the corners, white or color backgrounds only). shadow: on by default (off for amazon). color: digital (default) or true (no color change), color_strength 0-100 (eased automatically for a product whose colors are already strong, so they don't clip). fill: the product's share of the frame's limiting side, 0.5-0.95, default 0.85.

Input Schema

NameRequiredDescriptionDefault
fillNoThe product's share of the frame's limiting side.
colorNodigital: a little more contrast and color for screens. true: no color change.digital
imageYesImage id, as returned by open_photo.
shadowNoSoft ground shadow. Default: on (off for amazon).
backdropNostudio adds a soft darker falloff toward the corners.flat
backgroundNowhite, transparent, gradient, #rrggbb, or upload:<id>.white
marketplaceYesWhich marketplace.
gradient_topNobackground gradient only: the top color, #rrggbb. Default white.
color_strengthNoHow much digital color at most, 0 to 100. A product whose colors are already strong gets less, and the result says so.
gradient_bottomNobackground gradient only: the bottom color, #rrggbb. Default a 15% darker shade of the top.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, openWorldHint=true), the description discloses real behavior: it takes a checkpoint first and restores the image on failure or when no product is found, it exports JPEG (PNG only when the background is transparent), and color_strength is auto-eased so strong colors don't clip. The single-layer precondition and amazon-specific overrides further reduce surprise.

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?

Front-loaded with a one-sentence summary, then dense but information-bearing clauses; almost every phrase carries a default, range, or constraint. It is a long run-on paragraph rather than a structured list, which costs a point but wastes little.

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?

For a 10-parameter, no-output-schema tool, the description covers the pipeline, output format, per-marketplace sizing, all option domains, defaults, and failure/rollback behavior. Nothing essential for calling it correctly is missing.

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%, so the baseline is 3, but the description adds cross-parameter meaning the schema does not: amazon forces a white background and disables shadow, gradient_bottom defaults to 15% darker than gradient_top, 'upload:<id>' supplies another photo as background, and fill is bounded 0.5-0.95. These constraint interactions justify a bump above baseline.

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?

Opens with a concrete verb+resource+outcome ('Turn a product photo into a marketplace-ready listing image in one call') and then enumerates the full pipeline it performs (find, cut out, frame, background, shadow, color, export). An agent can distinguish this from generic siblings like export_photo or crop_for_platform without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives rich selection context: per-marketplace dimensions and constraints, 'amazon allows only white', shadow auto-off for amazon, and the 'image must have a single layer' precondition. It does not, however, explicitly route the agent away from the visually similar siblings (crop_for_platform, export_photo) or say when this tool is the wrong choice.

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