Skip to main content
Glama

Show a design on a shirt

get_mockup
Read-onlyIdempotent

Show a design on a shirt in one color and side, as a picture the client shows to the person: call it by its label. To show an existing design, find it with list_designs first. For a model wearing it, pass look: a model look from list_mockup_looks, in a color it has. Give previews[].url as a plain link, only if they ask to open or download it (it expires in 24 hours); never write it as a markdown image. Free: our own photos. If a look or color is refused, offer the ones that exist; never generate a picture of the design yourself.

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": {
      "designId": "<designId>",
      "colorCode": "<colorCode>"
    },
    "name": "get_mockup"
  }
}

Input Schema

NameRequiredDescriptionDefault
lookNoA look ref from list_mockup_looks or a template ref from list_mockup_templates
sideNoDefault: the design's first side
designIdYes
colorCodeYesColor code (BLK) or name (Black) of the design's garment

Output Schema

NameRequiredDescriptionDefault
errorNoOn a refusal: its code
mockupNo
messageNoOn a refusal: why
previewsNo
previewLinksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses that the preview URL expires in 24 hours, must not be embedded as a markdown image, and that this operation is free and uses the service's own photos. It also states that unsupported look/color combinations get refused and how to recover. It does not describe latency or whether the same inputs return identical preview URLs, which limits it to a 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?

Every sentence carries a rule (provenance, look routing, URL handling, expiry, cost, refusal fallback) and the core action is front-loaded. Some phrasing is dense and slightly awkward ('as a picture the client shows to the person: call it by its label'), costing a bit of readability but not wasting sentences.

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?

With 4 parameters, an output schema already covering return values, and annotations covering safety, the description fills the remaining gaps: prerequisites, optional look routing, URL lifetime and formatting, cost, and refusal behavior. Nothing an agent needs in order to call this 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 75% and designId has no schema description, so the description carries real weight by saying the design must come from list_designs and that look must be a look 'in a color it has'. It also implies the color/side constraint of a single combination. It does not clarify whether colorCode must match the look's available colors or only the garment's, which keeps it below 5.

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 names a specific verb and resource ('Show a design on a shirt in one color and side') and explicitly frames the output as a picture shown to a client. It distinguishes itself from list_designs (used only to find the design first) and list_mockup_looks (used when a model look is wanted), so an agent can tell it apart from siblings without opening schemas.

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

Usage Guidelines5/5

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

It gives explicit routing: find an existing design with list_designs first, pass look only for a model wearing it and only with a look from list_mockup_looks in a supported color, and surface previews[].url only if the user asks to open or download. It also covers the refusal path ('offer the ones that exist') and forbids self-generating imagery, so both when-to-use and when-not-to-use are covered.

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.