Skip to main content
Glama

Weight Class

Search dishes across restaurants

search_restaurant_dishes
Read-onlyIdempotent

Find a dish by name across the restaurant chains, e.g. "protein latte", "grilled chicken sandwich" or "burrito bowl", with each chain's own published numbers, closest names first. Optional limits on calories and protein, and a sort.

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

Input Schema

NameRequiredDescriptionDefault
kindNomain (a meal), side, drink, dessert or extra; any by default.
sortNoprotein_per_calorie by default.
limitNoHow many items to return (10 by default, at most 25).
queryYesThe dish, optionally with the chain: "big mac", "chipotle chicken bowl".
max_caloriesNoOnly items with at most this many calories.
min_protein_gNoOnly items with at least this many grams of protein.

Output Schema

NameRequiredDescriptionDefault
itemsYes
queryYes
totalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description still adds real behavior: results are ranked by name closeness, numbers come from each chain's own published data, and filters/sorting are optional. It stops short of describing result-set shape or how ties in fuzzy matching resolve.

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?

A single dense sentence that front-loads the core action and examples, with the ranking behavior and optional filters trailing. Nothing is wasted, though the comma-heavy phrasing makes the filter clause slightly harder to scan than it needs to be.

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 an output schema present and full schema parameter coverage, the description's remaining job is scoping and behavior, both of which it covers: cross-chain name search, fuzzy ordering, and optional nutrition filters. Little an agent needs in order to call it correctly is missing.

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 defaults, enum values, and ranges are already documented in the schema. The description only gestures at the filters ("optional limits on calories and protein, and a sort") and adds no syntax or semantics beyond that, so the baseline 3 applies.

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 and resource ("find a dish by name across the restaurant chains") and reinforces scope with three concrete example queries plus "each chain's own published numbers, closest names first." It does not explicitly contrast itself with close siblings such as find_restaurant_items or lookup_food, so differentiation is implied rather than stated.

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?

Usage is implied by the description — this is the tool for locating a dish by name across chains, optionally filtered by calories/protein and sorted. There is no explicit when-to-use vs. when-to-use-an-alternative guidance, nor any statement of prerequisites or exclusions.

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