Skip to main content
Glama

Create a mug design draft

create_design_link
Read-onlyIdempotent

Use this when the user wants a mug designed or personalised. Turns a design description into a link that opens the LivaGlow designer with the finished draft (texts, cliparts, background, photo placeholder, optional template). If the user already gave a text or an occasion, build the draft with sensible defaults; they can change it afterwards. Nothing is stored or ordered: the customer opens the link, checks the 3D preview, uploads their photo if a placeholder is present, and orders. Everything is placed automatically: with a photo, texts and cliparts form a column next to it, otherwise a centred column. A template only fits its own text slots, which replace in order: for your own wording, extra texts or cliparts leave template out and use items with photo. Photos cannot be passed; use photo:{shape} to reserve a placeholder. Call get_design_options first for valid fonts, cliparts and templates. Do not use it for hateful, harassing or illegal print content.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_design_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNoTexts and cliparts in top-to-bottom order
photoNoReserve a photo placeholder the customer fills in the designer
layoutNoColumn for automatically placed items (default: opposite the photo, else center)
templateNoTemplate id from get_design_options (optional)
backgroundNoBackground: preset id (e.g. "schwarz", "nacht", "creme", "sonnenuntergang"), a colour "#rrggbb", {kind:"solid",color:"#rrggbb"} or {kind:"gradient",from:"#rrggbb",to:"#rrggbb",angle:135}. Text colour adapts automatically unless set.

Output Schema

