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
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. 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"
      +]
  2. 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"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true, and the description is consistent with that: it validates colour existence and stock, prices the blind, and returns a summary rather than persisting a cart. It adds real behavioural detail beyond the annotation (validation happens, pricing is computed, output is a handoff artefact), though it does not say whether repeat calls recompute or cache, or what happens when validation fails.

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 short sentences, front-loaded with the specification scope, followed by behaviour, output destination, and the prerequisite check. No sentence is redundant and each 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?

An output schema exists, so return values need no explanation, and the description covers the validation, pricing and handoff semantics that the schema cannot. Minor gap: it does not mention that the optional province parameter alters which contact appears in the result, which is a meaningful side effect for an agent assembling the response.

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 description coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema by disambiguating mount_type into 'inside recess or outside face-fix' — a string parameter with no enum, where the schema's own note is only about nonemptiness. It stops short of covering the optional finish, province and quantity parameters.

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: locks in a blind specification covering product, dimensions, colour and mount type, then validates and prices it. The boundary with create_cart is made explicit by describing the output as something to 'pass directly into create_cart', so an agent can distinguish the two without opening either schema.

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 sequencing guidance: call check_colour_stock first if availability is uncertain, and pass the returned summary into create_cart. Both the predecessor and successor tools are named with the condition that selects them, leaving nothing to inference.

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.