Skip to main content
Glama
Crawlora MCP

Crawlora MCP

Official

grabfood_category

List the GrabFood stores published for a cuisine facet or collection at a coordinate, returning full store details and total counts. Use it to browse a category without paging.

Instructions

List the stores GrabFood returns for one cuisine or collection. Returns the stores GrabFood lists for one cuisine facet (from GET /grabfood/cuisines) or promoted collection (from GET /grabfood/collections) at a coordinate. Each store carries every field the upstream listing publishes: the address block, cuisine labels, description, halal flag, all three image formats with their non-webp fallbacks, nested branches, and the complete raw upstream object. The response reports both total_count (the upstream's real number of stores for the facet) and returned_count (how many this response carries): the upstream serves one fixed page regardless of offset/pageSize, so there is no further page on this route -- use GET /grabfood/search for paging. No offset/page_size parameters are advertised for that reason.

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": {
      "category_shortcut_id": "<category_shortcut_id>",
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "grabfood_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
latitudeYesSearch centre latitude
longitudeYesSearch centre longitude
country_codeNoMarket code: SG, ID, PH, MY, VN, MM or KH. Defaults to SG.
category_shortcut_idYesCuisine facet id from /grabfood/cuisines or collection id from /grabfood/collections

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.17.28

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses that the upstream serves a fixed page regardless of offset/pageSize, that `total_count` and `returned_count` can diverge, and enumerates the returned payload (address block, cuisine labels, halal flag, all image formats with non-webp fallbacks, nested branches, raw upstream object). That is exactly the behavioral context an agent needs to avoid misreading the counts as pagination.

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

Conciseness3/5

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

The first two sentences say nearly the same thing ("List the stores ... for one cuisine or collection" / "Returns the stores GrabFood lists for one cuisine facet ... or promoted collection"), which is wasted space at the very front. The pagination note and return description that follow do earn their place.

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 no annotations and no output schema, the description covers the return contract and the paging caveat thoroughly. The only gap is that field-level meaning of `country_code` and whether the coordinate must fall inside that market is left to the schema.

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%, so all four parameters are already documented, including the enum-like market list. The description only adds that the lookup happens "at a coordinate" and reconfirms the id's two sources, which the schema's own `category_shortcut_id` description already says. `country_code` gets no added treatment.

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?

The opening sentence gives a concrete verb and resource: list the stores GrabFood returns for one cuisine or collection. It also pins the identifier's provenance to `GET /grabfood/cuisines` or `GET /grabfood/collections`, so an agent can distinguish this browse-by-facet tool from the keyword-oriented `grabfood_search` sibling.

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 two valid input contexts (cuisine facet id or promoted collection id) and explicitly routes paging to an alternative: "use `GET /grabfood/search` for paging." It also warns that this route has no further page, which prevents the agent from retrying with offsets.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools