Skip to main content
Glama

search_restaurants

Read-only

Search restaurants by free text, cuisine, neighbourhood, occasion or price, optionally near a point. Use when the user describes what they want (e.g. 'Italian date night in the West Village', 'ramen near me') rather than naming a specific restaurant. Free text matches names, tags, review prose and guide blurbs (e.g. 'cacio e pepe'). Returns compact matches with Infatuation rating (0–10), price tier, address_line and tags. Cards carry guide_appearance_count (a number); get_restaurant's guide_appearances is the full entry list. Known-closed venues are excluded by default. Coverage for city='new-york' is the five boroughs plus the immediate metro (within 30 km of Manhattan). With no query or filters, returns the highest-rated venues.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNoLatitude for proximity search. Must be given together with lng; radius_km defaults to 5 km when omitted. A location outside the NYC coverage area is rejected with an error.
lngNoLongitude for proximity search. Must be given together with lat; radius_km defaults to 5 km when omitted.
cityYesCity slug, always required. Currently 'new-york', covering the five boroughs plus the immediate metro (within 30 km of Manhattan).
sortNoSort by rating (default) or guide appearances
limitNoMax results (default 10)
queryNoFree text, e.g. 'date-night Italian'
cuisineNoe.g. 'Italian', 'ramen'
occasionNoOccasion tag. Allowed: 'Date Nights', 'Happy Hours', 'Pre-Theater', 'See & Be Seen', 'Serious Takeout Operation', 'Unique Dining Experiences', 'Wasting Your Time & Money'. Hyphens, spaces and underscores are flexible ('date-night' works); unambiguous prefixes resolve to the full value. Unknown or ambiguous values are rejected with an error.
radius_kmNoSearch radius in kilometres (default 5 when lat/lng are given without it). Requires lat and lng.
min_ratingNoMinimum Infatuation rating
price_tierNo1 ($) to 4 ($$$$)
neighborhoodNoe.g. 'West Village', or a borough like 'Brooklyn'
include_closedNoInclude known-closed venues (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / occasion / description
      Previous value: -"Occasion tag. Allowed: 'Date Nights', 'Happy Hours', 'Pre-Theater', 'See & Be Seen', 'Serious Takeout Operation', 'Unique Dining Experiences', 'Wasting Your Time & Money'. Hyphens and spaces are flexible ('date-night' works)."New value: +"Occasion tag. Allowed: 'Date Nights', 'Happy Hours', 'Pre-Theater', 'See & Be Seen', 'Serious Takeout Operation', 'Unique Dining Experiences', 'Wasting Your Time & Money'. Hyphens, spaces and underscores are flexible ('date-night' works); unambiguous prefixes resolve to the full value. Unknown or ambiguous values are rejected with an error."
  2. Changed4 schema fields changed
    • changedInput schema / properties / city / description
      Previous value: -"City slug, always required. Currently 'new-york'."New value: +"City slug, always required. Currently 'new-york', covering the five boroughs plus the immediate metro (within 30 km of Manhattan)."
    • changedInput schema / properties / lat / description
      Previous value: -"Latitude for proximity search"New value: +"Latitude for proximity search. Must be given together with lng; radius_km defaults to 5 km when omitted. A location outside the NYC coverage area is rejected with an error."
    • changedInput schema / properties / lng / description
      Previous value: -"Longitude for proximity search"New value: +"Longitude for proximity search. Must be given together with lat; radius_km defaults to 5 km when omitted."
    • changedInput schema / properties / radius_km / description
      Previous value: -"Search radius in kilometres"New value: +"Search radius in kilometres (default 5 when lat/lng are given without it). Requires lat and lng."
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses substantial behavior: free text matches names, tags, review prose and guide blurbs; results are compact and include rating, price tier, address_line and tags; known-closed venues are excluded by default; city coverage is specified; and an empty query returns highest-rated venues. This is rich, non-obvious context that annotations do not provide.

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 description is front-loaded with the primary use case and is dense rather than bloated. Almost every sentence adds operational value, though the NYC coverage detail is repeated in both the description and the city parameter's schema description, which is minor redundancy.

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 no output schema, the description compensates by specifying the return fields, the guide_appearance_count distinction, default exclusions, geographic coverage, and default limit/radius behavior via the schema. For a search tool with 13 parameters, an agent has enough context to select it, populate it, and interpret results correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already documents all 13 parameters at 100% coverage, which sets the baseline at 3. The description adds genuine meaning beyond the schema by explaining how 'query' behaves (matches review prose and guide blurbs) and what happens with no query or filters (returns highest-rated venues). This lifts it above the baseline.

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 and resource ('Search restaurants...') and clearly differentiates it from siblings: it handles free-text or filter-driven queries ('Italian date night in the West Village') rather than named restaurants, which is get_restaurant's role. It also names the sort and filter dimensions, making the tool's scope unmistakable.

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?

The description gives explicit use guidance: 'Use when the user describes what they want... rather than naming a specific restaurant.' It also distinguishes search results from get_restaurant's guide_appearances, which helps route between siblings. It does not enumerate every alternative or explicitly say when not to use it, but the stated context is clear enough.

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