Skip to main content
Glama
vienneje
by vienneje

Search Restaurants

search_restaurants

Find restaurants near your delivery address in Hong Kong. Search by name, cuisine, or dish to see ratings, delivery fees, estimated times, and minimum order amounts.

Instructions

Search for restaurants on foodpanda Hong Kong near the configured delivery address (prices in HKD). 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. McDonald's, KFC) include chain_code, chain_name, and total_outlets fields. When total_outlets > 1, use list_outlets with the chain_code to see all branches.

Input Schema

TableJSON 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.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden. It discloses the return structure (id, name, cuisine, rating, delivery fee, etc.), the chain-related fields, and the branching condition for using another tool. It does not explicitly state read-only behavior, but the nature of a search tool implies it; this is a minor omission.

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 sentences, front-loaded with the main purpose and location/currency, then the return fields and the chain branching. Every sentence earns its place with no filler or repetition.

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 explains the return fields and chain logic sufficiently. It does not mention pagination or sorting, but the limit parameter covers result count. For a search tool, this is reasonably complete, though a note on result ordering would push it to 5.

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 parameters are fully documented in the schema. The description adds context about the query examples and the return behavior, but does not materially enhance parameter understanding beyond the schema. Baseline of 3 is appropriate.

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 states a specific verb (search) and resource (restaurants on foodpanda Hong Kong), adds location and currency context, and enumerates the return fields. It clearly distinguishes itself from siblings like get_restaurant_details and list_outlets by focusing on the search function.

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?

The description explicitly provides an alternative when total_outlets > 1, directing the agent to use list_outlets with chain_code. This gives clear conditional guidance on tool selection, exceeding the bare minimum.

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