Skip to main content
Glama

grabmart_shop

Read-only

Fetch the GrabMart shop/browse feed for a market: category rail, square tiles, recommendation rails and merchant cards, with has_more and next_offset for paging. Requires country and lang from grabmart_locales; latitude/longitude are validated but not applied, and an intermittent CloudFront edge can return 503. Use grabmart_home for the landing feed, grabmart_shops for the shop list and grabmart_merchant for one store.

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": {
      "country": "<country>",
      "lang": "<lang>"
    },
    "name": "grabmart_shop"
  }
}

Input Schema

NameRequiredDescriptionDefault
langYesRequired. Storefront language from /grabmart/locales.
countryYesRequired. GrabMart market code from /grabmart/locales.
latitudeNoOptional. Delivery latitude, validated when supplied. Currently not applied: the feed is resolved per country and locale, not per coordinate.
longitudeNoOptional. Delivery longitude, validated when supplied. Currently not applied: the feed is resolved per country and locale, not per coordinate.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / latitude / description
      Previous value: -"Required. Delivery latitude used to resolve the feed, e.g. 1.2919174."New value: +"Optional. Delivery latitude, validated when supplied. Currently not applied: the feed is resolved per country and locale, not per coordinate."
    • changedInput schema / properties / longitude / description
      Previous value: -"Required. Delivery longitude used to resolve the feed, e.g. 103.7923597."New value: +"Optional. Delivery longitude, validated when supplied. Currently not applied: the feed is resolved per country and locale, not per coordinate."
    • changedInput schema / required
      Previous value: -[
      -  "country",
      -  "lang",
      -  "latitude",
      -  "longitude"
      -]New value: +[
      +  "country",
      +  "lang"
      +]
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description's value is the extra operational context it supplies: latitude/longitude are validated but ignored (the feed is resolved per country and locale), and an intermittent CloudFront edge can return 503. Those two facts materially change how an agent should call and retry the tool. It stops short of stating retry/caching guidance or freshness of the feed, so it is strong rather than exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Three sentences, each doing distinct work: what is returned and how to page, the operational caveats, and the sibling routing. The most decision-relevant content is front-loaded and there is no filler or repetition of the tool title.

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?

With annotations covering the safety profile and an output schema documenting return shape, the description only needs to cover scope, caveats and routing, which it does. The one modest gap is that it names has_more/next_offset without explaining paging semantics (offset units, limits), though the output schema likely covers the values themselves.

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

Parameters3/5

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

Schema description coverage is 100%, and the description's parameter content ('Requires country and lang', 'latitude/longitude are validated but not applied') restates what the schema properties already say almost verbatim. The one added nuance is the rationale that the feed is resolved per country and locale rather than per coordinate, which helps an agent decide not to bother supplying coordinates. Baseline 3 is appropriate when the schema carries the load.

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

Purpose5/5

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

Specific verb and resource ('Fetch the GrabMart shop/browse feed for a market') followed by an enumeration of the returned content types (category rail, square tiles, recommendation rails, merchant cards). It also names the paging fields, so an agent knows exactly what this call yields versus grabmart_home, grabmart_shops and grabmart_merchant, which are called out by name.

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

Usage Guidelines5/5

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

It states the required inputs and where to source them ('Requires country and lang from grabmart_locales'), then explicitly routes to three alternatives with the condition that distinguishes each: grabmart_home for the landing feed, grabmart_shops for the shop list, grabmart_merchant for one store. There is nothing left to infer about when to pick this tool.

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.