Skip to main content
Glama
Restaurant MCP Server

Restaurant MCP Server

by serdarpolat

search_menu

Read-only

Find menu items by name, keyword, or category, or retrieve the full menu; use item IDs to check options before ordering.

Instructions

Find menu items (id, name, price, category). Call with no arguments for the whole menu.

Items with has_options=true have options; call get_menu_item before ordering them.

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": "search_menu"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoName or keyword, Turkish letters optional ('cay' = 'çay').
categoryNoCategory name, e.g. 'Kebaplar'.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds genuinely new behavior — that an empty call returns the entire menu (a potentially wide result) and that option-bearing items require a chained get_menu_item call before ordering. It stops short of noting result size, ordering, or truncation limits.

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 short sentences with zero filler. The core purpose and return fields come first, then the default-scope rule, then the chained-call note — a clean front-loaded structure.

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, return values need no explanation, and annotations plus full parameter coverage handle most of the burden. The description covers purpose, default scope, and the ordering workflow; only the query/category interaction and any result-size behavior are unaddressed, which is minor for a read-only lookup tool.

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 both parameters (query with Turkish-character flexibility, category with an example) are already fully documented. The description's only added semantic is that both parameters are optional filters and omitting them yields the full menu, which is a modest but real contribution beyond the schema.

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?

States a specific verb and resource ("Find menu items") and even enumerates the fields returned (id, name, price, category). The second sentence carves out the default no-argument behavior, which distinguishes this from get_menu_item (single-item detail) without needing to open 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 Guidelines4/5

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

Gives two concrete usage rules: omit all arguments to retrieve the whole menu, and follow up with get_menu_item when has_options=true before ordering. It names the sibling and the triggering condition, but does not say how query and category interact (combined vs. exclusive) or when to prefer category browsing over free-text search.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.