Skip to main content
Glama

DineScores

Search restaurants by name

search_restaurants
Read-onlyIdempotent

Find restaurants by name and get each one's health inspection grade (A, B, C or F), score, latest inspection date and links. Add city and/or state whenever you know them; every word of the name must appear in the restaurant's name.

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

Input Schema

NameRequiredDescriptionDefault
cityNoCity, e.g. "Dallas"
nameYesRestaurant name, e.g. "Joe's Pizza"
limitNoMax results (default 10)
stateNoUS state name or two-letter code

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds behavior beyond that: the matching rule ("every word of the name must appear") and the shape of each result, which an agent cannot get from annotations.

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, no filler: the first states the operation and the return fields, the second states the matching and filtering rules. It is front-loaded with the purpose and every clause carries information.

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 usefully lists the returned fields, and it explains the matching rule and filter hints. Minor gaps remain around empty-result behavior and how the limit interacts with result ordering, but nothing an agent needs to invoke it correctly is missing.

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 would be 3, but the description adds the non-obvious semantics that the name parameter is an all-words-must-match filter rather than a fuzzy string. It also frames city and state as optional narrowing hints, which reinforces the schema's optionality.

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 names a specific verb and resource ("Find restaurants by name") and enumerates what comes back (health inspection grade, score, latest inspection date, links). That clearly separates it from proximity-based siblings like find_restaurants_near, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives real guidance on how to narrow a search ("Add city and/or state whenever you know them"), which implies the intended workflow. But it never states when to prefer this over find_restaurants_near, get_restaurant, or lowest_scores_in_city, so alternative selection is left to inference.

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