Skip to main content
Glama

top_rated

Read-only

List the highest-rated restaurants (Infatuation 0–10 scale), with optional cuisine, neighbourhood and price filters. Use for 'best in the city' requests. Differs from search_restaurants: no free-text query, strictly rating-ordered.

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).
limitNoMax results (default 10)
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.4/5.0
Behavior4/5

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

Annotations already supply readOnlyHint=true, and the description's 'List' verb is consistent with it. Beyond that, the description adds genuine behavioral context: results are 'strictly rating-ordered' and there is no free-text query support. It doesn't describe output format or pagination, but with the safety profile already annotated, the added ordering semantics justify a 4.

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?

Three sentences with zero filler: core purpose first, then when-to-use, then sibling contrast. Each sentence carries a distinct load, and the differentiating trait ('strictly rating-ordered') closes the paragraph.

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 11 parameters the tool is complex, but 100% schema coverage and the readOnlyHint annotation offload most of the burden. The description covers purpose, selection, and key filters; its notable gap is that the filter summary omits the proximity-search capability (lat/lng/radius_km) that the schema supports. Nothing needed for a correct call is missing, but the filter list is partial.

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 the baseline is 3. The description groups the key filters ('cuisine, neighbourhood and price'), which marginally orients the agent, but it adds no parameter meaning beyond the schema — it doesn't explain the lat/lng proximity mode or min_rating semantics, which remain the schema's job.

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 opens with a specific verb-resource pair — 'List the highest-rated restaurants' — and pins the rating scale (Infatuation 0–10). It then differentiates from the closest sibling: 'Differs from search_restaurants: no free-text query, strictly rating-ordered.' An agent can tell the tools apart without opening either schema.

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?

It gives an explicit trigger condition — 'Use for "best in the city" requests' — and names the key alternative with the selecting criterion: search_restaurants for free-text queries, this tool for rating-ordered results. This matches the get_calls precedent of naming the alternative and the condition that chooses between them.

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