NameRequiredDescriptionDefault
urlYesDesigner link with the draft
nextNo
priceYes
localeYes
summaryYes
warningsYes
previewUrlYesPNG of the flat print area
previewNoteNo
elementCountNo
hasPhotoPlaceholderYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / items / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "arc": {
      -        "description": "Curve the text: negative = arch down, positive = arch up",
      -        "maximum": 100,
      -        "minimum": -100,
      -        "type": "integer"
      -      },
      -      "bold": {
      -        "type": "boolean"
      -      },
      -      "color": {
      -        "description": "#rrggbb",
      -        "type": "string"
      -      },
      -      "font": {
      -        "enum": [
      -          "Anton",
      -          "Arial",
      -          "Bangers",
      -          "Caveat",
      -          "Courier New",
      -          "Dancing Script",
      -          "Georgia",
      -          "Impact",
      -          "Lobster",
      -          "Pacifico",
      -          "Roboto Slab",
      -          "Verdana"
      -        ],
      -        "type": "string"
      -      },
      -      "italic": {
      -        "type": "boolean"
      -      },
      -      "position": {
      -        "enum": [
      -          "left",
      -          "center",
      -          "right"
      -        ],
      -        "type": "string"
      -      },
      -      "size": {
      -        "description": "Font size in print px (auto if omitted)",
      -        "maximum": 400,
      -        "minimum": 40,
      -        "type": "integer"
      -      },
      -      "text": {
      -        "description": "Up to 4 lines (\\n). Emojis allowed.",
      -        "maxLength": 120,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "text",
      -        "type": "string"
      -      },
      -      "x": {
      -        "maximum": 2362,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "y": {
      -        "maximum": 1098,
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "text"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "color": {
      -        "description": "#rrggbb",
      -        "type": "string"
      -      },
      -      "id": {
      -        "description": "Clipart id from get_design_options",
      -        "type": "string"
      -      },
      -      "position": {
      -        "enum": [
      -          "left",
      -          "center",
      -          "right"
      -        ],
      -        "type": "string"
      -      },
      -      "size": {
      -        "maximum": 900,
      -        "minimum": 100,
      -        "type": "integer"
      -      },
      -      "type": {
      -        "const": "clipart",
      -        "type": "string"
      -      },
      -      "x": {
      -        "maximum": 2362,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "y": {
      -        "maximum": 1098,
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "id"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "arc": {
      +        "description": "Curve the text: negative = arch down, positive = arch up",
      +        "maximum": 100,
      +        "minimum": -100,
      +        "type": "integer"
      +      },
      +      "bold": {
      +        "type": "boolean"
      +      },
      +      "color": {
      +        "description": "#rrggbb",
      +        "type": "string"
      +      },
      +      "font": {
      +        "enum": [
      +          "Anton",
      +          "Arial",
      +          "Bangers",
      +          "Caveat",
      +          "Courier New",
      +          "Dancing Script",
      +          "Georgia",
      +          "Impact",
      +          "Lobster",
      +          "Pacifico",
      +          "Roboto Slab",
      +          "Verdana"
      +        ],
      +        "type": "string"
      +      },
      +      "italic": {
      +        "type": "boolean"
      +      },
      +      "position": {
      +        "enum": [
      +          "left",
      +          "center",
      +          "right"
      +        ],
      +        "type": "string"
      +      },
      +      "size": {
      +        "description": "Font size in print px (auto if omitted)",
      +        "maximum": 400,
      +        "minimum": 40,
      +        "type": "integer"
      +      },
      +      "text": {
      +        "description": "Up to 4 lines (\\n). Emojis allowed.",
      +        "maxLength": 120,
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "text",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "color": {
      +        "description": "#rrggbb",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "Clipart id from get_design_options",
      +        "type": "string"
      +      },
      +      "position": {
      +        "enum": [
      +          "left",
      +          "center",
      +          "right"
      +        ],
      +        "type": "string"
      +      },
      +      "size": {
      +        "maximum": 900,
      +        "minimum": 100,
      +        "type": "integer"
      +      },
      +      "type": {
      +        "const": "clipart",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "id"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / background / description
      Previous value: -"Background preset id (e.g. \"creme\", \"sonnenuntergang\") or {kind:\"solid\",color:\"#rrggbb\"} or {kind:\"gradient\",from:\"#rrggbb\",to:\"#rrggbb\",angle:135}"New value: +"Background: preset id (e.g. \"schwarz\", \"nacht\", \"creme\", \"sonnenuntergang\"), a colour \"#rrggbb\", {kind:\"solid\",color:\"#rrggbb\"} or {kind:\"gradient\",from:\"#rrggbb\",to:\"#rrggbb\",angle:135}. Text colour adapts automatically unless set."
  3. Changed1 schema field changed
    • changedInput schema / properties / items / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "arc": {
      -        "description": "Curve the text: negative = arch down, positive = arch up",
      -        "maximum": 100,
      -        "minimum": -100,
      -        "type": "integer"
      -      },
      -      "bold": {
      -        "type": "boolean"
      -      },
      -      "color": {
      -        "description": "#rrggbb",
      -        "type": "string"
      -      },
      -      "font": {
      -        "enum": [
      -          "Anton",
      -          "Arial",
      -          "Bangers",
      -          "Caveat",
      -          "Courier New",
      -          "Dancing Script",
      -          "Georgia",
      -          "Impact",
      -          "Lobster",
      -          "Pacifico",
      -          "Roboto Slab",
      -          "Verdana"
      -        ],
      -        "type": "string"
      -      },
      -      "italic": {
      -        "type": "boolean"
      -      },
      -      "position": {
      -        "enum": [
      -          "left",
      -          "center",
      -          "right"
      -        ],
      -        "type": "string"
      -      },
      -      "size": {
      -        "description": "Font size in print px (auto if omitted)",
      -        "maximum": 400,
      -        "minimum": 40,
      -        "type": "integer"
      -      },
      -      "text": {
      -        "description": "Up to 4 lines (\\n). Emojis allowed.",
      -        "maxLength": 120,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "text",
      -        "type": "string"
      -      },
      -      "x": {
      -        "maximum": 2362,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "y": {
      -        "maximum": 1063,
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "text"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "color": {
      -        "description": "#rrggbb",
      -        "type": "string"
      -      },
      -      "id": {
      -        "description": "Clipart id from get_design_options",
      -        "type": "string"
      -      },
      -      "position": {
      -        "enum": [
      -          "left",
      -          "center",
      -          "right"
      -        ],
      -        "type": "string"
      -      },
      -      "size": {
      -        "maximum": 900,
      -        "minimum": 100,
      -        "type": "integer"
      -      },
      -      "type": {
      -        "const": "clipart",
      -        "type": "string"
      -      },
      -      "x": {
      -        "maximum": 2362,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "y": {
      -        "maximum": 1063,
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "id"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "arc": {
      +        "description": "Curve the text: negative = arch down, positive = arch up",
      +        "maximum": 100,
      +        "minimum": -100,
      +        "type": "integer"
      +      },
      +      "bold": {
      +        "type": "boolean"
      +      },
      +      "color": {
      +        "description": "#rrggbb",
      +        "type": "string"
      +      },
      +      "font": {
      +        "enum": [
      +          "Anton",
      +          "Arial",
      +          "Bangers",
      +          "Caveat",
      +          "Courier New",
      +          "Dancing Script",
      +          "Georgia",
      +          "Impact",
      +          "Lobster",
      +          "Pacifico",
      +          "Roboto Slab",
      +          "Verdana"
      +        ],
      +        "type": "string"
      +      },
      +      "italic": {
      +        "type": "boolean"
      +      },
      +      "position": {
      +        "enum": [
      +          "left",
      +          "center",
      +          "right"
      +        ],
      +        "type": "string"
      +      },
      +      "size": {
      +        "description": "Font size in print px (auto if omitted)",
      +        "maximum": 400,
      +        "minimum": 40,
      +        "type": "integer"
      +      },
      +      "text": {
      +        "description": "Up to 4 lines (\\n). Emojis allowed.",
      +        "maxLength": 120,
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "text",
      +        "type": "string"
      +      },
      +      "x": {
      +        "maximum": 2362,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "y": {
      +        "maximum": 1098,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "color": {
      +        "description": "#rrggbb",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "Clipart id from get_design_options",
      +        "type": "string"
      +      },
      +      "position": {
      +        "enum": [
      +          "left",
      +          "center",
      +          "right"
      +        ],
      +        "type": "string"
      +      },
      +      "size": {
      +        "maximum": 900,
      +        "minimum": 100,
      +        "type": "integer"
      +      },
      +      "type": {
      +        "const": "clipart",
      +        "type": "string"
      +      },
      +      "x": {
      +        "maximum": 2362,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "y": {
      +        "maximum": 1098,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "id"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Changed3 schema fields changed
    • addedOutput schema / properties / price / properties / shipping / description
      Added value: +"Shipping of the default method below the free-shipping threshold"
    • addedOutput schema / properties / price / properties / shippingAboveFreeThreshold
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / price / properties / shippingMethodLabel
      Added value: +{
      +  "type": "string"
      +}
  5. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, the description explains that nothing is stored or ordered, that the customer opens the link, checks the 3D preview, uploads a photo, and orders. It also discloses automatic placement rules, template text-slot behavior, and the constraint that photos cannot be passed directly but must be reserved as placeholders.

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 description is front-loaded with purpose and usage, followed by behavioral details, with no obvious filler. It is dense and slightly long, but the length is justified by the tool's complex composition rules.

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 complex design-creation tool with five parameters and an output schema, the definition covers purpose, prerequisites, usage constraints, non-persistence, placement behavior, and parameter semantics. An agent should be able to decide when and how to call it without missing critical context.

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 schema already documents the parameters well. The description adds meaningful semantics beyond the schema: it explains how photo placeholders work, how layout defaults are chosen, how templates constrain text, and how background/text-color adaptation behaves.

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 states a specific verb and resource: it turns a mug design description into a link that opens the LivaGlow designer with a finished draft. It clearly distinguishes the tool from siblings by telling the agent to call get_design_options first and by naming what the output link enables.

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 when-to-use guidance: when the user wants a mug designed or personalised, including the case where a text or occasion is already supplied. It also names a prerequisite (get_design_options), explains template versus item behavior, and states a content exclusion for hateful, harassing, or illegal print content.

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