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_idYesproduct_id from search_catalog or lookup_catalog.

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
    • addedInput schema / properties / product_id / description
      Added value: +"product_id from search_catalog or lookup_catalog."
  2. 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"
      +  }
      +]
  3. 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"
      +]
  4. 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"
      +}
  5. First observed

TDQS

A4.5/5.0
Behavior4/5

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

readOnlyHint=true already tells the agent this is a safe read, so the bar is lower, but the description still adds substantive payload context: all colours with in-stock status, materials, features, and maximum supported dimensions. It also discloses the intended role as a pre-commit validation step. No permission, rate-limit, or failure-mode notes, which keeps it at 4 rather than 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?

Three short sentences, each doing distinct work: what it returns, what the payload contains, and when to call it. The action statement is front-loaded and nothing is repeated from the schema.

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 single-parameter read tool with an output schema, an annotation declaring read-only behaviour, and full schema coverage, the description covers access pattern (by id), id format, payload contents, and workflow placement. Nothing an agent needs in order to call it correctly is missing.

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% and the single parameter is already documented as coming from search_catalog or lookup_catalog. The description goes beyond that by giving literal example id values, which clarifies the expected slug format. Small but genuine value added on top of 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 ("Fetch complete details for one product by id") and immediately grounds it with concrete id examples ("roller-blockout, venetian-25mm-aluwood"). It also implicitly separates itself from the list/search siblings by scoping to a single product, and names the downstream tool it feeds.

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 an explicit when-to-use rule: call before configure_product to confirm a colour exists and is in stock before committing. That is a clear conditional trigger rather than vague context. It does not address the near-neighbour alternative check_colour_stock for stock-only queries, so it falls 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.