Skip to main content
Glama

AgentMade Print on Demand

Create a preview mockup

create_mockup
Idempotent

Render a preview PNG of the artwork on the product in the chosen colour and placement. style flat draws the placement; style packshot uses a product photo with the exact print at real size, or gives the flat preview with a note when no photo exists. Returns mockup_url, blank_image_url and image_prompt (an optional text prompt for an illustration of a person who wears the product; such an image is an illustration, not the exact print). Optional.

Input Schema

NameRequiredDescriptionDefault
sizeNo
colorYesProduct colour, e.g. "black".
styleNoflat: quick placement drawing. packshot: product photo with the exact print at real size (where a product photo exists).flat
presetNoNamed position inside the placement, e.g. "center_chest", "left_chest", "full_front". Defaults to the placement default.
top_mmNoDistance from the top of the print area to the top of the artwork.
left_mmNoDistance from the left edge of the print area. Default: horizontally centred.
width_mmNoExact printed width of the visible artwork in millimetres. Height follows the aspect ratio.
height_mmNoMaximum printed height in millimetres.
placementNoPrint location on the product, e.g. "front" or "back". See get_product for the list.front
artwork_idYes
product_idYes

Output Schema

NameRequiredDescriptionDefault
noteYes
styleYes
summaryYes
mockup_urlYesPNG preview of the exact print on the product.
image_promptYesA prompt for your own image model, to make an illustration from mockup_url.
blank_image_urlYes
validation_statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: the packshot degradation to a flat preview with a note when no product photo exists, and the caveat that image_prompt yields an illustration of a person rather than the exact print. It does not say whether anything is persisted or how long rendering takes, keeping it at 4.

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?

The core is front-loaded in three dense sentences that each carry information about rendering, style behaviour and outputs. The orphaned trailing fragment "Optional." is ambiguous, adds no clear meaning, and slightly undercuts an otherwise tight structure.

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?

With 11 parameters, an output schema, and annotation coverage, the description supplies what the structured fields cannot: the style trade-offs, the no-photo fallback, and the interpretation of the returned prompt. Missing are any prerequisites or ordering relative to validate_artwork and purchase, plus clarification of the dangling "Optional.", so it is not fully complete.

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 73% and the schema already documents colour, style, preset and the mm offsets. The description still adds meaning by distinguishing the two style enum values beyond the schema text ("flat draws the placement" vs "packshot uses a product photo with the exact print at real size") and by flagging the person-illustration nuance for image_prompt. Geographic/positioning parameters are left entirely to the schema.

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?

The description opens with a precise verb+resource: "Render a preview PNG of the artwork on the product in the chosen colour and placement." That clearly separates it from siblings like validate_artwork or get_product, which do not produce an image. It does not explicitly name a sibling to route against, so it stops short of a 5.

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?

It explains the two style modes (flat vs packshot) and the packshot fallback when no photo exists, which implies how to choose between them. However, it never states when this tool should be invoked in the workflow (e.g. after validate_artwork, before purchase), and the trailing fragment "Optional." gives no actionable condition. Usage is inferable but not stated.

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.