Skip to main content
Glama

configure_product

Read-only

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

NameRequiredDescriptionDefault
colourYesColour name (must match available colours)
finishNoOptional finish for aluminium venetians
no_drillNoOptional. true for the no-drill option (tension brackets, inside the frame, max 2000mm wide; 1500mm on 25mm venetians). Adds the R65 no-drill kit per blind. Offered on indoor roller blinds, including value rollers, and 25mm aluminium or aluwood venetians. Dedicated no-drill products already include the kit.
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

NameRequiredDescriptionDefault
colourYes
finishNo
limitsNo
contactNo
summaryNo
currencyYes
deliveryNo
in_stockNo
quantityYes
width_mmYes
height_mmYes
lead_timeNo
next_stepNo
price_zarNo
mount_typeYes
product_idYes
product_nameNo
vat_includedNo
unit_price_zarYes
total_price_zarYes
effective_width_mmNo
effective_height_mmNo
minimum_charge_appliedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / no_drill
      Added value: +{
      +  "description": "Optional. true for the no-drill option (tension brackets, inside the frame, max 2000mm wide; 1500mm on 25mm venetians). Adds the R65 no-drill kit per blind. Offered on indoor roller blinds, including value rollers, and 25mm aluminium or aluwood venetians. Dedicated no-drill products already include the kit.",
      +  "type": "boolean"
      +}
  2. Changed32 schema fields changed
    • removedOutput schema / oneOf
      Removed value: -[
      -  {
      -    "properties": {
      -      "success": {
      -        "const": true
      -      }
      -    },
      -    "required": [
      -      "configuration"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "success": {
      -        "const": false
      -      }
      -    },
      -    "required": [
      -      "message"
      -    ]
      -  }
      -]
    • addedOutput schema / properties / colour
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / configuration
      Removed value: -{
      -  "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"
      -}
    • addedOutput schema / properties / contact
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "email": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "whatsapp": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [],
      +  "type": "object"
      +}
    • removedOutput schema / properties / contact_name
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / contact_phone
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / contact_required
      Removed value: -{
      -  "type": "boolean"
      -}
    • addedOutput schema / properties / currency
      Added value: +{
      +  "const": "ZAR",
      +  "type": "string"
      +}
    • addedOutput schema / properties / delivery
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / effective_height_mm
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / effective_width_mm
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / finish
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / height_mm
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / in_stock
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / lead_time
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / limits
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {},
      +  "required": [],
      +  "type": "object"
      +}
    • removedOutput schema / properties / message
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / minimum_charge_applied
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / mount_type
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / next_step
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / note
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / price_zar
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / product_id
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / product_name
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / quantity
      Added value: +{
      +  "type": "number"
      +}
    • removedOutput schema / properties / success
      Removed value: -{
      -  "type": "boolean"
      -}
    • addedOutput schema / properties / summary
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / total_price_zar
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / unit_price_zar
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / vat_included
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / width_mm
      Added value: +{
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "success"
      -]New value: +[
      +  "product_id",
      +  "width_mm",
      +  "height_mm",
      +  "colour",
      +  "mount_type",
      +  "quantity",
      +  "unit_price_zar",
      +  "total_price_zar",
      +  "currency"
      +]
  3. 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"
      +}
  4. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The description discloses the core behavior beyond the readOnlyHint annotation: it validates colour existence and stock, prices the blind, and returns a summary rather than creating a cart. It also clarifies sequencing with check_colour_stock and create_cart.

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?

The definition is four tight sentences with the purpose and key constraint front-loaded. Every sentence adds useful routing, validation, or handoff information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given full schema coverage, an output schema, and readOnlyHint annotations, the description supplies the missing operational context: validation scope, pricing behavior, stock pre-check, and downstream create_cart handoff. Nothing essential for correct invocation is missing.

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 description coverage is 100%, so the schema already documents all parameters including mount_type, colour, dimensions, and optional no-drill details. The description reinforces the main required fields but does not add substantial parameter semantics beyond what the schema provides.

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?

The description uses a specific verb with a clear resource: it assembles and prices a full blind specification. It distinguishes the tool from sibling cart and catalogue tools by naming the exact inputs, validation step, and output handoff.

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?

It explicitly says what to do with the result: pass the configuration summary into create_cart. It also gives a concrete prerequisite path by directing the agent to check_colour_stock first when availability is uncertain.

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