Skip to main content
Glama

get_product

Read-onlyIdempotent

Retrieve product details, variants, Slovak EUR offers, delivery availability, and store counts by product ID to compare items and link to product pages.

Instructions

Get product details, variants, public online EUR offers in Slovakia, delivery availability and available-store count. Includes localized attributes, ratings on the upstream scale, and unit prices when supplied. Link recommended products using the returned product page URL and show the confirmed pack size when known. Label prices with requires_membership: true as Family member prices. Null means the membership requirement is unknown. Online offers preserve the original price variant. Shopper eligibility and branch prices are unverified.

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": {
      "product_id": "<product_id>"
    },
    "name": "get_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
product_idYes

Output Schema

NameRequiredDescriptionDefault
eanYes
urlYes
nameYes
brandYes
priceYes
marketYes
ratingYes
sourceYes
can_buyYes
variantsYes
attributesYes
checked_atYes
product_idYes
availabilityYes
catalogue_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.2
    • changedOutput schema / properties / price / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "amount": {
      -        "anyOf": [
      -          {
      -            "pattern": "^\\d+(?:\\.\\d+)?$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "context": {
      -        "const": "public_online",
      -        "type": "string"
      -      },
      -      "currency": {
      -        "enum": [
      -          "EUR",
      -          "CZK",
      -          "PLN"
      -        ],
      -        "type": "string"
      -      },
      -      "lowest_amount": {
      -        "anyOf": [
      -          {
      -            "pattern": "^\\d+(?:\\.\\d+)?$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "original_amount": {
      -        "anyOf": [
      -          {
      -            "pattern": "^\\d+(?:\\.\\d+)?$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "original_unit_price": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "amount": {
      -                "pattern": "^\\d+(?:\\.\\d+)?$",
      -                "type": "string"
      -              },
      -              "unit": {
      -                "pattern": "\\S",
      -                "type": "string"
      -              },
      -              "unit_size": {
      -                "pattern": "^(?=.*[1-9])\\d+(?:\\.\\d+)?$",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "amount",
      -              "unit_size",
      -              "unit"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "sale_percentage": {},
      -      "unit_price": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "amount": {
      -                "pattern": "^\\d+(?:\\.\\d+)?$",
      -                "type": "string"
      -              },
      -              "unit": {
      -                "pattern": "\\S",
      -                "type": "string"
      -              },
      -              "unit_size": {
      -                "pattern": "^(?=.*[1-9])\\d+(?:\\.\\d+)?$",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "amount",
      -              "unit_size",
      -              "unit"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "variant": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "voucher_campaign": {}
      -    },
      -    "required": [
      -      "amount",
      -      "currency",
      -      "context",
      -      "variant",
      -      "original_amount",
      -      "lowest_amount",
      -      "unit_price",
      -      "original_unit_price",
      -      "sale_percentage",
      -      "voucher_campaign"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "amount": {
      +        "anyOf": [
      +          {
      +            "pattern": "^\\d+(?:\\.\\d+)?$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "context": {
      +        "const": "public_online",
      +        "type": "string"
      +      },
      +      "currency": {
      +        "enum": [
      +          "EUR",
      +          "CZK",
      +          "PLN"
      +        ],
      +        "type": "string"
      +      },
      +      "lowest_amount": {
      +        "anyOf": [
      +          {
      +            "pattern": "^\\d+(?:\\.\\d+)?$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "original_amount": {
      +        "anyOf": [
      +          {
      +            "pattern": "^\\d+(?:\\.\\d+)?$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "original_unit_price": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "amount": {
      +                "pattern": "^\\d+(?:\\.\\d+)?$",
      +                "type": "string"
      +              },
      +              "unit": {
      +                "pattern": "\\S",
      +                "type": "string"
      +              },
      +              "unit_size": {
      +                "pattern": "^(?=.*[1-9])\\d+(?:\\.\\d+)?$",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "amount",
      +              "unit_size",
      +              "unit"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "requires_membership": {
      +        "description": "Whether this price requires Super zoo Family membership. Null means unknown.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "sale_percentage": {},
      +      "unit_price": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "amount": {
      +                "pattern": "^\\d+(?:\\.\\d+)?$",
      +                "type": "string"
      +              },
      +              "unit": {
      +                "pattern": "\\S",
      +                "type": "string"
      +              },
      +              "unit_size": {
      +                "pattern": "^(?=.*[1-9])\\d+(?:\\.\\d+)?$",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "amount",
      +              "unit_size",
      +              "unit"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "variant": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "voucher_campaign": {}
      +    },
      +    "required": [
      +      "amount",
      +      "currency",
      +      "context",
      +      "variant",
      +      "requires_membership",
      +      "original_amount",
      +      "lowest_amount",
      +      "unit_price",
      +      "original_unit_price",
      +      "sale_percentage",
      +      "voucher_campaign"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed1 schema field changedv0.3.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "attributes": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "name": {
      +            "pattern": "\\S",
      +            "type": "string"
      +          },
      +          "value": {
      +            "pattern": "\\S",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "availability": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "availableStoresCount": {
      +              "anyOf": [
      +                {
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "deliveryAvailability": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "availability": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "text": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "isFreeDelivery": {
      +              "type": "boolean"
      +            },
      +            "storeAvailability": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "availability": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "text": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "brand": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "can_buy": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "catalogue_number": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "checked_at": {
      +      "format": "date-time",
      +      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +      "type": "string"
      +    },
      +    "ean": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "market": {
      +      "enum": [
      +        "SK",
      +        "CZ",
      +        "PL"
      +      ],
      +      "type": "string"
      +    },
      +    "name": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "price": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "amount": {
      +              "anyOf": [
      +                {
      +                  "pattern": "^\\d+(?:\\.\\d+)?$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "context": {
      +              "const": "public_online",
      +              "type": "string"
      +            },
      +            "currency": {
      +              "enum": [
      +                "EUR",
      +                "CZK",
      +                "PLN"
      +              ],
      +              "type": "string"
      +            },
      +            "lowest_amount": {
      +              "anyOf": [
      +                {
      +                  "pattern": "^\\d+(?:\\.\\d+)?$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "original_amount": {
      +              "anyOf": [
      +                {
      +                  "pattern": "^\\d+(?:\\.\\d+)?$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "original_unit_price": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "amount": {
      +                      "pattern": "^\\d+(?:\\.\\d+)?$",
      +                      "type": "string"
      +                    },
      +                    "unit": {
      +                      "pattern": "\\S",
      +                      "type": "string"
      +                    },
      +                    "unit_size": {
      +                      "pattern": "^(?=.*[1-9])\\d+(?:\\.\\d+)?$",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "amount",
      +                    "unit_size",
      +                    "unit"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "sale_percentage": {},
      +            "unit_price": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "amount": {
      +                      "pattern": "^\\d+(?:\\.\\d+)?$",
      +                      "type": "string"
      +                    },
      +                    "unit": {
      +                      "pattern": "\\S",
      +                      "type": "string"
      +                    },
      +                    "unit_size": {
      +                      "pattern": "^(?=.*[1-9])\\d+(?:\\.\\d+)?$",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "amount",
      +                    "unit_size",
      +                    "unit"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "variant": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "voucher_campaign": {}
      +          },
      +          "required": [
      +            "amount",
      +            "currency",
      +            "context",
      +            "variant",
      +            "original_amount",
      +            "lowest_amount",
      +            "unit_price",
      +            "original_unit_price",
      +            "sale_percentage",
      +            "voucher_campaign"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "product_id": {
      +      "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,99}$",
      +      "type": "string"
      +    },
      +    "rating": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "count": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "value": {
      +              "minimum": 0,
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "value",
      +            "count"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "source": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    },
      +    "variants": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "variantName": {
      +            "type": "string"
      +          },
      +          "variants": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "alias": {
      +                  "type": "string"
      +                },
      +                "id": {
      +                  "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,99}$",
      +                  "type": "string"
      +                },
      +                "isActive": {
      +                  "type": "boolean"
      +                },
      +                "isDisabled": {
      +                  "type": "boolean"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "name",
      +                "alias",
      +                "isActive",
      +                "isDisabled"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "variantName",
      +          "variants"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "source",
      +    "market",
      +    "checked_at",
      +    "product_id",
      +    "name",
      +    "url",
      +    "ean",
      +    "catalogue_number",
      +    "brand",
      +    "can_buy",
      +    "rating",
      +    "attributes",
      +    "price",
      +    "variants",
      +    "availability"
      +  ],
      +  "type": "object"
      +}
  3. First observedv0.1.0

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the bar is low, and the description still adds real context: shopper eligibility and branch prices are unverified, ratings use the upstream scale, prices carry requires_membership with null meaning unknown, and offers preserve the original price variant. That is meaningful framing of data quality and caveats beyond structured fields. It stops short of disclosure on error behavior for unknown IDs, so not 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.

Conciseness3/5

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

The single paragraph is front-loaded with the resource scope, but sentences are dense run-ons that blend data description with rendering instructions ('Label prices with requires_membership: true as Family member prices', 'Link recommended products...'), which read as output-format guidance that could sit with the output schema. Content earns its place but the packaging is cluttered.

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?

An output schema exists, so return-value explanation is optional, yet the description usefully characterizes localization, ratings scale, unit prices, and membership labeling. With a single id parameter constrained by a pattern, the remaining gap is only around not-found/error behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is exactly one parameter and schema description coverage is 0%; the description never mentions product_id or what an acceptable identifier looks like. Only the JSON-Schema pattern hints at the format, so the description fails to compensate for the coverage gap on the tool's single required input.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a concrete verb plus resource ('Get product details, variants, public online EUR offers in Slovakia, delivery availability and available-store count'), which tells an agent exactly what data comes back for one product. It does not name or contrast any sibling (e.g. get_product_availability, get_delivery_options) even though those overlap, so differentiation is left implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no statement about when to use this tool versus get_product_availability, get_delivery_options, or browse_products/search_products. The content is almost entirely about what is returned and how to render it, so the caller must infer that this is the by-id detail fetch.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.