Skip to main content
Glama
foodpanda-mcp
by johnwhoyou

Search Restaurants

search_restaurants

Find restaurants near your configured delivery address by query or cuisine, returning ratings, fees, delivery times, and minimum orders; chain results also expose branch codes for outlet lookup.

Instructions

Search for restaurants on foodpanda.ph near the configured delivery address. Returns a list of matching restaurants with id (vendor code), name, cuisine, rating, delivery fee, estimated delivery time, and minimum order amount. Chain restaurants (e.g. Jollibee, McDonald's) include chain_code, chain_name, and total_outlets fields. When total_outlets > 1, use list_outlets with the chain_code to see all 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": {
      "query": "<query>"
    },
    "name": "search_restaurants"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax number of results (default 10)
queryYesSearch query (e.g. 'Jollibee', 'pizza', 'Thai food')
cuisineNoFilter by cuisine type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses that results are scoped to the configured delivery address (a non-obvious implicit state dependency) and enumerates the returned fields, including conditional chain fields. It does not mention authentication/refresh_token requirements or how the limit interacts with result ordering or pagination, which are the notable remaining gaps for a non-annotated tool.

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?

Four short sentences, front-loaded with what the tool does and where it searches, then return shape, then the conditional chain fields and the follow-up action. Nothing is repeated from the title and no sentence is padding — the field enumeration earns its place because there is no output schema.

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?

Without an output schema, the description compensates by naming the returned fields and their conditional variants, and it explains the address-scoping constraint. Given only three simple top-level parameters, this is nearly complete; the missing pieces are auth/refresh behavior and any result-ordering or pagination semantics tied to limit.

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 query, limit, and cuisine are already documented with examples and a default. The description adds no syntax, matching behavior, or semantics for these parameters (e.g. whether cuisine is exact-match, whether query matches cuisine text). Baseline 3 is appropriate when the schema does the heavy lifting.

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 (search restaurants), the platform (foodpanda.ph), and the implicit geographic scope ('near the configured delivery address'), which an agent cannot infer from the name alone. It also explicitly separates itself from list_outlets by assigning the chain-expansion case to that sibling.

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?

Gives concrete routing guidance for the chain case: 'When total_outlets > 1, use list_outlets with the chain_code to see all branches.' That is a real when-to-use-this-vs-alternative rule. What it lacks is guidance on the more common ambiguity — when to stop searching and move to get_menu, get_restaurant_details, or add_to_cart — so it is clear context rather than complete routing.

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