Skip to main content
Glama

Brainy Prices — UAE Cost of Living

grocery_stores

Read-onlyIdempotent

Grocery stores: delivery fees, free-delivery thresholds, minimum orders.

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": "grocery_stores"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoname
cursorNo
store_idNo
page_sizeNo
delivery_rule_statusNo

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. Changed15 schema fields changed
    • removedInput schema / properties / delivery_rule_status / type
      Removed value: -"string"
    • removedInput schema / properties / sort / type
      Removed value: -"string"
    • removedOutput schema / $defs / DeliveryRule
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "checked_at": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "fee_max_aed": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "fee_min_aed": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "free_from_aed": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "free_from_inclusive": {
      -      "type": "boolean"
      -    },
      -    "minimum_order_aed": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "notes": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "possibly_free_from_aed": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "possibly_free_from_inclusive": {
      -      "type": [
      -        "boolean",
      -        "null"
      -      ]
      -    },
      -    "scope": {
      -      "type": "string"
      -    },
      -    "source_url": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "required": [
      -    "scope",
      -    "fee_min_aed",
      -    "fee_max_aed",
      -    "free_from_aed",
      -    "free_from_inclusive",
      -    "possibly_free_from_aed",
      -    "possibly_free_from_inclusive",
      -    "minimum_order_aed",
      -    "notes",
      -    "source_url",
      -    "checked_at"
      -  ],
      -  "type": "object"
      -}
    • changedOutput schema / $defs / GroceryStore / properties / delivery_rule / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/$defs/DeliveryRule"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "checked_at": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "fee_max_aed": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "fee_min_aed": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "free_from_aed": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "free_from_inclusive": {
      +        "type": "boolean"
      +      },
      +      "minimum_order_aed": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "notes": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "possibly_free_from_aed": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "possibly_free_from_inclusive": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "scope": {
      +        "type": "string"
      +      },
      +      "source_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "scope",
      +      "fee_min_aed",
      +      "fee_max_aed",
      +      "free_from_aed",
      +      "free_from_inclusive",
      +      "possibly_free_from_aed",
      +      "possibly_free_from_inclusive",
      +      "minimum_order_aed",
      +      "notes",
      +      "source_url",
      +      "checked_at"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / $defs / GroceryStore / properties / delivery_rule_status / type
      Removed value: -"string"
    • removedOutput schema / $defs / GroceryStore / properties / kind / type
      Removed value: -"string"
    • removedOutput schema / $defs / GroceryStore / properties / provenance / $ref
      Removed value: -"#/$defs/Provenance"
    • addedOutput schema / $defs / GroceryStore / properties / provenance / additionalProperties
      Added value: +true
    • addedOutput schema / $defs / GroceryStore / properties / provenance / required
      Added value: +[
      +  "source_id",
      +  "license_id",
      +  "source_url",
      +  "observed_on",
      +  "observed_at",
      +  "published_on",
      +  "published_at",
      +  "retrieved_at",
      +  "stale",
      +  "status",
      +  "paused_since",
      +  "flags"
      +]
    • addedOutput schema / $defs / GroceryStore / properties / provenance / type
      Added value: +"object"
    • removedOutput schema / $defs / GroceryStoreListResponse
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "data": {
      -      "items": {
      -        "$ref": "#/$defs/GroceryStore"
      -      },
      -      "type": "array"
      -    },
      -    "links": {
      -      "$ref": "#/$defs/Links"
      -    },
      -    "meta": {
      -      "$ref": "#/$defs/ResponseMeta"
      -    }
      -  },
      -  "required": [
      -    "meta",
      -    "data",
      -    "links"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / GroceryStoreResponse
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "data": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/GroceryStore"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "links": {
      -      "$ref": "#/$defs/Links"
      -    },
      -    "meta": {
      -      "$ref": "#/$defs/ResponseMeta"
      -    }
      -  },
      -  "required": [
      -    "meta",
      -    "data",
      -    "links"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / Provenance
      Removed value: -{
      -  "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"
      -}
    • 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/GroceryStoreListResponse"
      -  },
      -  {
      -    "$ref": "#/$defs/GroceryStoreResponse"
      -  },
      -  {
      -    "$ref": "#/$defs/ToolFailure"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "items": {
      +          "$ref": "#/$defs/GroceryStore"
      +        },
      +        "type": "array"
      +      },
      +      "links": {
      +        "$ref": "#/$defs/Links"
      +      },
      +      "meta": {
      +        "$ref": "#/$defs/ResponseMeta"
      +      }
      +    },
      +    "required": [
      +      "meta",
      +      "data",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/GroceryStore"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "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

C2.7/5.0
Behavior3/5

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

The annotations already declare this is a read-only, idempotent, non-destructive, closed-world operation, so the safety profile is covered. The description adds domain context by saying the records include delivery-fee, free-delivery-threshold, and minimum-order data, but it does not describe pagination, sorting, or filtering behavior beyond that.

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 a single front-loaded phrase with no wasted words. It is concise, though its terseness contributes to the missing operational detail.

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 five-parameter tool with zero schema descriptions, the definition is too thin: it omits how to filter by store_id, use pagination, sort results, or interpret delivery_rule_status. The output schema and annotations cover return values and safety, but the input-side guidance is inadequate.

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

Parameters1/5

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

The input schema has 0% description coverage across five parameters, including sort, cursor, store_id, page_size, and delivery_rule_status. The description does not explain any of these parameters or their enums, so it fails to compensate for the missing schema documentation.

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 the resource (grocery stores) and the key data it covers: delivery fees, free-delivery thresholds, and minimum orders. It is clear what the tool is about, but it does not distinguish it from grocery-related siblings such as grocery_compare_list or grocery_products.

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 guidance on when to use this tool versus the grocery_compare_list or grocery_products siblings, and no indication of prerequisites or exclusions. The agent must infer the use case from the terse description alone.

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