Skip to main content
Glama

Brainy Prices — UAE Cost of Living

grocery_stores

Read-onlyIdempotent

Use when asked about grocery delivery fees or minimums. 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
    • changedOutput schema / anyOf
      Previous 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"
      -  }
      -]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"
      +  },
      +  {
      +    "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. 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"
      +  }
      +]
  5. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds nothing further about behavior, such as whether results are paginated via cursor, what the default sort produces, or what delivery_rule_status filtering means.

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 short sentences with the usage trigger front-loaded and no padding. The second sentence partially restates the tool name but earns its place by enumerating the data fields available.

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

Completeness3/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 need no explanation. However, for a five-parameter filtered-list tool with zero schema documentation, the description leaves pagination, sorting and the delivery_rule_status filter completely opaque.

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 are five parameters with 0% schema description coverage, so the description carries the full burden of explaining them and provides none of it. The enum parameters sort and delivery_rule_status, plus cursor and page_size, are left entirely unexplained beyond their bare types.

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 specific data it carries (delivery fees, free-delivery thresholds, minimum orders), which is enough to separate it from grocery_products or grocery_compare_list by content. It stops short of explicitly contrasting itself with those siblings.

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?

"Use when asked about grocery delivery fees or minimums" gives a usable trigger condition, so usage is implied clearly. There is no guidance on when not to use it and no named alternative for overlapping questions such as comparing stores or listing products.

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