Skip to main content
Glama

grabfood_merchant

Read-only

Fetch one GrabFood merchant's own storefront page: name, cuisine labels, description, photos, IANA time zone, address block, opening hours per weekday, and the full menu composition (departments with items carrying id, name, availability, description, images and ordering weight). The upstream repeats items across departments, so both item rows and distinct ids are reported. This surface publishes no price — GrabFood publishes prices on chain pages, exposed as grabfood_chain's items[].cost. Pass a merchant id from grabfood_category, grabfood_search or grabfood_chain's branches.

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": {
      "merchant_id": "<merchant_id>"
    },
    "name": "grabfood_merchant"
  }
}

Input Schema

NameRequiredDescriptionDefault
merchant_idYesGrab merchant id from /grabfood/category, /grabfood/search or /grabfood/chain (branches[].merchant_id). Required.

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

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=true), so the description is not obligated to restate them. It adds genuinely non-obvious behavior: upstream duplicates items across departments and both item rows and distinct ids are reported, plus an explicit statement that no price is published on this surface. Failure modes (e.g., behavior on an invalid merchant id) are not covered.

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 payload description is front-loaded and every sentence carries information: the field inventory, the duplication caveat, the price gap with a pointer, and the id source. It is dense prose in one block and the long field enumeration partly mirrors the output schema, which costs it a point.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description does not need to explain return values, and it still covers scope, the duplicate-item quirk, the price absence and its alternative, and id provenance. For a one-parameter read tool this leaves nothing an agent needs in order to call it correctly.

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?

There is a single parameter with 100% schema description coverage, and the schema already states the id provenance and requiredness. The description repeats that provenance in its final sentence without adding format, validation, or fallback semantics beyond the schema, so 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?

The description uses a specific verb+resource ("Fetch one GrabFood merchant's own storefront page") and enumerates the payload precisely: identity, cuisine labels, time zone, address, weekday hours, and menu composition. It explicitly distinguishes this surface from grabfood_chain, which publishes prices, so an agent can separate the two without opening either schema.

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

Usage Guidelines4/5

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

It tells the agent where the required id must come from (grabfood_category, grabfood_search, or grabfood_chain's branches) and redirects price-seeking calls to grabfood_chain. What is missing is any exclusion statement, such as when to prefer grabmart_merchant or a category-level call instead.

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.