Skip to main content
Glama

DineScores

Find restaurants near a location

find_restaurants_near
Read-onlyIdempotent

Restaurants near a point or a US street address, nearest first, each with its grade and distance. Pass grades ["C","F"] and recent_only true for "low scores near me".

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_restaurants_near"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 20)
gradesNoOnly these grades
addressNoUS street address, used when latitude/longitude are not given
latitudeNo
longitudeNo
recent_onlyNoOnly places inspected in the last 18 months
radius_milesNoDefault 1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint false, and openWorldHint false, so safety is covered. The description adds value beyond them by disclosing result ordering (nearest first) and per-item payload (grade and distance), which matters because there is no output schema. It does not say what happens when neither address nor coordinates are supplied, which is a notable gap for an all-optional-parameter tool.

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, with the purpose and return shape front-loaded before the usage recipe. No filler or restatement of the title.

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 and seven optional parameters, the description correctly covers return contents and ordering. It falls short only on edge cases such as behavior when neither address nor latitude/longitude is provided.

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 71%, so most parameters are self-documenting (limit default 20, radius_miles default 1, address used when lat/long absent). The description adds real semantic value by explaining how grades and recent_only combine into a single intent ("low scores near me"), which no individual parameter documents.

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?

States a specific verb+resource (restaurants near a point or US street address) and the ordering/scope (nearest first). It implicitly distinguishes itself from search_restaurants and lowest_scores_in_city by being proximity-based, but it never names a sibling, so an agent must infer the distinction.

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?

Gives a concrete when-to-use recipe: pass grades ["C","F"] plus recent_only true for a "low scores near me" query. That is real situational guidance, but it offers no exclusions or routing advice against the sibling tools that also return restaurant data.

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