Skip to main content
Glama

Check blind measurements

validate_measurement
Read-only

Check a customer's sizes before pricing. Returns ok, problems (must fix), warnings (ask the customer) and advice: size limits for the product, product minimums, centimetre slips, inside-mount reveal depth (single rollers 50mm, no-drill rollers included; Double Roller zebra 80mm; Duo Roller 115mm), no-drill rules (inside only, at least 50mm reveal on rollers and 40mm on 25mm venetians, 2000mm max width, 1500mm on 25mm venetians), face-fix sizing (add 100mm each side and 100mm above and below) and the width we deduct when making an inside mount. Changes nothing and returns no price.

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>"
    },
    "name": "validate_measurement"
  }
}

Input Schema

NameRequiredDescriptionDefault
colourNoOptional exact colour name, checked for stock and width limits
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.
width_mmYesWidth the customer will enter, in millimetres
height_mmYesDrop the customer will enter, 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_typeNoinside (in the recess) or outside mount
product_idYesproduct_id from search_catalog or lookup_catalog
opening_drop_mmNoOptional, outside mount only: drop of the opening itself
reveal_depth_mmNoOptional depth of the recess in mm, needed for inside mounts and no-drill
opening_width_mmNoOptional, outside mount only: width of the opening itself

Output Schema

NameRequiredDescriptionDefault
okYes
adviceYes
limitsNo
no_drillNo
problemsYes
warningsYes
width_mmYes
height_mmYes
next_stepYes
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_typeNo
product_idYes
product_nameNo
reveal_depth_mmNo
measure_guide_urlYes
production_width_mmNo
inside_mount_min_reveal_mmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields 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"
      +}
    • addedOutput 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. Changed3 schema fields changed
    • changedInput schema / properties / mount_type / description
      Previous value: -"inside (in the recess) or outside (face fix)"New value: +"inside (in the recess) or outside mount"
    • changedInput schema / properties / opening_drop_mm / description
      Previous value: -"Optional, face fix only: drop of the opening itself"New value: +"Optional, outside mount only: drop of the opening itself"
    • changedInput schema / properties / opening_width_mm / description
      Previous value: -"Optional, face fix only: width of the opening itself"New value: +"Optional, outside mount only: width of the opening itself"
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already carry readOnlyHint=true, destructiveHint=false and openWorldHint=false, and the description reinforces this with 'Changes nothing and returns no price'. It goes further by explaining the semantics of the result buckets (problems must be fixed vs. warnings to raise with the customer) and the underlying rules being checked, which annotations cannot convey. It does not discuss failure modes or partial validation, keeping it short of a 5.

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 purpose and the 'before pricing' cue are correctly front-loaded, but the second sentence is a single run-on enumeration mixing return-value semantics with a dense list of business rules (reveal depths, no-drill limits, face-fix additions). The content is relevant but would be far more usable as short structured bullets.

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?

For a 10-parameter read-only validator with an output schema, the description supplies the workflow placement, the no-side-effect guarantee, and the meaning of each result bucket, which is everything an agent needs before invoking it. Business-rule details are a bonus rather than a gap.

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 every parameter is already documented in the schema, including the no-drill and reveal-depth rules. The description adds context about the rules being validated (reveal depths, face-fix sizing, inside-mount deduction) but no per-parameter meaning beyond what the schema provides, so baseline 3 applies.

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 (validate a customer's blind measurements) and its place in the workflow ('before pricing'), then explicitly says it 'returns no price', which separates it from the pricing siblings such as get_price. An agent can identify the tool's job without opening the 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?

'Check a customer's sizes before pricing' gives a clear ordering/context cue for when to call it, and 'changes nothing and returns no price' signals it is not a substitute for pricing. It stops short of naming explicit when-not cases or naming alternative tools such as check_colour_stock or lookup_catalog, so it is clear but not exhaustive.

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