Skip to main content
Glama

Yenta Directory

Search menus across venues

search_menus
Read-onlyIdempotent

Search menu items across all published venues by text, city, required dietary tags and allergens to avoid, each result tagged with its venue so an agent can rank venues in one call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoOnly return items from venues in this city (case-insensitive); call list_cities for the exact values.
limitNoMaximum number of items to return.
queryNoText to match against menu item names and descriptions.
cursorNoNumber of items to skip; pass `next_cursor` from the previous page.
allergensNoExclude items that declare any of these allergens (spelling-insensitive).
dietary_tagsNoRequire ALL of these dietary tags (case- and separator-insensitive).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemNo
itemsNo
reasonNo
sourceNoFR-13: which approved revision an answer was read from, and how fresh. ``source`` is ``approved-content-revision:<id>`` for every read that answers from one venue, and the literal ``directory`` for the two cross-venue reads, which have no single revision to cite.
statusYes
paginationNo

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 establish this as read-only, idempotent, and non-destructive. The description adds useful behavioral context beyond that: results are limited to published venues, and each result carries its venue so an agent can rank venues. No contradiction exists between the description and 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?

A single, dense sentence that front-loads the core action and scope, then specifies filters and the output purpose. There is no filler, repetition, or redundant detail; every clause earns its place.

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 detailed input schema, output schema, and safety annotations, the description is nearly complete. It covers the essential scoping ('all published venues') and the key output behavior (venue-tagged results), though a brief note about pagination or an explicit pointer to venue_menu_search for single-venue searches would make it fully self-sufficient.

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 the baseline is 3. The description summarizes query, city, dietary_tags, and allergens in plain language but does not add meaning substantially beyond the schema's existing per-parameter descriptions. Pagination parameters are left entirely to the schema, which is appropriate.

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?

The description clearly states the action ('Search menu items'), the resource ('across all published venues'), and the key filters (text, city, dietary tags, allergens). The phrase 'each result tagged with its venue' further explains what the tool returns and distinguishes it from venue-scoped siblings like venue_menu_search.

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?

The description communicates a clear usage context: cross-venue menu search for ranking venues in one call. It does not explicitly name alternatives or state when not to use the tool, but the 'across all published venues' scope gives a strong contextual distinction from single-venue menu search.

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