Skip to main content
Glama

Show the 3D mockup

get_mockup
Read-onlyIdempotent

The 3D mockup of a line's artwork on the product, as an image, and view_url: the printdash.io page for that line (checkout, the quote page or the order page) with its interactive 3D viewer already open. To show the customer the mockup, give them view_url; never give a storage or image URL. An order job is rendered by Printdash's server and cached; if it is still rendering the result says so and you call again in about 20 seconds. A cart or quote line returns the mockup checkout or the quote page stored, or else Printdash's server renders it the same way (rendering, then call again); the flat preview comes back when there is no 3D view to show. Needs a signed-in Printdash account: called without one, the connection asks the customer to sign in on printdash.io.

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

Input Schema

NameRequiredDescriptionDefault
targetYesWhere the artwork goes.

Output Schema

NameRequiredDescriptionDefault
nextYes
statusYes
targetYes
quantityYes
view_urlYesThe printdash.io page for this line with its 3D viewer open (checkout, the quote page or the order page, ?mockup=<line id>). The one link to give the customer.
configurationYesThe line's size, stock, sides, finishing and pages, as labelled rows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedOutput schema / properties / configuration
      Added value: +{
      +  "description": "The line's size, stock, sides, finishing and pages, as labelled rows.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "label": {
      +        "type": "string"
      +      },
      +      "value": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "label",
      +      "value"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / mockup_url
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / preview_url
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • addedOutput schema / properties / quantity
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / view_url
      Added value: +{
      +  "description": "The printdash.io page for this line with its 3D viewer open (checkout, the quote page or the order page, ?mockup=<line id>). The one link to give the customer.",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "target",
      -  "status",
      -  "mockup_url",
      -  "preview_url",
      -  "next"
      -]New value: +[
      +  "target",
      +  "status",
      +  "view_url",
      +  "quantity",
      +  "configuration",
      +  "next"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the asynchronous server-render-and-cache model, the polling rhythm, the flat-preview fallback when no 3D view exists, and the signed-in-account requirement that triggers a sign-in prompt. These are exactly the non-obvious behaviours an agent needs before calling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is dense and mostly earns its place, but it is written as a few long run-on sentences that lead with the return payload rather than the action, and the checkout/quote/order parenthetical is clumsy. It is information-rich but poorly front-loaded and harder to scan than it needs to be.

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 an output schema already covering return values and annotations covering safety, the description fills the remaining gaps: auth requirement, render latency and retry, fallback output, and correct URL handling. Nothing essential for a first successful call is missing.

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 kind, side, design and id are already documented in the schema, and the description adds only indirect colour by contrasting cart/quote lines against order jobs. It never explains side, design, or the id-vs-kind relationship itself, so it adds little beyond structured data.

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 names a specific resource and scope: the 3D mockup of a single line's artwork on the product, returned as an image plus a view_url. It is clear enough to separate from neighbours like get_product or check_artwork, though it opens with a noun phrase rather than a verb and never explicitly contrasts itself with those siblings.

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?

It gives concrete usage context: use view_url to show the customer the mockup and 'never give a storage or image URL', and call again in about 20 seconds if rendering is in progress. It also distinguishes cart/quote lines from order jobs in terms of what comes back. It stops short of naming an alternative tool for cases where no mockup is wanted.

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