Skip to main content
Glama

RushOrderTees

Send the design

submit_artwork

Sends the design to be printed when you already hold a public https link to the original file; never ask the customer for one, they upload through the artwork_upload_url from any reply. We check whether it will print well at the requested size and answer in inches, with what to fix if anything. A design you only saw in the chat is not one you hold: never transcribe, redraw or regenerate it; give the customer the artwork_upload_url instead. Artwork can be replaced later.

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": {
      "order_id": "<order_id>"
    },
    "name": "submit_artwork"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameNoThe original file name, if known.
order_idYesThe order_id returned by start_print_order.
image_urlNoA public https link to the image (PNG, JPEG or WebP) that you already hold; it survives a new conversation.
image_base64NoThe bytes of a file dropped on our order card, sent by the card itself (PNG, JPEG or WebP, no data: prefix). Not for a file the customer put in the chat; they upload through artwork_upload_url.

Output Schema

NameRequiredDescriptionDefault
specYesThe print as the customer has described it so far, beside garment. Null where they have not said; still_needed lists what is missing.
notesYesRelay these to the customer.
savedYesWhether the order is saved to a customer account (save_progress).
statusYes
artworkNo
choicesNoAnswers the customer can pick from, one set per field ask_next asks about. Offer them as selectable options where your client can, otherwise as a short list. They are suggestions: colors are families and the customer may name any shade, quantity and width may be any number. Send whatever they answer to describe_order.
garmentNoThe garment on the order, and what mockup_url shows. Name it when you show the picture; when it is provisional, say so.
optionsNo
ask_nextNoAsk the customer this, in your own words, and send the answer to describe_order.
order_idYes
next_callYesWhat to call next, and why.
expires_atNoWhen an unsaved order expires; null once it is saved to an account or paid.
mockup_urlNoThe garment on the order, in the customer's color, with their design on it once we have it. An image address: show it as a picture where your client can, unless our app already shows it in the chat, never as text or as a link, and never describe it in place of the summary.
alternativesNoPresent from the moment several styles fit until the customer picks, beside whatever ask_next asks: show all of them with their summaries, prices and minimums, say the one marked is_provisional is what we will use unless they choose, and call choose_style with the id they pick (or send "any" to describe_order to leave it to us).
checkout_urlNoShow it to the customer as one link labeled "Pay and enter shipping", not as a bare address: they see the artwork and total, confirm their email with a code we send them, then pay and enter their address there.
mockup_viewsNoEvery side of the garment, the printed one first: mockup_url with the design, then the other sides plain. Where your client can show pictures, show them all, so the customer sees which sides stay blank.
still_neededYesFields the customer has not told us yet, and any go-ahead we are waiting on for something the order cannot carry.
chosen_optionNo
mockup_changedNoTrue when mockup_views shows the design on the garment differently from the last time it was shown: a new garment, color, design, placement or width. Show the pictures again when it is true.
artwork_upload_urlNoPresent until the design is accepted. Show it to the customer as one link labeled "Upload your design", not as a bare address: they drop their design file on that page and it is checked there. You cannot upload for them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / garment / properties / size / description
      Added value: +"The size, or the size spread in the style's size order: \"2 S, 6 M, 7 L\". Sizes alone until their pieces are known."
    • addedOutput schema / properties / spec / properties / size / description
      Added value: +"The one size the order is in; null until a size is known, and when the order is spread across several."
    • addedOutput schema / properties / spec / properties / sizes
      Added value: +{
      +  "description": "The size spread: how the quantity splits across sizes. Complete once the pieces add up to quantity; get_options needs it complete.",
      +  "items": {
      +    "properties": {
      +      "quantity": {
      +        "description": "Pieces in this size; null until the customer says how many.",
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "size": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "size"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / spec / required
      Added value: +[
      +  "sizes"
      +]
  2. Changed3 schema fields changed
    • changedOutput schema / properties / alternatives / items / properties / mockup_url / description
      Previous value: -"An image address: show it as a picture where your client can, never as text or as a link, and never describe it in place of the summary."New value: +"An image address: show it as a picture where your client can, unless our app already shows it in the chat, never as text or as a link, and never describe it in place of the summary."
    • changedOutput schema / properties / mockup_url / description
      Previous value: -"The garment on the order, in the customer's color, with their design on it once we have it. An image address: show it as a picture where your client can, never as text or as a link, and never describe it in place of the summary."New value: +"The garment on the order, in the customer's color, with their design on it once we have it. An image address: show it as a picture where your client can, unless our app already shows it in the chat, never as text or as a link, and never describe it in place of the summary."
    • changedOutput schema / properties / mockup_views / items / properties / url / description
      Previous value: -"An image address: show it as a picture where your client can, never as text or as a link, and never describe it in place of the summary."New value: +"An image address: show it as a picture where your client can, unless our app already shows it in the chat, never as text or as a link, and never describe it in place of the summary."
  3. Changed1 schema field changed
    • addedOutput schema / properties / mockup_changed
      Added value: +{
      +  "description": "True when mockup_views shows the design on the garment differently from the last time it was shown: a new garment, color, design, placement or width. Show the pictures again when it is true.",
      +  "type": "boolean"
      +}
  4. Changed5 schema fields changed
    • changedOutput schema / properties / alternatives / description
      Previous value: -"Present from the moment several styles fit until the customer picks, beside whatever ask_next asks: show all of them with their summaries and prices, say the first is what we will use unless they choose, and call choose_style with the id they pick (or send \"any\" to describe_order to keep the first)."New value: +"Present from the moment several styles fit until the customer picks, beside whatever ask_next asks: show all of them with their summaries, prices and minimums, say the one marked is_provisional is what we will use unless they choose, and call choose_style with the id they pick (or send \"any\" to describe_order to leave it to us)."
    • addedOutput schema / properties / alternatives / items / properties / minimum
      Added value: +{
      +  "description": "The minimum as the storefront words it (\"Minimum 10\", \"No minimum\"). Say it with the price.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / alternatives / items / properties / minimum_quantity
      Added value: +{
      +  "description": "The fewest pieces the style is sold in.",
      +  "type": "integer"
      +}
    • changedOutput schema / properties / alternatives / items / properties / priced_at_quantity / description
      Previous value: -"The quantity the price is for: the order's, or 1 until the customer says how many. It drops at 12 and again at 24."New value: +"The quantity the price is for: the order's, or 1 until the customer says how many, or the style's minimum when that is more. It drops at 12 and again at 24."
    • changedOutput schema / properties / alternatives / items / required
      Previous value: -[
      -  "id",
      -  "name",
      -  "unit_price_cents",
      -  "priced_at_quantity",
      -  "rank",
      -  "summary",
      -  "is_provisional",
      -  "style"
      -]New value: +[
      +  "id",
      +  "name",
      +  "unit_price_cents",
      +  "priced_at_quantity",
      +  "minimum_quantity",
      +  "minimum",
      +  "rank",
      +  "summary",
      +  "is_provisional",
      +  "style"
      +]
  5. Changed18 schema fields changed
    • changedOutput schema / properties / chosen_option / properties / delivers_by / description
      Previous value: -"The date it arrives, YYYY-MM-DD."New value: +"The date free delivery arrives, YYYY-MM-DD."
    • changedOutput schema / properties / chosen_option / properties / delivery_days / description
      Previous value: -"Business days from now to the customer's door."New value: +"Business days from now to the customer's door with free delivery."
    • removedOutput schema / properties / chosen_option / properties / delivery_label
      Removed value: -{
      -  "description": "\"Free delivery\" or \"Rush delivery\"; standard shipping costs nothing, rush shipping is charged at checkout.",
      -  "type": "string"
      -}
    • addedOutput schema / properties / chosen_option / properties / meets_deadline / description
      Added value: +"Whether free delivery arrives by the customer's deadline."
    • addedOutput schema / properties / chosen_option / properties / rush_delivers_by
      Added value: +{
      +  "description": "The earliest date rush delivery arrives, YYYY-MM-DD; its shipping is priced at checkout, where the customer chooses the speed.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / chosen_option / properties / rush_delivery_days
      Added value: +{
      +  "description": "Business days to the door with rush delivery; null when rush is no sooner.",
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / chosen_option / properties / rush_meets_deadline
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / chosen_option / properties / speed
      Removed value: -{
      -  "enum": [
      -    "standard",
      -    "rush"
      -  ],
      -  "type": "string"
      -}
    • changedOutput schema / properties / chosen_option / required
      Previous value: -[
      -  "id",
      -  "method",
      -  "speed",
      -  "quantity",
      -  "unit_price_cents",
      -  "total_cents",
      -  "currency",
      -  "delivery_days",
      -  "delivers_by",
      -  "delivery_label",
      -  "summary"
      -]New value: +[
      +  "id",
      +  "method",
      +  "quantity",
      +  "unit_price_cents",
      +  "total_cents",
      +  "currency",
      +  "delivery_days",
      +  "delivers_by",
      +  "summary"
      +]
    • changedOutput schema / properties / options / items / properties / delivers_by / description
      Previous value: -"The date it arrives, YYYY-MM-DD."New value: +"The date free delivery arrives, YYYY-MM-DD."
    • changedOutput schema / properties / options / items / properties / delivery_days / description
      Previous value: -"Business days from now to the customer's door."New value: +"Business days from now to the customer's door with free delivery."
    • removedOutput schema / properties / options / items / properties / delivery_label
      Removed value: -{
      -  "description": "\"Free delivery\" or \"Rush delivery\"; standard shipping costs nothing, rush shipping is charged at checkout.",
      -  "type": "string"
      -}
    • addedOutput schema / properties / options / items / properties / meets_deadline / description
      Added value: +"Whether free delivery arrives by the customer's deadline."
    • addedOutput schema / properties / options / items / properties / rush_delivers_by
      Added value: +{
      +  "description": "The earliest date rush delivery arrives, YYYY-MM-DD; its shipping is priced at checkout, where the customer chooses the speed.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / options / items / properties / rush_delivery_days
      Added value: +{
      +  "description": "Business days to the door with rush delivery; null when rush is no sooner.",
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / options / items / properties / rush_meets_deadline
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / options / items / properties / speed
      Removed value: -{
      -  "enum": [
      -    "standard",
      -    "rush"
      -  ],
      -  "type": "string"
      -}
    • changedOutput schema / properties / options / items / required
      Previous value: -[
      -  "id",
      -  "method",
      -  "speed",
      -  "quantity",
      -  "unit_price_cents",
      -  "total_cents",
      -  "currency",
      -  "delivery_days",
      -  "delivers_by",
      -  "delivery_label",
      -  "summary"
      -]New value: +[
      +  "id",
      +  "method",
      +  "quantity",
      +  "unit_price_cents",
      +  "total_cents",
      +  "currency",
      +  "delivery_days",
      +  "delivers_by",
      +  "summary"
      +]
  6. Changed2 schema fields changed
    • changedOutput schema / properties / chosen_option / properties / delivery_label / description
      Previous value: -"\"Free delivery\" or \"Rush delivery\"; standard shipping costs nothing."New value: +"\"Free delivery\" or \"Rush delivery\"; standard shipping costs nothing, rush shipping is charged at checkout."
    • changedOutput schema / properties / options / items / properties / delivery_label / description
      Previous value: -"\"Free delivery\" or \"Rush delivery\"; standard shipping costs nothing."New value: +"\"Free delivery\" or \"Rush delivery\"; standard shipping costs nothing, rush shipping is charged at checkout."
  7. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare the write/open-world/non-destructive profile, and the description adds real behavior beyond them: it validates print quality at the requested size, replies in inches with what to fix, and notes artwork can be replaced later. It does not cover failure modes when the link is unreachable or invalid, which keeps it from a 5.

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 core instruction is front-loaded and clear, but the artwork_upload_url rule is stated twice and the sentences are long and clause-heavy. The middle sentence about checking print quality interrupts the routing guidance rather than following it.

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 annotations, a full output schema and 100% parameter coverage, the description only needs to carry the calling policy, and it does: who supplies the file, what happens on validation, and what to do instead. Only error-handling on a bad link is unaddressed.

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 all four parameters; the description still adds meaning by framing image_url as a link 'you already hold' that survives a new conversation and by forbidding use of the chat-file path. It does not add format or size constraints beyond the schema, so the gain is moderate rather than large.

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?

States a specific verb and resource ('Sends the design to be printed') and adds a sharp precondition: only when you already hold a public https link. It does not name a sibling tool, but the precondition plus the artwork_upload_url routing makes the boundary reasonably clear.

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?

Explicit when-to-use ('when you already hold a public https link'), explicit when-not ('a design you only saw in the chat is not one you hold'), and an explicit alternative action (give the customer the artwork_upload_url instead of transcribing, redrawing or regenerating). This is exactly the routing guidance an agent needs.

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