Skip to main content
Glama

Brainy Prices — UAE Cost of Living

ministry_shop_prices

Read-onlyIdempotent

Use when asked about MOET shop prices; e.g. {"category":"bread"}. MOET-published Dubai shop prices. category: bread or chain_id/product_id. Not online offers.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ministry_shop_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
sortNoname
cursorNo
categoryNo
chain_idNo
page_sizeNo
product_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "brand": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "category": {
      -              "enum": [
      -                "bread",
      -                "chicken",
      -                "cooking_oil",
      -                "dairy",
      -                "eggs",
      -                "legumes",
      -                "rice",
      -                "sugar"
      -              ]
      -            },
      -            "chains": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "branches": {
      -                    "type": "integer"
      -                  },
      -                  "chain_id": {
      -                    "enum": [
      -                      "al_maya",
      -                      "carrefour",
      -                      "emirates_coop",
      -                      "lulu",
      -                      "nesto",
      -                      "safeer",
      -                      "spinneys",
      -                      "union_coop"
      -                    ]
      -                  },
      -                  "chain_name": {
      -                    "type": "string"
      -                  },
      -                  "median_price_aed": {
      -                    "type": "number"
      -                  },
      -                  "min_price_aed": {
      -                    "type": "number"
      -                  },
      -                  "single_branch": {
      -                    "type": "boolean"
      -                  }
      -                },
      -                "required": [
      -                  "chain_id",
      -                  "chain_name",
      -                  "min_price_aed",
      -                  "median_price_aed",
      -                  "branches",
      -                  "single_branch"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "excluded_rows": {
      -              "type": "integer"
      -            },
      -            "low_branch_rows": {
      -              "type": "integer"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "product_id": {
      -              "type": "string"
      -            },
      -            "provenance": {
      -              "additionalProperties": true,
      -              "required": [
      -                "source_id",
      -                "license_id",
      -                "source_url",
      -                "observed_on",
      -                "observed_at",
      -                "published_on",
      -                "published_at",
      -                "retrieved_at",
      -                "stale",
      -                "status",
      -                "paused_since",
      -                "flags"
      -              ],
      -              "type": "object"
      -            },
      -            "size": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "quantity": {
      -                  "type": "number"
      -                },
      -                "unit": {
      -                  "enum": [
      -                    "g",
      -                    "ml",
      -                    "pc"
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "quantity",
      -                "unit"
      -              ],
      -              "type": "object"
      -            }
      -          },
      -          "required": [
      -            "product_id",
      -            "name",
      -            "category",
      -            "brand",
      -            "size",
      -            "chains",
      -            "low_branch_rows",
      -            "excluded_rows",
      -            "provenance"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "links": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "docs": {
      -            "type": "string"
      -          },
      -          "next": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "open_in_browser": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "self": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "self",
      -          "next",
      -          "open_in_browser",
      -          "docs"
      -        ],
      -        "type": "object"
      -      },
      -      "meta": {
      -        "additionalProperties": true,
      -        "required": [
      -          "api_version",
      -          "content_language",
      -          "generated_at",
      -          "currency",
      -          "attribution",
      -          "disclaimer",
      -          "dataset",
      -          "page"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "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"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "brand": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "category": {
      +              "enum": [
      +                "bread",
      +                "chicken",
      +                "cooking_oil",
      +                "dairy",
      +                "eggs",
      +                "legumes",
      +                "rice",
      +                "sugar"
      +              ]
      +            },
      +            "chains": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "branches": {
      +                    "type": "integer"
      +                  },
      +                  "chain_id": {
      +                    "enum": [
      +                      "al_maya",
      +                      "carrefour",
      +                      "emirates_coop",
      +                      "lulu",
      +                      "nesto",
      +                      "safeer",
      +                      "spinneys",
      +                      "union_coop"
      +                    ]
      +                  },
      +                  "chain_name": {
      +                    "type": "string"
      +                  },
      +                  "median_price_aed": {
      +                    "type": "number"
      +                  },
      +                  "min_price_aed": {
      +                    "type": "number"
      +                  },
      +                  "single_branch": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "required": [
      +                  "chain_id",
      +                  "chain_name",
      +                  "min_price_aed",
      +                  "median_price_aed",
      +                  "branches",
      +                  "single_branch"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "excluded_rows": {
      +              "type": "integer"
      +            },
      +            "low_branch_rows": {
      +              "type": "integer"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "product_id": {
      +              "type": "string"
      +            },
      +            "provenance": {
      +              "additionalProperties": true,
      +              "required": [
      +                "source_id",
      +                "license_id",
      +                "source_url",
      +                "observed_on",
      +                "observed_at",
      +                "published_on",
      +                "published_at",
      +                "retrieved_at",
      +                "stale",
      +                "status",
      +                "paused_since",
      +                "flags"
      +              ],
      +              "type": "object"
      +            },
      +            "size": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "quantity": {
      +                  "type": "number"
      +                },
      +                "unit": {
      +                  "enum": [
      +                    "g",
      +                    "ml",
      +                    "pc"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "quantity",
      +                "unit"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "product_id",
      +            "name",
      +            "category",
      +            "brand",
      +            "size",
      +            "chains",
      +            "low_branch_rows",
      +            "excluded_rows",
      +            "provenance"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "links": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "docs": {
      +            "type": "string"
      +          },
      +          "next": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "open_in_browser": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "self": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "self",
      +          "next",
      +          "open_in_browser",
      +          "docs"
      +        ],
      +        "type": "object"
      +      },
      +      "meta": {
      +        "additionalProperties": true,
      +        "required": [
      +          "api_version",
      +          "content_language",
      +          "generated_at",
      +          "currency",
      +          "attribution",
      +          "disclaimer",
      +          "dataset",
      +          "page"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "meta",
      +      "data",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "required": [
      +      "error",
      +      "request_id"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  3. Changed1 schema field changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  4. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare this a safe, idempotent, closed-world read, so the description needn't restate safety. It does add real context beyond the annotations: the data is government-published (MOET) and excludes online offers, which is a meaningful scope boundary. It says nothing about result volume, pagination behavior, or what happens with zero matches, and the odd JSON fragment 'e.g. {"category":"bread"}' reads as an example rather than a behavioral statement.

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 usage trigger is front-loaded and the whole definition is three short fragments with no filler. The trade-off is that terseness tips into ambiguity, particularly the compressed 'category: bread or chain_id/product_id' clause, which is hard to parse as a filtering rule.

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?

An output schema exists, so return values needn't be explained, but with 7 parameters at 0% schema coverage the description should cover the query/pagination surface and does not. An agent can pick a category but has no guidance on combining filters, paging, or ordering, which is a substantial gap for a list/filter tool.

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%, so the description carries the full burden, and it only partially meets it. It hints that you can filter by category (giving 'bread' as an example) or by chain_id/product_id, but says nothing about q (presumably a text search), sort, cursor, or page_size, all of which an agent must guess from names alone.

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 names a specific resource and source authority: 'MOET-published Dubai shop prices', and the opening clause 'Use when asked about MOET shop prices' anchors the intent. It also carves out scope with 'Not online offers', which separates it from retail/online-price siblings, though no sibling is named explicitly.

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?

There is a clear triggering condition ('Use when asked about MOET shop prices') and one exclusion ('Not online offers'), which is more than most definitions offer. However, it never routes the agent to the obvious alternatives in the catalog (grocery_products, grocery_compare_list, shopper_price_reports), so the choice between them is left to inference.

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