Skip to main content
Glama

Brainy Prices — UAE Cost of Living

grocery_products

Read-onlyIdempotent

Dubai supermarket prices: search by name; product_id for per-store pack/unit offers, dates, history. Not MOET.

Input Schema

NameRequiredDescriptionDefault
sortNorelevance
queryNo
cursorNo
store_idNo
page_sizeNo
comparisonNo
product_idNo
availabilityNo
available_onlyNo
include_offersNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  3. Changed17 schema fields changed
    • removedInput schema / properties / availability / type
      Removed value: -"string"
    • removedInput schema / properties / comparison / type
      Removed value: -"string"
    • removedInput schema / properties / sort / type
      Removed value: -"string"
    • removedOutput schema / $defs / GroceryOffer / properties / availability / type
      Removed value: -"string"
    • removedOutput schema / $defs / GroceryOffer / properties / comparison / type
      Removed value: -"string"
    • removedOutput schema / $defs / GroceryOffer / properties / freshness / type
      Removed value: -"string"
    • removedOutput schema / $defs / GroceryOffer / properties / sale_mode / type
      Removed value: -"string"
    • removedOutput schema / $defs / GroceryOffer / properties / unit / type
      Removed value: -"string"
    • removedOutput schema / $defs / GroceryOfferListResponse
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "data": {
      -      "items": {
      -        "$ref": "#/$defs/GroceryOffer"
      -      },
      -      "type": "array"
      -    },
      -    "links": {
      -      "$ref": "#/$defs/Links"
      -    },
      -    "meta": {
      -      "$ref": "#/$defs/ResponseMeta"
      -    }
      -  },
      -  "required": [
      -    "meta",
      -    "data",
      -    "links"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / GroceryProduct
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "comparison": {
      -      "enum": [
      -        "exact",
      -        "equivalent"
      -      ],
      -      "type": "string"
      -    },
      -    "default_quantity": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "lowest_price_aed": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "name": {
      -      "type": "string"
      -    },
      -    "offers": {
      -      "items": {
      -        "$ref": "#/$defs/GroceryOffer"
      -      },
      -      "type": "array"
      -    },
      -    "offers_count": {
      -      "type": "integer"
      -    },
      -    "open_in_browser": {
      -      "type": "string"
      -    },
      -    "page_url": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "product_id": {
      -      "type": "string"
      -    },
      -    "provenance": {
      -      "$ref": "#/$defs/Provenance"
      -    },
      -    "unit": {
      -      "enum": [
      -        "each",
      -        "kg",
      -        "l"
      -      ],
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "product_id",
      -    "name",
      -    "comparison",
      -    "unit",
      -    "default_quantity",
      -    "offers_count",
      -    "lowest_price_aed",
      -    "page_url",
      -    "open_in_browser",
      -    "provenance"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / GroceryProductDetail
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "comparison": {
      -      "enum": [
      -        "exact",
      -        "equivalent"
      -      ],
      -      "type": "string"
      -    },
      -    "default_quantity": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "name": {
      -      "type": "string"
      -    },
      -    "offers": {
      -      "items": {
      -        "$ref": "#/$defs/GroceryOffer"
      -      },
      -      "type": "array"
      -    },
      -    "open_in_browser": {
      -      "type": "string"
      -    },
      -    "page_url": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "price_history": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "note": {
      -          "type": "string"
      -        },
      -        "points": {
      -          "items": {
      -            "$ref": "#/$defs/PriceHistoryPoint"
      -          },
      -          "type": "array"
      -        },
      -        "status": {
      -          "enum": [
      -            "available",
      -            "not_published"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "status",
      -        "note",
      -        "points"
      -      ],
      -      "type": "object"
      -    },
      -    "product_id": {
      -      "type": "string"
      -    },
      -    "provenance": {
      -      "$ref": "#/$defs/Provenance"
      -    },
      -    "unit": {
      -      "enum": [
      -        "each",
      -        "kg",
      -        "l"
      -      ],
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "product_id",
      -    "name",
      -    "comparison",
      -    "unit",
      -    "default_quantity",
      -    "page_url",
      -    "open_in_browser",
      -    "offers",
      -    "price_history",
      -    "provenance"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / GroceryProductListResponse
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "data": {
      -      "items": {
      -        "$ref": "#/$defs/GroceryProduct"
      -      },
      -      "type": "array"
      -    },
      -    "links": {
      -      "$ref": "#/$defs/Links"
      -    },
      -    "meta": {
      -      "$ref": "#/$defs/ResponseMeta"
      -    }
      -  },
      -  "required": [
      -    "meta",
      -    "data",
      -    "links"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / GroceryProductResponse
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "data": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/GroceryProductDetail"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "links": {
      -      "$ref": "#/$defs/Links"
      -    },
      -    "meta": {
      -      "$ref": "#/$defs/ResponseMeta"
      -    }
      -  },
      -  "required": [
      -    "meta",
      -    "data",
      -    "links"
      -  ],
      -  "type": "object"
      -}
    • addedOutput schema / $defs / PriceEstimate
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "as_of": {
      +      "type": "string"
      +    },
      +    "basis": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "confidence": {
      +      "enum": [
      +        "high",
      +        "medium",
      +        "low"
      +      ]
      +    },
      +    "kind": {
      +      "const": "estimate"
      +    },
      +    "label": {
      +      "const": "Estimate — not a store price"
      +    },
      +    "method": {
      +      "enum": [
      +        "official_same_product",
      +        "own_last_observed",
      +        "official_category",
      +        "category_median",
      +        "shopper_reports"
      +      ]
      +    },
      +    "packs": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "range_aed": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "high_aed": {
      +          "type": "number"
      +        },
      +        "low_aed": {
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "unit": {
      +      "enum": [
      +        "kg",
      +        "l",
      +        "each"
      +      ]
      +    },
      +    "unit_value_aed": {
      +      "type": "number"
      +    },
      +    "value_aed": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
    • removedOutput schema / $defs / PriceHistoryPoint
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "date": {
      -      "type": "string"
      -    },
      -    "price_aed": {
      -      "type": "number"
      -    },
      -    "store_id": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    }
      -  },
      -  "required": [
      -    "date",
      -    "price_aed",
      -    "store_id"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / ToolFailure
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "error": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "code": {
      -          "type": "string"
      -        },
      -        "message": {
      -          "type": "string"
      -        },
      -        "retry_after_s": {
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        },
      -        "retryable": {
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "code",
      -        "message",
      -        "retryable",
      -        "retry_after_s"
      -      ],
      -      "type": "object"
      -    },
      -    "request_id": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "required": [
      -    "error",
      -    "request_id"
      -  ],
      -  "type": "object"
      -}
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/$defs/GroceryProductListResponse"
      -  },
      -  {
      -    "$ref": "#/$defs/GroceryProductResponse"
      -  },
      -  {
      -    "$ref": "#/$defs/GroceryOfferListResponse"
      -  },
      -  {
      -    "$ref": "#/$defs/ToolFailure"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "comparison": {
      +              "enum": [
      +                "exact",
      +                "equivalent"
      +              ]
      +            },
      +            "default_quantity": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "estimate": {
      +              "$ref": "#/$defs/PriceEstimate"
      +            },
      +            "lowest_price_aed": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "offers": {
      +              "items": {
      +                "$ref": "#/$defs/GroceryOffer"
      +              },
      +              "type": "array"
      +            },
      +            "offers_count": {
      +              "type": "integer"
      +            },
      +            "open_in_browser": {
      +              "type": "string"
      +            },
      +            "page_url": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "price": {
      +              "type": "null"
      +            },
      +            "product_id": {
      +              "type": "string"
      +            },
      +            "provenance": {
      +              "$ref": "#/$defs/Provenance"
      +            },
      +            "unit": {
      +              "enum": [
      +                "each",
      +                "kg",
      +                "l"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "product_id",
      +            "name",
      +            "comparison",
      +            "unit",
      +            "default_quantity",
      +            "offers_count",
      +            "lowest_price_aed",
      +            "page_url",
      +            "open_in_browser",
      +            "provenance"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "links": {
      +        "$ref": "#/$defs/Links"
      +      },
      +      "meta": {
      +        "$ref": "#/$defs/ResponseMeta"
      +      }
      +    },
      +    "required": [
      +      "meta",
      +      "data",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "comparison": {
      +                "enum": [
      +                  "exact",
      +                  "equivalent"
      +                ]
      +              },
      +              "default_quantity": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "estimate": {
      +                "$ref": "#/$defs/PriceEstimate"
      +              },
      +              "name": {
      +                "type": "string"
      +              },
      +              "offers": {
      +                "items": {
      +                  "$ref": "#/$defs/GroceryOffer"
      +                },
      +                "type": "array"
      +              },
      +              "open_in_browser": {
      +                "type": "string"
      +              },
      +              "page_url": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "price": {
      +                "type": "null"
      +              },
      +              "price_history": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "note": {
      +                    "type": "string"
      +                  },
      +                  "points": {
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "date": {
      +                          "type": "string"
      +                        },
      +                        "price_aed": {
      +                          "type": "number"
      +                        },
      +                        "store_id": {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        }
      +                      },
      +                      "required": [
      +                        "date",
      +                        "price_aed",
      +                        "store_id"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "status": {
      +                    "enum": [
      +                      "available",
      +                      "not_published"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "status",
      +                  "note",
      +                  "points"
      +                ],
      +                "type": "object"
      +              },
      +              "product_id": {
      +                "type": "string"
      +              },
      +              "provenance": {
      +                "$ref": "#/$defs/Provenance"
      +              },
      +              "unit": {
      +                "enum": [
      +                  "each",
      +                  "kg",
      +                  "l"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "product_id",
      +              "name",
      +              "comparison",
      +              "unit",
      +              "default_quantity",
      +              "page_url",
      +              "open_in_browser",
      +              "offers",
      +              "price_history",
      +              "provenance"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "links": {
      +        "$ref": "#/$defs/Links"
      +      },
      +      "meta": {
      +        "$ref": "#/$defs/ResponseMeta"
      +      }
      +    },
      +    "required": [
      +      "meta",
      +      "data",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "items": {
      +          "$ref": "#/$defs/GroceryOffer"
      +        },
      +        "type": "array"
      +      },
      +      "links": {
      +        "$ref": "#/$defs/Links"
      +      },
      +      "meta": {
      +        "$ref": "#/$defs/ResponseMeta"
      +      }
      +    },
      +    "required": [
      +      "meta",
      +      "data",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "message": {
      +            "type": "string"
      +          },
      +          "retry_after_s": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable",
      +          "retry_after_s"
      +        ],
      +        "type": "object"
      +      },
      +      "request_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "request_id"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already establish that this is a safe, read-only, idempotent operation, lowering the disclosure burden. The description adds useful context about per-store pack/unit offers, dates, and history, but does not explain pagination, filtering behavior, or how the response is organized beyond what the output schema provides.

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?

The description is very compact and front-loads the core purpose and modes with no filler. However, the fragmentary style and unexplained 'Not MOET' make it slightly cryptic rather than maximally clear.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 10 parameters, 0% schema description coverage, and no required parameters, the description is too thin to guide correct invocation. The output schema helps with return values, but an agent still lacks enough information about the many filtering, sorting, paging, and offer-inclusion parameters.

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?

Schema description coverage is 0% across 10 parameters, so the description must compensate. It only clarifies query-as-name-search and product_id-as-detail-key, leaving sort, cursor, store_id, page_size, comparison, availability, available_only, and include_offers entirely undocumented.

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 clearly identifies the resource (Dubai supermarket prices) and two usage modes: name search and product_id lookup for per-store offers, dates, and history. It also distinguishes itself from MOET/ministry price data, though it does not name the closest grocery siblings directly.

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

Usage Guidelines3/5

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

It implies when to search by name versus when to use product_id for detailed per-store offer/history data, and explicitly excludes MOET data. However, it does not say when to use this instead of grocery_compare_list, grocery_stores, or ministry_shop_prices.

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