Skip to main content
Glama

grabmart_cities

Read-only

List the cities GrabMart serves in one market, with each city's directory sitemap, from GrabMart's public sitemap.

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>"
    },
    "name": "grabmart_cities"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYesRequired. GrabMart market code (sg, my, id, th, ph, vn, kh, mm) as returned by /grabmart/locales. Not every market publishes a city sitemap: kh currently answers AccessDenied for its country index, which this API reports as a 404.

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. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and idempotentHint=false, so the safety profile is covered. The description adds provenance ("GrabMart's public sitemap"), which implies no auth and a scraped/cached source, but says nothing about freshness, rate limits, or whether a market with no city sitemap returns empty versus an error in the body.

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?

One sentence with zero filler; scope and included artifact are front-loaded and every clause carries information.

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?

An output schema exists, so the return shape (city plus sitemap) need not be explained in prose, and the market-code caveat lives in the parameter description. What is missing is how the tool behaves for a market with no published city sitemap at the tool level, but overall it is complete for a single-parameter read.

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 coverage is 100% and the single country parameter is thoroughly documented, including the enumerated market codes and the kh AccessDenied-to-404 behavior. The description only reinforces "one market" and adds no syntax or format meaning beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ("List the cities GrabMart serves"), plus a scope constraint ("in one market") and the included per-city artifact ("each city's directory sitemap"). The GrabMart prefix in the name and the sitemap provenance make it clearly distinct from generic city lists like glovo_cities or wolt_cities.

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?

Usage is implied: it is the way to enumerate cities for a given GrabMart market, which naturally precedes calls like grabmart_shops. However, there is no explicit when-to-use versus when-not guidance and no named alternative for the case where a caller instead wants locale or market discovery (e.g., grabmart_locales).

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.