Check a fabric label
check_fabric_labelUse this when the user gives a garment's fiber composition or care-label text (for example "60% cotton, 40% polyester" or "100% merino wool") and asks whether it's good, sustainable, synthetic, plastic-based or a better choice than another label, for example "my shirt label says 52% organic cotton, 48% recycled polyester. is that good?" or "95% cotton 5% elastane vs 60% cotton 40% polyester, which is better". To compare labels, call it once per label. Returns Greener Closet's 0-100 score, the synthetic share and the main concerns. If the percentages don't add up to 100, it reports the gap instead of a score. Do not use this for a product URL (use check_product) or for a general question about one fiber (use explain_fiber).
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": {
"composition": "<composition>"
},
"name": "check_fabric_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| composition | Yes | The fiber composition as written on the label, e.g. "52% organic cotton, 48% recycled polyester". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes |