Skip to main content
Glama

Find restaurants

search_restaurants
Read-onlyIdempotent

Find restaurants on BringMeThat that deliver to, or offer pickup near, a US location. Returns restaurant_id, cuisines, distance when a street address is given, Yelp rating when one is on file, and the restaurant page URL. Ask for a ZIP code, city and state, or street address before calling if you do not already have it.

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": {
      "location": "<location>"
    },
    "name": "search_restaurants"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoCuisine, dish or restaurant name, e.g. 'thai', 'pizza', 'pad see ew'. Omit for everything nearby.
cateringNoTrue to search caterers (has_catering). Omit or false for ordinary restaurants, which hides catering-only businesses.
locationYesZIP code, 'City, ST', or a full US street address (best: gives distances).
fulfillmentNodelivery

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / catering
      Added value: +{
      +  "default": false,
      +  "description": "True to search caterers (has_catering). Omit or false for ordinary restaurants, which hides catering-only businesses.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds useful behavior beyond that: it enumerates returned fields, notes that distance only appears with a street address, and that ratings appear only when on file — conditional output behavior that annotations cannot express. It says nothing about result ordering or the 10-result cap, so not a 5.

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, both earning their place: capability and scope first, then a prerequisite instruction. No filler, no repetition of the title, and the most decision-relevant content is front-loaded.

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 output schema, the description correctly compensates by listing the returned fields and their conditions, and it covers the required-input prerequisite. Minor gaps remain around result ordering and what happens when results exceed the limit, but an agent has enough to call this 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?

Schema coverage is 60%, so the baseline is 3, and the description mostly restates what the schema already says — the location format options and 'best: gives distances' are already in the `location` description. It does reinforce the causal link between street address and returned distance, but adds no guidance on `limit`, `fulfillment` defaults, or how `query` interacts with `catering`.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Find restaurants on BringMeThat') plus the scope constraints that matter: US locations, delivery or pickup nearby. It is clearly distinct from get_menu or get_order_status, but it never addresses the overlap with the sibling search_caterers tool even though this tool has a `catering` flag, leaving one real disambiguation gap.

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 states a concrete prerequisite: gather a ZIP code, 'City, ST', or street address before calling if you don't have one, which is actionable guidance an agent can follow. It offers no explicit when-not or alternative routing (notably not when to prefer search_caterers), so it falls short of full when/when-not coverage.

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.

Resources