Skip to main content
Glama

Mandarin 3D

Quote a customized catalog part

quote_catalog_item
Idempotent

Price a catalog item with the customer's values (e.g. slug "personalized-name-ornament", values {"name": "Leo", "line2": "2026"}). Omitted parameters keep their defaults. We render the part from its parametric source and slice it; returns quote_id, size, grams, price delivered by USPS Ground Advantage and an order_url. Then use price_quote or create_checkout with that quote_id, like any quote. Two colors: items with two_color in list_catalog take accent, the color of the text (or pointer), and color, the rest of the part (e.g. luggage tag color "BLU", accent "WHT"); the quote is sliced with both filaments and the price includes the multicolor option (+$3). PLA only. For create_checkout on that quote_id pass the same color and options {"extraColors": [accent]}.

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": {
      "slug": "<slug>"
    },
    "name": "quote_catalog_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
qtyNoHow many to price. Default 1.
slugYesItem slug from list_catalog.
colorNoMain color. With accent: the body of a two-color item. Default: the item's color.
accentNoTwo-color items only: the text (or pointer) color, different from color. Leave out for one color (the lowest price).
valuesNoParameter values by key (from list_catalog). Text up to the listed length; numbers within min and max.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / accent
      Added value: +{
      +  "description": "Two-color items only: the text (or pointer) color, different from color. Leave out for one color (the lowest price).",
      +  "enum": [
      +    "BLK",
      +    "WHT",
      +    "GRY",
      +    "RED",
      +    "BLU",
      +    "GRN"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / color
      Added value: +{
      +  "description": "Main color. With accent: the body of a two-color item. Default: the item's color.",
      +  "enum": [
      +    "BLK",
      +    "WHT",
      +    "GRY",
      +    "RED",
      +    "BLU",
      +    "GRN"
      +  ],
      +  "type": "string"
      +}
    • 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"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare not-read-only, idempotent, closed-world; the description adds substantial context beyond that: the part is rendered from parametric source and sliced, the returned fields (quote_id, size, grams, price via USPS Ground Advantage, order_url), and the +$3 multicolor surcharge with both filaments used. The claim 'PLA only' is ambiguous and sits awkwardly against the schema's documented PETG option, which weakens confidence but is not an annotation conflict.

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 purpose and return fields are correctly front-loaded, but the body is a dense run of semicolon-chained clauses mixing pricing, two-color mechanics, and downstream checkout instructions. The blanket 'PLA only' statement also costs clarity against the material enum, so a reader must reconcile conflicting signals.

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 no output schema, the description usefully enumerates the return fields and the downstream quote_id workflow, which is exactly what an agent needs. Remaining gaps are edge-case behavior (invalid values, whether qty affects slicing) and the unresolved PLA-vs-PETG statement.

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 baseline is 3; the description goes further by explaining the color/accent relationship (accent = text or pointer color, must differ from color, omitted for one-color lowest price) and gives a worked values example that the schema only gestures at. The one gap is that 'PLA only' muddies the material parameter that the schema documents at length.

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 ('Price a catalog item with the customer's values') and immediately anchors it to a concrete example with slug and values. It is clearly distinct from price_quote/quote_file, which operate on an existing quote or uploaded file rather than a catalog part.

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 routes the agent downstream: 'Then use price_quote or create_checkout with that quote_id, like any quote', and gives the exact handoff instruction for checkout ('pass the same color and options {"extraColors": [accent]}'). It also gives the accent rule ('leave out for one color (the lowest price)'). It does not explicitly state when to prefer this over quote_file, though the catalog-vs-file split is strongly implied.

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