Skip to main content
Glama

Vendor menu

zoodex_vendor_menu
Read-only

Retrieve a restaurant or cafe menu grouped by category, including prices and discounts, and filter items by search text, category, or discounted-only status.

Instructions

Get a restaurant/cafe menu grouped by category with prices and discounts. Filter with query, category or only_discounted. For supermarkets use zoodex_market_search instead. Prices are in toman (the API uses rials; 1 toman = 10 rials).

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

Input Schema

NameRequiredDescriptionDefault
queryNoOnly items whose name/description contains this text.
categoryNoOnly categories whose title contains this text (or category id).
max_itemsNo
vendor_slugYes
only_discountedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the description adds genuine value instead: the currency convention (toman vs. the API's rials, 1 toman = 10 rials) is a real trap avoided, and the category-grouped result shape is disclosed. It doesn't mention the item cap/truncation behavior governed by max_items, which is the main remaining behavioral unknown.

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, front-loaded with the core purpose, followed by filters, the alternative-routing rule, and the unit caveat — every sentence earns its place with no filler.

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

Completeness3/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 does convey the grouped structure and price/discount content, which is helpful. But for a tool whose only required parameter is an opaque slug, it omits how to obtain vendor_slug and says nothing about how max_items (default 120, max 400) truncates results — a gap an agent could hit silently on a large menu.

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 only 40%, so the description needs to carry weight; it explains query, category, and only_discounted filtering semantics reasonably well. However, the required vendor_slug is left completely unexplained (no hint that it's an identifier from vendor listing/details) and max_items is not mentioned at all, leaving two parameters undocumented in both places.

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 (get a restaurant/cafe menu) plus the shape of the result (grouped by category, with prices and discounts). It also names the sibling it is not (zoodex_market_search for supermarkets), so an agent can distinguish it without opening another 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 an explicit routing rule: supermarkets go to zoodex_market_search instead, and the filters are named for narrowing. It stops short of saying when *not* to use this tool beyond the supermarket case (e.g. grocery vs. restaurant edge cases) and doesn't mention getting vendor_slug first.

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