Skip to main content
Glama

The Purple Bear ordering

Search the menu

search_menu
Read-only

Use when the customer names a dish, a craving or a category, or to list the menu (leave query empty). Searches names, descriptions, categories and tags. Returns item ids, prices, availability now and the option groups create_checkout_link needs.

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
limitNoMost items to return (default 20).
queryNoWords to look for, e.g. 'mango' or 'vegan'.
location_idNoLocation id from get_business_info. Optional when the business has a single location.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=false), so credit goes to the added context: it declares the return payload (item ids, prices, availability now, option groups) and ties it into the next step by noting create_checkout_link needs those option groups. It does not mention result truncation behavior beyond the schema's limit.

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, front-loaded with the usage trigger, then the search scope, then the return contract. No filler and no repetition of the tool title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the burden of describing returns, and it does so with the fields an agent needs for downstream checkout. Combined with full schema coverage and read-only annotations, nothing material is missing for a 3-param search tool.

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 schema already documents limit, query and location_id. The description still adds real meaning by specifying that an empty query means 'list the menu', which is not stated anywhere in the schema.

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?

A specific verb-plus-resource statement: it searches names, descriptions, categories and tags, and can list the whole menu when the query is empty. An agent can tell this is a discovery tool rather than an id lookup, though it never explicitly contrasts itself with get_menu_item for a known item.

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 trigger condition (customer names a dish, craving, or category) and an explicit second mode (empty query lists the menu). It stops short of naming an alternative tool or a when-not condition, so it lands just under the top band.

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