Skip to main content
Glama

configure_product

Lock in a full blind specification: product, dimensions, colour, and mount type (inside recess or outside face-fix). Validates that the colour exists and is in stock, then prices the blind. Returns a configuration summary to pass directly into create_cart. Call check_colour_stock first if availability is uncertain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colourYesColour name (must match available colours)
finishNoOptional finish for aluminium venetians
provinceNoOptional. Customer's South African province or city. Garden Route locations get Duncan's direct contact; other locations get the online shop contact.
quantityNoNumber of blinds (default 1)
width_mmYesWidth in millimetres
height_mmYesHeight/drop in millimetres
mount_typeYesUse inside (recess) or outside (face-fix); handler requires a nonempty value
product_idYesproduct_id from search_catalog or lookup_catalog

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
messageNo
successYes
contact_nameNo
configurationNo
contact_phoneNo
contact_requiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / mount_type / description
      Previous value: -"Mount type: inside (recess) or outside (face-fix)"New value: +"Use inside (recess) or outside (face-fix); handler requires a nonempty value"
    • removedInput schema / properties / mount_type / enum
      Removed value: -[
      -  "inside",
      -  "outside"
      -]
    • addedInput schema / properties / mount_type / minLength
      Added value: +1
    • changedInput schema / properties / product_id / description
      Previous value: -"Product ID from search_products"New value: +"product_id from search_catalog or lookup_catalog"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "oneOf": [
      +    {
      +      "properties": {
      +        "success": {
      +          "const": true
      +        }
      +      },
      +      "required": [
      +        "configuration"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "success": {
      +          "const": false
      +        }
      +      },
      +      "required": [
      +        "message"
      +      ]
      +    }
      +  ],
      +  "properties": {
      +    "configuration": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "category": {
      +          "type": "string"
      +        },
      +        "colour": {
      +          "type": "string"
      +        },
      +        "colour_hex": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "contact_name": {
      +          "type": "string"
      +        },
      +        "contact_phone": {
      +          "type": "string"
      +        },
      +        "contact_required": {
      +          "type": "boolean"
      +        },
      +        "currency": {
      +          "const": "ZAR",
      +          "type": "string"
      +        },
      +        "effective_height_mm": {
      +          "type": "number"
      +        },
      +        "effective_width_mm": {
      +          "type": "number"
      +        },
      +        "finish": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "height_mm": {
      +          "type": "number"
      +        },
      +        "lead_time": {
      +          "type": "string"
      +        },
      +        "material": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "measurement_review_required": {
      +          "type": "boolean"
      +        },
      +        "message": {
      +          "type": "string"
      +        },
      +        "mount_type": {
      +          "type": "string"
      +        },
      +        "note": {
      +          "type": "string"
      +        },
      +        "product_id": {
      +          "type": "string"
      +        },
      +        "product_name": {
      +          "type": "string"
      +        },
      +        "product_url": {
      +          "type": "string"
      +        },
      +        "quantity": {
      +          "type": "number"
      +        },
      +        "success": {
      +          "type": "boolean"
      +        },
      +        "total_price_zar": {
      +          "type": "number"
      +        },
      +        "unit_price_zar": {
      +          "type": "number"
      +        },
      +        "vat_included": {
      +          "type": "boolean"
      +        },
      +        "whatsapp": {
      +          "type": "string"
      +        },
      +        "width_mm": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "product_id",
      +        "width_mm",
      +        "height_mm",
      +        "colour",
      +        "mount_type",
      +        "quantity",
      +        "unit_price_zar",
      +        "total_price_zar",
      +        "currency",
      +        "vat_included"
      +      ],
      +      "type": "object"
      +    },
      +    "contact_name": {
      +      "type": "string"
      +    },
      +    "contact_phone": {
      +      "type": "string"
      +    },
      +    "contact_required": {
      +      "type": "boolean"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "success": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "success"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources