Skip to main content
Glama

get_product

Read-only

Fetch complete details for one product by id (e.g. roller-blockout, venetian-25mm-aluwood). Returns all available colours with in-stock status, materials, features, and maximum supported dimensions. Use before configure_product to confirm a colour exists and is in stock before committing.

Input Schema

NameRequiredDescriptionDefault
product_idYes

Output Schema

NameRequiredDescriptionDefault
nameYes
coloursYes
categoryYes
featuresNo
materialsNo
product_idYes
schema_urlNo
descriptionNo
product_urlYes
size_limitsNo
max_width_mmNo
suitable_forNo
max_height_mmNo
installation_typeNo
starting_price_zarNo
colour_count_in_stockNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / product_id / description
      Removed value: -"product_id from search_catalog or lookup_catalog."
  2. Changed1 schema field changed
    • addedInput schema / properties / product_id / description
      Added value: +"product_id from search_catalog or lookup_catalog."
  3. Changed1 schema field changed
    • changedOutput schema / properties / size_limits / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "availability_rule": {
      -        "type": "string"
      -      },
      -      "combination_dependent": {
      -        "type": "boolean"
      -      },
      -      "max_height_mm": {
      -        "type": "number"
      -      },
      -      "max_width_mm": {
      -        "type": "number"
      -      },
      -      "measurement_note": {
      -        "type": "string"
      -      },
      -      "minimum_charge_height_mm": {
      -        "type": "number"
      -      },
      -      "minimum_charge_width_mm": {
      -        "type": "number"
      -      },
      -      "product_id": {
      -        "type": "string"
      -      },
      -      "unit": {
      -        "const": "mm",
      -        "type": "string"
      -      },
      -      "validation_note": {
      -        "type": "string"
      -      },
      -      "width_drop_frontier": {
      -        "items": {
      -          "additionalProperties": true,
      -          "properties": {
      -            "max_drop_mm": {
      -              "type": "number"
      -            },
      -            "width_band_max_mm": {
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "width_band_max_mm",
      -            "max_drop_mm"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "product_id",
      -      "unit",
      -      "max_width_mm",
      -      "max_height_mm",
      -      "minimum_charge_width_mm",
      -      "minimum_charge_height_mm",
      -      "combination_dependent",
      -      "availability_rule",
      -      "width_drop_frontier",
      -      "measurement_note",
      -      "validation_note"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "availability_rule": {
      +        "type": "string"
      +      },
      +      "combination_dependent": {
      +        "type": "boolean"
      +      },
      +      "max_height_mm": {
      +        "type": "number"
      +      },
      +      "max_width_mm": {
      +        "type": "number"
      +      },
      +      "measurement_note": {
      +        "type": "string"
      +      },
      +      "minimum_charge_height_mm": {
      +        "type": "number"
      +      },
      +      "minimum_charge_width_mm": {
      +        "type": "number"
      +      },
      +      "minimum_order_height_mm": {
      +        "type": "number"
      +      },
      +      "minimum_order_width_mm": {
      +        "type": "number"
      +      },
      +      "product_id": {
      +        "type": "string"
      +      },
      +      "unit": {
      +        "const": "mm",
      +        "type": "string"
      +      },
      +      "validation_note": {
      +        "type": "string"
      +      },
      +      "width_drop_frontier": {
      +        "items": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "max_drop_mm": {
      +              "type": "number"
      +            },
      +            "width_band_max_mm": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "width_band_max_mm",
      +            "max_drop_mm"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "product_id",
      +      "unit",
      +      "max_width_mm",
      +      "max_height_mm",
      +      "minimum_charge_width_mm",
      +      "minimum_charge_height_mm",
      +      "combination_dependent",
      +      "availability_rule",
      +      "width_drop_frontier",
      +      "measurement_note",
      +      "validation_note"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. Changed18 schema fields changed
    • addedOutput schema / properties / category
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / colour_count_in_stock
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / colours
      Added value: +{
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "expected_restock": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "finish": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "hex": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "in_stock": {
      +        "type": "boolean"
      +      },
      +      "material": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "name": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "in_stock"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / description
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / features
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / installation_type
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / materials
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / max_height_mm
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / max_width_mm
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / name
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / product
      Removed value: -{
      -  "additionalProperties": true,
      -  "properties": {
      -    "category": {
      -      "type": "string"
      -    },
      -    "colour_count_in_stock": {
      -      "type": "number"
      -    },
      -    "colours": {
      -      "items": {
      -        "additionalProperties": true,
      -        "properties": {
      -          "expected_restock": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "finish": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "hex": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "in_stock": {
      -            "type": "boolean"
      -          },
      -          "material": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "name": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "description": {
      -      "type": "string"
      -    },
      -    "features": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "installation_type": {
      -      "type": "string"
      -    },
      -    "materials": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "max_height_mm": {
      -      "type": "number"
      -    },
      -    "max_width_mm": {
      -      "type": "number"
      -    },
      -    "name": {
      -      "type": "string"
      -    },
      -    "product_id": {
      -      "type": "string"
      -    },
      -    "product_url": {
      -      "type": "string"
      -    },
      -    "schema_url": {
      -      "type": "string"
      -    },
      -    "size_limits": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "availability_rule": {
      -          "type": "string"
      -        },
      -        "combination_dependent": {
      -          "type": "boolean"
      -        },
      -        "max_height_mm": {
      -          "type": "number"
      -        },
      -        "max_width_mm": {
      -          "type": "number"
      -        },
      -        "measurement_note": {
      -          "type": "string"
      -        },
      -        "minimum_charge_height_mm": {
      -          "type": "number"
      -        },
      -        "minimum_charge_width_mm": {
      -          "type": "number"
      -        },
      -        "product_id": {
      -          "type": "string"
      -        },
      -        "unit": {
      -          "const": "mm",
      -          "type": "string"
      -        },
      -        "validation_note": {
      -          "type": "string"
      -        },
      -        "width_drop_frontier": {
      -          "items": {
      -            "additionalProperties": true,
      -            "properties": {
      -              "max_drop_mm": {
      -                "type": "number"
      -              },
      -              "width_band_max_mm": {
      -                "type": "number"
      -              }
      -            },
      -            "required": [
      -              "width_band_max_mm",
      -              "max_drop_mm"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        }
      -      },
      -      "required": [
      -        "product_id",
      -        "unit",
      -        "max_width_mm",
      -        "max_height_mm",
      -        "minimum_charge_width_mm",
      -        "minimum_charge_height_mm",
      -        "combination_dependent",
      -        "availability_rule",
      -        "width_drop_frontier",
      -        "measurement_note",
      -        "validation_note"
      -      ],
      -      "type": "object"
      -    },
      -    "suitable_for": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "product_id",
      -    "name",
      -    "category",
      -    "colours",
      -    "product_url"
      -  ],
      -  "type": "object"
      -}
    • addedOutput schema / properties / product_id
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / product_url
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / schema_url
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / size_limits
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "properties": {
      +        "availability_rule": {
      +          "type": "string"
      +        },
      +        "combination_dependent": {
      +          "type": "boolean"
      +        },
      +        "max_height_mm": {
      +          "type": "number"
      +        },
      +        "max_width_mm": {
      +          "type": "number"
      +        },
      +        "measurement_note": {
      +          "type": "string"
      +        },
      +        "minimum_charge_height_mm": {
      +          "type": "number"
      +        },
      +        "minimum_charge_width_mm": {
      +          "type": "number"
      +        },
      +        "product_id": {
      +          "type": "string"
      +        },
      +        "unit": {
      +          "const": "mm",
      +          "type": "string"
      +        },
      +        "validation_note": {
      +          "type": "string"
      +        },
      +        "width_drop_frontier": {
      +          "items": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "max_drop_mm": {
      +                "type": "number"
      +              },
      +              "width_band_max_mm": {
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "width_band_max_mm",
      +              "max_drop_mm"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "product_id",
      +        "unit",
      +        "max_width_mm",
      +        "max_height_mm",
      +        "minimum_charge_width_mm",
      +        "minimum_charge_height_mm",
      +        "combination_dependent",
      +        "availability_rule",
      +        "width_drop_frontier",
      +        "measurement_note",
      +        "validation_note"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / starting_price_zar
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / suitable_for
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "product"
      -]New value: +[
      +  "product_id",
      +  "name",
      +  "category",
      +  "colours",
      +  "product_url"
      +]
  5. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "product": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "category": {
      +          "type": "string"
      +        },
      +        "colour_count_in_stock": {
      +          "type": "number"
      +        },
      +        "colours": {
      +          "items": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "expected_restock": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "finish": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "hex": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "in_stock": {
      +                "type": "boolean"
      +              },
      +              "material": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "name": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "description": {
      +          "type": "string"
      +        },
      +        "features": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "installation_type": {
      +          "type": "string"
      +        },
      +        "materials": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "max_height_mm": {
      +          "type": "number"
      +        },
      +        "max_width_mm": {
      +          "type": "number"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "product_id": {
      +          "type": "string"
      +        },
      +        "product_url": {
      +          "type": "string"
      +        },
      +        "schema_url": {
      +          "type": "string"
      +        },
      +        "size_limits": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "availability_rule": {
      +              "type": "string"
      +            },
      +            "combination_dependent": {
      +              "type": "boolean"
      +            },
      +            "max_height_mm": {
      +              "type": "number"
      +            },
      +            "max_width_mm": {
      +              "type": "number"
      +            },
      +            "measurement_note": {
      +              "type": "string"
      +            },
      +            "minimum_charge_height_mm": {
      +              "type": "number"
      +            },
      +            "minimum_charge_width_mm": {
      +              "type": "number"
      +            },
      +            "product_id": {
      +              "type": "string"
      +            },
      +            "unit": {
      +              "const": "mm",
      +              "type": "string"
      +            },
      +            "validation_note": {
      +              "type": "string"
      +            },
      +            "width_drop_frontier": {
      +              "items": {
      +                "additionalProperties": true,
      +                "properties": {
      +                  "max_drop_mm": {
      +                    "type": "number"
      +                  },
      +                  "width_band_max_mm": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "width_band_max_mm",
      +                  "max_drop_mm"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "product_id",
      +            "unit",
      +            "max_width_mm",
      +            "max_height_mm",
      +            "minimum_charge_width_mm",
      +            "minimum_charge_height_mm",
      +            "combination_dependent",
      +            "availability_rule",
      +            "width_drop_frontier",
      +            "measurement_note",
      +            "validation_note"
      +          ],
      +          "type": "object"
      +        },
      +        "suitable_for": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "product_id",
      +        "name",
      +        "category",
      +        "colours",
      +        "product_url"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "product"
      +  ],
      +  "type": "object"
      +}
  6. 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, so the description doesn't need to argue safety, and instead adds the useful precondition that the returned stock flags gate a later configure_product call. It doesn't cover failure behavior (unknown id) or whether colours are ever omitted, which keeps it from 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.

Conciseness5/5

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

Two sentences, both load-bearing: the first defines scope and output, the second carries the usage constraint. The verb and resource are front-loaded with zero filler.

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?

With an output schema present, the description needn't enumerate return fields, yet it highlights the operationally relevant ones (in-stock colour status) that drive the configure_product decision. It is nearly complete for a single-parameter read tool; only error/not-found behavior is unaddressed.

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 0% — product_id is a bare string with no documented format. The description compensates by giving two real slug examples (roller-blockout, venetian-25mm-aluwood), which is exactly the missing format guidance an agent needs to construct a valid call. It doesn't state whether ids are case-sensitive or how to obtain one.

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 ("Fetch complete details for one product by id") and supplies concrete example ids, so an agent can immediately distinguish it from search_catalog, lookup_catalog, and search_products. The returned payload categories (colours, stock status, materials, features, max dimensions) further pin down what "details" means.

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?

Explicitly names the downstream tool and condition: "Use before configure_product to confirm a colour exists and is in stock before committing." That is a real sequencing rule rather than generic advice. It stops short of naming when-not-to-use alternatives (e.g. search_products when you don't already have an id).

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