Skip to main content
Glama

Request fabric swatches

request_swatch

Use only when the customer asks about swatches or samples; never offer them. Free swatches: up to 3 colours of one product, for customers who have not ordered a blind yet. The customer orders them on the product page and pays only the R145 courier, credited off a blind order placed within 30 days. Swatches are not sent with or after a blind order, not for the value ranges, bamboo or Vertishades, and off-cuts are not sent. With the reference of that swatch order (order_ref), this passes up to 3 colour codes to the team; without it nothing is logged and it returns this policy and the product page link.

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": {
      "customer_name": "<customer_name>",
      "customer_email": "<customer_email>",
      "customer_phone": "<customer_phone>",
      "product_interest": "<product_interest>",
      "order_ref": "<order_ref>"
    },
    "name": "request_swatch"
  }
}

Input Schema

NameRequiredDescriptionDefault
suburbNoOptional delivery suburb
order_refYesReference of the customer's swatch order from the product page (not a blind order). Required.
swatch_codesNoOptional colour codes, up to 3 of one product
customer_nameYesCustomer's full name.
customer_emailYesCustomer's email address.
customer_phoneYesUsed as WhatsApp number
product_interestYese.g. 'Roller Blockout' or 'Honeycomb'

Output Schema

NameRequiredDescriptionDefault
policyNo
statusYes
messageYes
next_stepNo
order_refNo
request_idNo
swatch_countNo
estimated_delivery_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / order_ref / description
      Previous value: -"The order reference the swatches ship with. Required."New value: +"Reference of the customer's swatch order from the product page (not a blind order). Required."
    • changedInput schema / properties / swatch_codes / description
      Previous value: -"Optional specific colour codes (max 5)"New value: +"Optional colour codes, up to 3 of one product"
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare it is not read-only, not destructive, and closed-world. The description supplies far more: the R145 courier charge, the credit against a blind order within 30 days, that swatches are ordered on the product page rather than here, and critically that without order_ref nothing is logged and the tool instead returns the policy plus the product page link. That conditional side-effect disclosure is the key behavioral fact.

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-loaded with the usage gate, then eligibility, then the reference requirement. It is dense and slightly run-on in the policy sentence, but nearly every clause carries an operative constraint. Minor tightening of the exclusions list would help.

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?

A 7-parameter write-ish tool with an output schema present, so return formatting need not be described. The description covers eligibility, cost, the required reference, and the fallback behavior when the reference is missing, which is everything an agent needs to invoke it correctly or decline.

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 baseline is 3. The description goes beyond it by explaining that order_ref must be the swatch order reference (explicitly not a blind order) and that omitting it changes behavior rather than merely failing validation, and by tying swatch_codes to the 'up to 3 of one product' limit.

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: it passes up to 3 colour codes to the team against a swatch order reference. The description makes clear this is a swatch-request handoff, not a catalog lookup or a blind order, so it is distinguishable from siblings like lookup_catalog or create_quote_link without reading 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit gating: 'Use only when the customer asks about swatches or samples; never offer them.' It also enumerates eligibility and exclusions (customers who have not ordered a blind yet, no value ranges, bamboo or Vertishades, no off-cuts, not with or after a blind order), which is exactly the when/when-not guidance an agent needs.

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