Skip to main content
Glama

Vendor menu

tf_menu
Read-onlyIdempotent

Read a vendor's live menu to browse dishes by size, prices, discounts, and stock; filter by query, list categories, and paginate results.

Instructions

Read a vendor's live menu: every dish (one entry per size/variation) with price, discount and stock.

Use to pick dishes or confirm a price. 'categories' lists the menu sections; narrow big menus with query and page with offset. Then tf_vendor_info for fee and minimum order.

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_code": "<vendor_code>",
      "lat": "<lat>",
      "long": "<long>"
    },
    "name": "tf_menu"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesDelivery latitude, e.g. 35.7577.
longYesDelivery longitude, e.g. 51.4095.
limitNoMax menu entries.
queryNoKeep dishes whose name or category contains this, e.g. 'برگر'.
offsetNoSkip this many matching entries.
full_textNoReturn descriptions / review text uncut (default 100 / 250 chars).
vendor_codeYesVendor code, e.g. '2y97wk'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.2.2
    • changedInput schema / properties / full_text / description
      Previous value: -"Return descriptions / review text whole instead of cut (descriptions 100 chars, review comments 250); lifts the size cap."New value: +"Return descriptions / review text uncut (default 100 / 250 chars)."
    • changedInput schema / properties / lat / description
      Previous value: -"Delivery point latitude, e.g. 35.7577."New value: +"Delivery latitude, e.g. 35.7577."
    • changedInput schema / properties / limit / description
      Previous value: -"Max menu entries (25 keeps the reply under 15 KB)."New value: +"Max menu entries."
    • changedInput schema / properties / long / description
      Previous value: -"Delivery point longitude, e.g. 51.4095."New value: +"Delivery longitude, e.g. 51.4095."
    • changedInput schema / properties / offset / description
      Previous value: -"Skip this many matching entries, to page big menus."New value: +"Skip this many matching entries."
    • changedInput schema / properties / vendor_code / description
      Previous value: -"Vendor code, e.g. '2y97wk' (from tf_search_vendors / tf_restaurants)."New value: +"Vendor code, e.g. '2y97wk'."
  2. 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 readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered; the description instead adds value by noting the menu is live (freshness), the per-size/per-variation entry granularity, and that large menus need query/offset handling. It does not cover rate limits or the cost of deep paging, but for a read-only listing this is solid context beyond annotations.

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?

Three short sentences, front-loaded with the purpose and return shape before pagination advice and the sibling pointer. The mid-sentence about "'categories'" is a dangling reference to a non-existent parameter and is the one piece of text that does not earn 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?

For a 7-parameter tool with no output schema, the description carries the return-value burden well by naming the returned fields and the entry granularity, plus pagination semantics. Remaining gaps — why lat/long are required and what full_text changes — are covered adequately by the 100%-coverage schema descriptions.

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 coverage is 100% with examples for lat/long, query and vendor_code, so the schema already does the heavy lifting and baseline 3 applies. The description only reinforces the query/offset narrowing pattern and says nothing about lat/long (delivery location) or full_text. It also references a "'categories'" concept that has no matching parameter in the schema, which adds ambiguity rather than meaning.

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 ("Read a vendor's live menu") and discloses result granularity — one entry per size/variation, with price, discount and stock. An agent knows exactly what comes back without opening a schema, and the tool is distinguishable from tf_vendor_info, which is explicitly scoped to fees and minimum order.

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?

"Use to pick dishes or confirm a price" gives concrete task contexts, and the closing sentence routes the agent to tf_vendor_info for fee/minimum-order questions. It also advises narrowing big menus with query and paging with offset. No explicit when-not-to-use case is stated, keeping it short of a 5.

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