Skip to main content
Glama
ShunL12324
by ShunL12324

clean_product_image_white_bg

Remove watermarks and overlays, replace backgrounds with pure white, and apply studio lighting to make product images marketplace-ready. Outputs high-res WebP files in adjustable aspect ratios for e-commerce platforms.

Instructions

Remove watermarks/overlays and replace background with pure white (#FFFFFF) + professional studio lighting. E-commerce ready for Amazon/eBay/Shopify. Preserves product shape, colors, features. Supports aspect ratio adjustment (default 1:1). Outputs high-res WebP with AI review.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_pathYesLocal file path or URL to the image to enhance (e.g., '/path/to/image.jpg' or 'https://example.com/image.jpg')
aspect_ratioNoAspect ratio for the output image. Options: '1:1' (1024x1024 square), '16:9' (~1408x768 wide), '9:16' (~768x1408 portrait), '4:3' (~1280x896 standard), '3:4' (~896x1280 portrait). Default: '1:1'
additional_instructionsNoOptional additional instructions for the AI model (e.g., 'Make the product slightly brighter', 'Adjust color temperature to warmer')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/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 behavioral burden and largely delivers: it discloses what gets altered (watermarks, overlays, background, lighting), what is preserved (shape, colors, features), and the output form (high-res WebP with AI review). It could additionally disclose whether the input is overwritten or how the result is delivered, but this is well above the minimum for a no-annotation tool.

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?

Five short sentences, each earning its place: core transformation, e-commerce context, preservation guarantees, aspect-ratio support, and output format. The most important operation is front-loaded, and there is no fluff or repetition of schema content; only minor tightening would be possible.

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 3-parameter transformation tool with no annotations and no output schema, the description covers the operation, target platforms, preservation behavior, aspect-ratio defaults, and output format. The remaining gap is how the high-res WebP is returned to the caller (path/URL), which the agent would need for downstream pipeline steps.

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 coverage is 100%, so the schema fully documents input_path, aspect_ratio (enum values, output dimensions, and default), and additional_instructions. The description's 'default 1:1' mention merely restates the schema's aspect_ratio default, adding no new meaning, so the baseline 3 applies.

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 opens with a precise operation pair — 'Remove watermarks/overlays and replace background with pure white (#FFFFFF)' — including an exact color value, studio lighting, and preservation guarantees. This clearly differentiates it from the generic sibling clean_product_image and the generate_* tools, which create rather than transform. An agent can route correctly 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?

'E-commerce ready for Amazon/eBay/Shopify' provides a clear use-case context: use this when preparing product listing images that need a white background. It stops short of a 5 because it does not explicitly name the generic clean_product_image alternative or state when-not-to-use conditions.

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