Skip to main content
Glama

FSH Labs laser cutting

Make a payment link for the person

create_order

Saves the priced job as an unpaid order and answers with a pay link for the person. Prices hold for 30 days. They open the link, check the order and pay by card on Stripe; address, phone and sales tax are handled there. Nothing is made, and nobody is charged, until they pay. Takes the same file and options as the quote, so quote first and pass its file_id. With kind laser-template or personalize it orders a template part or a personalized product instead, from the same fields quote_template or quote_product took. For several things in one order (one pay link, one order minimum, one parcel), send items instead of one thing's own fields: price the set first with quote_order.

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": {
      "fulfilment": "<fulfilment>"
    },
    "name": "create_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
qtyNoHow many. For a file holding several parts, how many sets of the whole file.
fileNoChatGPT only: a file the person attached to the chat. Other clients use file_url, file_text or file_base64.
fontNoA font key from the product's fonts in list_products. Left out, the first is used.
kindNoWhat is being ordered. laser-file (the default): a DXF or SVG, with the file fields and material. laser-template: template, values and material. personalize: product, variant, text and font.laser-file
textNoThe text to put on it: up to 3 lines of 40 characters, as an array or one string with line breaks
itemsNoSeveral things as ONE order: one payment link, one order minimum, one parcel. Up to 20. Each item takes the same fields as an order of one thing (kind, material, qty, template, values, product, text ...), with its own quantity. A laser-file item names its file by file_id: quote the file first with quote_laser_file, which answers with the id. The same file_id may appear in several items, e.g. the same part in two materials.
namesNoA different name on each piece, one per piece, for products with takes_names. `text` is then the first name.
notesNoAnything the shop should know. A person reads it before making the order.
scaleNoResize the part: 1 is the file's own size, 0.5 is half.
unitsNoThe units a DXF is drawn in when the file doesn't say. Leave out to let us read the file; the answer says what was assumed.
valuesNoThe template's parameters by key. Lengths are in inches; a toggle is 1 or 0; a choice is one of its option values. Any left out take the template's default.
contactNoWho the order is for. Optional: Stripe collects the name, email and address when they pay.
file_idNoA file sent in an earlier call (every quote answers with one). Kept 30 days.
productNoA product slug from list_products
variantNoA variant slug (a colour or size) from list_products. Left out, the first is used; the answer says which.
file_urlNoA public https link to the DXF or SVG, up to 10 MB. We download it.
materialNoA material slug from get_catalog. Needed for laser-file; optional for laser-template; not used for personalize.
ship_zipNoThe 5-digit US ZIP it ships to. Needed with fulfilment ship, to price shipping.
templateNoA template slug from list_templates, e.g. mounting-plate
file_nameNoThe file's name with its extension, e.g. bracket.dxf. Needed with file_text and file_base64.
file_textNoThe file's own text (DXF and SVG are both plain text), up to 4 MB. Send with file_name.
fulfilmentYesship: UPS Ground in the US. pickup: free, at a meeting spot in metro Atlanta
file_base64NoThe file's bytes, base64, up to 4 MB. Send with file_name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.