Skip to main content
Glama

Mandarin 3D

Create a checkout link

create_checkout

Create one payment link using quote_id and color for one part, or items with a color for each part. For several models, bundle them in one call so the customer pays once with one shipping charge. They enter their shipping address on the linked page. Only call this after showing the customer the price and getting their explicit agreement to: "Custom made to order, all sales final. I agree to the Terms (mandarin3d.com/terms, including section 6: cancellations, refunds and reprints)."

Input Schema

NameRequiredDescriptionDefault
qtyNo
colorNo
itemsNoParts to ship in one order. Use qty for repeated copies of the same quote, color and material. Do not mix items with top-level print fields.
optionsNoOptional add-ons for this print item.
materialNo"pla" (default) or "petg". PETG is made to order in black or white: we order the filament after you buy, which adds 3 to 5 business days, and the print price is 20% higher. Other materials (TPU, ABS, ASA and more) on request: ask in the designer chat and we reply with a price.
quote_idNoThe quote_id returned by quote_file or quote_catalog_item.
customer_accepted_termsYesTrue only if the customer explicitly agreed to the terms sentence above.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / items / maxItems
      Previous value: -10New value: +20
  2. Changed7 schema fields changed
    • addedInput schema / else
      Added value: +{
      +  "required": [
      +    "quote_id",
      +    "color"
      +  ]
      +}
    • addedInput schema / if
      Added value: +{
      +  "required": [
      +    "items"
      +  ]
      +}
    • addedInput schema / properties / items
      Added value: +{
      +  "description": "Parts to ship in one order. Use qty for repeated copies of the same quote, color and material. Do not mix items with top-level print fields.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "color": {
      +        "enum": [
      +          "BLK",
      +          "WHT",
      +          "GRY",
      +          "RED",
      +          "BLU",
      +          "GRN"
      +        ],
      +        "type": "string"
      +      },
      +      "material": {
      +        "description": "\"pla\" (default) or \"petg\". PETG is made to order in black or white: we order the filament after you buy, which adds 3 to 5 business days, and the print price is 20% higher. Other materials (TPU, ABS, ASA and more) on request: ask in the designer chat and we reply with a price.",
      +        "enum": [
      +          "pla",
      +          "petg"
      +        ],
      +        "type": "string"
      +      },
      +      "options": {
      +        "additionalProperties": false,
      +        "description": "Optional add-ons for this print item.",
      +        "properties": {
      +          "cleanup": {
      +            "description": "+$5. Supports removed and sharp edges deburred.",
      +            "type": "boolean"
      +          },
      +          "colorNote": {
      +            "description": "Which parts get which color (required with extraColors).",
      +            "maxLength": 140,
      +            "type": "string"
      +          },
      +          "extraColors": {
      +            "description": "+$3 per extra stocked color.",
      +            "items": {
      +              "enum": [
      +                "BLK",
      +                "WHT",
      +                "GRY",
      +                "RED",
      +                "BLU",
      +                "GRN"
      +              ],
      +              "type": "string"
      +            },
      +            "maxItems": 3,
      +            "type": "array"
      +          },
      +          "fileCheck": {
      +            "description": "+$5. We review the file for printability and fit before printing and email you if something looks off.",
      +            "type": "boolean"
      +          },
      +          "rush": {
      +            "description": "+50% of the print price. Printed within 1 business day. Ships with the same USPS service.",
      +            "type": "boolean"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "qty": {
      +        "maximum": 100,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "quoteId": {
      +        "description": "The quote_id returned by quote_file or quote_catalog_item.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "quoteId",
      +      "color"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 10,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / properties / options / description
      Previous value: -"Optional per-order add-ons."New value: +"Optional add-ons for this print item."
    • addedInput schema / properties / quote_id / description
      Added value: +"The quote_id returned by quote_file or quote_catalog_item."
    • changedInput schema / required
      Previous value: -[
      -  "quote_id",
      -  "color",
      -  "customer_accepted_terms"
      -]New value: +[
      +  "customer_accepted_terms"
      +]
    • addedInput schema / then
      Added value: +{
      +  "maxProperties": 2
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / options / properties / cleanup / description
      Previous value: -"+$5. Support marks sanded, edges deburred."New value: +"+$5. Supports removed and sharp edges deburred."
  4. Changed1 schema field changed
    • addedInput schema / properties / material
      Added value: +{
      +  "description": "\"pla\" (default) or \"petg\". PETG is made to order in black or white: we order the filament after you buy, which adds 3 to 5 business days, and the print price is 20% higher. Other materials (TPU, ABS, ASA and more) on request: ask in the designer chat and we reply with a price.",
      +  "enum": [
      +    "pla",
      +    "petg"
      +  ],
      +  "type": "string"
      +}
  5. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations cover safety hints (not read-only, open-world, not idempotent), so the remaining burden is lighter. The description adds real behavior: the customer enters a shipping address on the linked page, and bundling collapses shipping into one charge. It does not say what a link is (URL, expiry) or what happens on a repeated call, which matters given idempotentHint=false.

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?

Four sentences, front-loaded with the action and its two modes, then the bundling rationale, then the consent gate. The quoted terms sentence is long but is required verbatim, so it earns its place.

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?

For a write tool with nested items, add-on options and a conditional schema, the description covers the workflow, the ordering constraint and the consent gate. Given there is no output schema, one more line on what is returned (the link) and whether re-calling creates duplicates would close the remaining gap.

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?

The schema encodes the quote_id-versus-items split structurally through if/then/else, but the description explains it in plain terms: quote_id plus a top-level color for one part, or items each carrying a color. That framing helps an agent choose a mode before reading the schema. The distinction between top-level and per-item qty/options isn't spelled out in the description, though the schema covers it.

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: "Create one payment link." It also names both input modes (quote_id + color for a single part, items with a color per part), which an agent could not infer from the name alone. It doesn't explicitly contrast itself with pricing siblings, but the pricing prerequisite implies it.

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?

Gives explicit when-to-use guidance: bundle several models into one call so the customer pays once with one shipping charge. It also states a hard precondition: only call after showing the price and getting explicit agreement to the quoted terms sentence. No exclusions are needed beyond that gate.

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