Skip to main content
Glama

MarketPrint: Print On Demand

Upload a neckprint

upload_neckprint

Upload a neckprint (inner-collar print) and get back a neckprint id for create_shop_product. Only valid for base products whose hasNeckPrint is true. Supply a light-garment image; optionally add a dark-garment variant of the same artwork. Position/size fields (X/Y/width/height) are accepted for forward compatibility but not currently used by the backend - only DPI is recorded today.

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": {
      "lightImageBase64": "<lightImageBase64>",
      "lightFilename": "<lightFilename>"
    },
    "name": "upload_neckprint"
  }
}

Input Schema

NameRequiredDescriptionDefault
darkXNoX offset of the dark neckprint, in mm. Accepted for forward compatibility; the backend currently records only DPI and does not yet use this to position the print.
darkYNoY offset of the dark neckprint, in mm. Accepted for forward compatibility; the backend currently records only DPI and does not yet use this to position the print.
lightXNoX offset of the light neckprint, in mm. Accepted for forward compatibility; the backend currently records only DPI and does not yet use this to position the print.
lightYNoY offset of the light neckprint, in mm. Accepted for forward compatibility; the backend currently records only DPI and does not yet use this to position the print.
darkDpiNoDPI of the dark neckprint image.
lightDpiNoDPI of the light neckprint image.
darkWidthNoWidth of the dark neckprint, in mm. Accepted for forward compatibility; the backend currently records only DPI and does not yet use this to position the print.
darkHeightNoHeight of the dark neckprint, in mm. Accepted for forward compatibility; the backend currently records only DPI and does not yet use this to position the print.
lightWidthNoWidth of the light neckprint, in mm. Accepted for forward compatibility; the backend currently records only DPI and does not yet use this to position the print.
lightHeightNoHeight of the light neckprint, in mm. Accepted for forward compatibility; the backend currently records only DPI and does not yet use this to position the print.
darkFilenameNoFilename with extension for the dark image. Required if darkImageBase64 is given.
lightFilenameYesFilename with extension for the light image, e.g. neck-light.png.
darkImageBase64NoBase64-encoded neckprint image for dark garments. Optional; omit to use the light image only.
lightImageBase64YesBase64-encoded neckprint image for light garments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing that X/Y/width/height are silently ignored by the backend and only DPI is persisted — an agent would otherwise waste effort on those fields. It also confirms a new neckprint id is produced per call, consistent with idempotentHint=false. It omits auth/permission requirements and any payload size or format limits on the base64 data.

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

Conciseness5/5

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

Three sentences, front-loaded with purpose and return value, then the validity precondition, then the field caveat. No filler and no repetition that isn't load-bearing.

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 14 parameters and no output schema, the description correctly fills the return-value gap by stating a neckprint id comes back and what it is for. The main remaining gap is behavior on failure (e.g. what happens when hasNeckPrint is false) and any size/format constraints on the base64 payloads.

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% and every parameter is already documented, including the forward-compatibility caveats, so the description repeats rather than extends that content. It does usefully group the fields (only DPI matters today), but that synthesis is already duplicated verbatim across the individual schema entries.

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?

States a specific verb and resource ('Upload a neckprint (inner-collar print)') and immediately ties the output to its consumer ('get back a neckprint id for create_shop_product'). The distinction from the sibling upload_image is clear because the resource is a neckprint, not a general image.

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?

Explicitly names the precondition ('Only valid for base products whose hasNeckPrint is true') and the workflow chain into create_shop_product, plus the light-image-required / dark-variant-optional split. It stops short of naming upload_image as the alternative for non-neckprint artwork, so the sibling routing is implied rather than stated.

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