Skip to main content
Glama

get_product

Get the detailed response for a specific product ID. Use this after discover_products or find_similar_products when you need merchant description, store info, all images, SKU-level availability variants, SKU, colorKey/size matrix, exact variant prices/compareAtPrice in the requested currency, and the direct link to purchase.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countryNoOptional shopper location as an ISO-3166-1 alpha-2 country code (e.g. "US", "GB", "DE"). Recorded for analytics and used to improve future offer geo-matching. Omit if unknown — absence preserves current behavior.
currencyNoISO 4217 currency code to render prices in (e.g. "GBP", "EUR", "USD"). Defaults to USD.
product_idYesThe product ID (from a previous search result)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
tagsNo
brandNo
priceYes
storeNo
titleYes
colorsNo
genderNo
imagesNo
inStockNo
sleevesNo
summaryNo
categoryNo
closuresNo
currencyYes
necklineNo
materialsNo
productUrlNo
silhouetteNo
availabilityYes
isSustainableNo
compareAtPriceNo
relevanceScoreNo
similarityScoreNo
merchantDescriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / country
      Added value: +{
      +  "description": "Optional shopper location as an ISO-3166-1 alpha-2 country code (e.g. \"US\", \"GB\", \"DE\"). Recorded for analytics and used to improve future offer geo-matching. Omit if unknown — absence preserves current behavior.",
      +  "pattern": "^[A-Za-z]{2}$",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "availability": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "color": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "availableSizes": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "inStock": {
      +                      "type": "boolean"
      +                    },
      +                    "label": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "label",
      +                    "inStock"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "color": {
      +                "type": "string"
      +              },
      +              "colorKey": {
      +                "type": "string"
      +              },
      +              "compareAtPrice": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "compareAtPriceRange": {
      +                "$ref": "#/properties/availability/properties/color/items/properties/priceRange"
      +              },
      +              "currency": {
      +                "type": "string"
      +              },
      +              "imageUrls": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "inStock": {
      +                "type": "boolean"
      +              },
      +              "label": {
      +                "type": "string"
      +              },
      +              "price": {
      +                "type": "number"
      +              },
      +              "priceRange": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "currency": {
      +                    "type": "string"
      +                  },
      +                  "max": {
      +                    "type": "number"
      +                  },
      +                  "min": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "min",
      +                  "max",
      +                  "currency"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "colorKey",
      +              "color",
      +              "label",
      +              "availableSizes"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "dimensions": {
      +          "items": {
      +            "enum": [
      +              "color",
      +              "size"
      +            ],
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "sizes": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "compareAtPrice": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "compareAtPriceRange": {
      +                "$ref": "#/properties/availability/properties/color/items/properties/priceRange"
      +              },
      +              "currency": {
      +                "type": "string"
      +              },
      +              "inStock": {
      +                "type": "boolean"
      +              },
      +              "label": {
      +                "type": "string"
      +              },
      +              "price": {
      +                "type": "number"
      +              },
      +              "priceRange": {
      +                "$ref": "#/properties/availability/properties/color/items/properties/priceRange"
      +              }
      +            },
      +            "required": [
      +              "label",
      +              "inStock"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "variants": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "colorKey": {
      +                "type": "string"
      +              },
      +              "compareAtPrice": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "currency": {
      +                "type": "string"
      +              },
      +              "imageUrl": {
      +                "type": "string"
      +              },
      +              "inStock": {
      +                "type": "boolean"
      +              },
      +              "price": {
      +                "type": "number"
      +              },
      +              "size": {
      +                "type": "string"
      +              },
      +              "sku": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "inStock"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "dimensions",
      +        "color",
      +        "sizes"
      +      ],
      +      "type": "object"
      +    },
      +    "brand": {
      +      "type": "string"
      +    },
      +    "category": {
      +      "type": "string"
      +    },
      +    "closures": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "colors": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "compareAtPrice": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "currency": {
      +      "type": "string"
      +    },
      +    "gender": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "images": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "inStock": {
      +      "type": "boolean"
      +    },
      +    "isSustainable": {
      +      "type": "boolean"
      +    },
      +    "materials": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "merchantDescription": {
      +      "type": "string"
      +    },
      +    "neckline": {
      +      "type": "string"
      +    },
      +    "price": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "productUrl": {
      +      "type": "string"
      +    },
      +    "relevanceScore": {
      +      "type": "number"
      +    },
      +    "silhouette": {
      +      "type": "string"
      +    },
      +    "similarityScore": {
      +      "type": "number"
      +    },
      +    "sleeves": {
      +      "type": "string"
      +    },
      +    "store": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "domain": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "domain"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "summary": {
      +      "type": "string"
      +    },
      +    "tags": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "title": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "title",
      +    "price",
      +    "currency",
      +    "availability"
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / currency
      Added value: +{
      +  "description": "ISO 4217 currency code to render prices in (e.g. \"GBP\", \"EUR\", \"USD\"). Defaults to USD.",
      +  "maxLength": 3,
      +  "type": "string"
      +}
  4. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false, openWorldHint=false, and readOnlyHint=false, so the safety profile is covered by structured data. The description adds one useful behavioral note — prices are rendered in the requested currency — but says nothing about permissions, rate limits, caching, or error behavior (e.g. an unknown product_id). The readOnlyHint=false is mildly surprising for a 'Get', though it is consistent with the country parameter being 'recorded for analytics', so no hard contradiction.

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?

Two sentences, front-loaded with the core action and followed by the routing/need clause — no preamble or filler. The second sentence is a long comma-separated inventory of return fields that slightly bloats the text, some of which the output schema already covers.

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, an annotations block, and 100% schema coverage on three parameters, the description only needs to convey purpose and positioning, which it does. Minor gaps remain around failure modes (invalid ID, unsupported currency) and whether repeated calls are cheap, but nothing an agent needs to invoke it correctly is missing.

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 product_id, currency, and country are already fully documented in the schema with format patterns and defaults. The description only reinforces currency behavior ('exact variant prices/compareAtPrice in the requested currency') and adds no syntax or constraint detail beyond the schema, so the 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 ('Get the detailed response for a specific product ID') and immediately distinguishes itself from siblings by naming discover_products and find_similar_products as the upstream calls that produce the ID. The enumeration of returned content (merchant description, store info, images, SKU variants, price/compareAtPrice, purchase link) makes the resource unambiguous versus get_filters or the discover_* tools.

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?

It gives an explicit trigger ('Use this after discover_products or find_similar_products when you need ...'), which effectively routes the agent between search-stage and detail-stage tools. What it lacks is a when-not: nothing tells the agent to avoid this call when no product ID exists yet or to prefer a batch/search tool instead.

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.