Skip to main content
Glama

grabfood_search

Read-only

Keyword search over GrabFood stores at a latitude/longitude: returns the same store projection as grabfood_category plus the upstream total_count. Unlike the category listing, offset is honoured here, so this is the route that pages past the first result page.

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

Input Schema

NameRequiredDescriptionDefault
offsetNo0-based result offset, 0..1000. Default 0.
keywordYesFree-text search query (required, non-blank).
latitudeYesSearch-centre latitude (required).
longitudeYesSearch-centre longitude (required).
page_sizeNoResults per page, 1..100. Default 20.
country_codeNoMarket code: SG, ID, PH, MY, VN, MM or KH. Defaults to SG.

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 declare readOnly=true, openWorld=true, idempotent=false, so the safety profile is covered. The description adds genuinely useful behavior beyond them: the return shape mirrors grabfood_category plus upstream total_count, and offset paging actually works here (consistent with idempotentHint=false). It does not mention rate limits, auth, or result-ordering semantics.

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?

Two tight sentences with zero waste; the core capability is front-loaded and the differentiator/paging guidance follows immediately. Dense technical prose that still reads cleanly.

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 an output schema present, return values need not be explained, and the description correctly focuses on routing and paging behavior. For a leaf search tool with full schema coverage this is nearly complete; only matching semantics and result ordering are unaddressed.

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%, so all six parameters including offset bounds and country_code defaults are already documented, making 3 the baseline. The description adds one piece of real meaning — that offset is honoured on this route, implying stable paging — but contributes nothing about keyword matching semantics or how page_size interacts with total_count.

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 ('Keyword search over GrabFood stores') with the geographic scope (latitude/longitude), and explicitly differentiates from grabfood_category by noting it returns the same store projection plus total_count. An agent can distinguish this from the category listing 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?

Explicitly names the sibling alternative (grabfood_category) and the condition that selects this tool: offset is honoured here, so this is the route for paging past the first result page. That is clear routing guidance; it stops short of stating when not to use it (e.g. first-page-only or browse-by-category intents).

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.