Skip to main content
Glama

NYCfoodie

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 and tags. 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 and spaces are flexible ('date-night' works).
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. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The readOnlyHint annotation already signals safety, and the description adds substantial behavioral context: free-text matching covers names, tags, review prose and guide blurbs; known-closed venues are excluded by default; coverage is limited to NYC metro within 30 km; and an empty query returns highest-rated venues. These details go well beyond the annotation.

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?

The description is dense but every sentence earns its place: action and primary use case come first, followed by matching behavior, return fields, default filtering, coverage, and no-query behavior. No filler or redundant restatement of schema fields.

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 13 parameters, no output schema, and only a readOnly annotation, the description compensates well by stating return fields, default exclusions, coverage boundaries, and degenerate-query behavior. The input schema covers parameter constraints, so the description is complete enough for correct invocation.

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?

Schema coverage is 100%, so the baseline is 3. The description adds real value beyond the schema by clarifying that free text matches 'names, tags, review prose and guide blurbs' and by grouping location-related parameters as 'optionally near a point.' This enriches the query semantics without needing to repeat every parameter.

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 clearly states the tool searches restaurants by multiple criteria and differentiates it from lookup-by-name tools by saying it is for when the user 'describes what they want... rather than naming a specific restaurant.' It also specifies the return contents (rating, price tier, address, tags), making the purpose unambiguous.

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 gives an explicit when-to-use instruction with concrete examples ('Italian date night in the West Village', 'ramen near me') and an implicit exclusion for named-restaurant queries. However, it does not explicitly name the alternative sibling tool for that case, so the guidance is strong but not fully explicit about alternatives.

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.