Skip to main content
Glama

Configure a blind

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. Duo Roller: colour is one blockout and one sheer written "Blockout + Sheer" (get_product returns duo_fabrics).

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": {
      "product_id": "<product_id>",
      "width_mm": "<width_mm>",
      "height_mm": "<height_mm>",
      "colour": "<colour>",
      "mount_type": "<mount_type>"
    },
    "name": "configure_product"
  }
}

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
operationNoCoulisse honeycomb only (honeycomb-blockout-coulisse, honeycomb-light-filtering-coulisse): 'tdbu' = top-down/bottom-up, up to 1300 mm wide, its own price; 'cord' (default) = cord lock, up to 3000 mm wide.
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 / operation
      Added value: +{
      +  "description": "Coulisse honeycomb only (honeycomb-blockout-coulisse, honeycomb-light-filtering-coulisse): 'tdbu' = top-down/bottom-up, up to 1300 mm wide, its own price; 'cord' (default) = cord lock, up to 3000 mm wide.",
      +  "enum": [
      +    "cord",
      +    "tdbu"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description is consistent with that, disclosing real behavior beyond them: it validates colour existence and stock, computes a price, and returns a summary object rather than persisting anything. The Duo Roller colour-format rule ('Blockout + Sheer') is a domain-specific quirk an agent could not infer from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the specification scope, then validation/pricing, then handoff, then the edge case — a sensible order with no filler sentences. The final Duo Roller sentence is densely compressed and slightly awkward to parse, but it carries information not found elsewhere.

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?

With an output schema present, the description needn't detail return values, and it still names the shape's purpose ('configuration summary') and its consumer. Validation rules, pricing behavior, prerequisite check, and the one product-specific edge case are all covered, which is enough for a 10-parameter configuration tool.

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 the baseline is 3; the description earns extra by clarifying mount_type semantics ('inside recess or outside face-fix') and by adding a non-obvious constraint on the colour parameter for Duo Rollers, pointing at get_product's duo_fabrics. It leaves quantity, finish, no_drill and province entirely to the schema.

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 — 'Lock in a full blind specification' — and enumerates the four things it resolves (product, dimensions, colour, mount type). It also distinguishes itself from siblings by naming check_colour_stock and create_cart as adjacent steps, so an agent can place it in the workflow without opening another schema.

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?

Gives a clear conditional: 'Call check_colour_stock first if availability is uncertain,' and tells the agent where the result goes next ('pass directly into create_cart'). It does not spell out when NOT to use it (e.g. versus get_price for a quick quote), so it stops short of full when/when-not coverage.

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