Skip to main content
Glama

Restaurante HoReCaOS

Meniul unui restaurant

meniu_restaurant
Read-onlyIdempotent

Meniul public al unui restaurant: produsele cu categoria, descrierea, prețul în lei (cu TVA), alergenii declarați și, dacă restaurantul arată asta, prețul de acum (happy hour) și produsele epuizate. Căutare după nume, filtru pe categorie, fără un alergen anume, doar disponibile. Alergenii sunt cei declarați de restaurant (null = nedeclarați: întreabă restaurantul); un produs fără alergeni declarați nu trece de filtrul fără alergen. NU comandă și NU rezervă.

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": {
      "slug": "<slug>"
    },
    "name": "meniu_restaurant"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesSlug-ul restaurantului, din rezultatul cauta_restaurante (ex. „ciorbe-si-placinte”)
limitNo
offsetNo
cautareNoCuvinte din numele produsului
categorieNoNumele categoriei (ex. Ciorbe, Deserturi)
fara_alergenNoExclude produsele cu acest alergen (ex. gluten, lapte)
doar_disponibileNoDoar produsele disponibile acum

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/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 closed-world, so the safety profile is covered. The description adds meaningful data semantics beyond that: prices include VAT, happy-hour pricing and sold-out flags are only present if the restaurant publishes them, and allergens are nullable. The nullable-allergen edge case is spelled out precisely — null means undeclared (ask the restaurant) and such products do not pass the allergen-exclusion filter — which is exactly the kind of trap an agent would otherwise fall into.

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?

Front-loaded with what the tool returns, then filters, then the allergen caveat, then the scope exclusion. Three dense sentences, no filler, and the most error-prone rule is stated where it will be read.

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 no output schema, the description carries the burden of describing return fields and does so thoroughly, including VAT handling and conditional fields. The only gap for a 7-parameter paginated list tool is that result ordering and pagination behavior of limit/offset are never addressed.

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 71%, and the description adds real meaning on top of it: it defines how fara_alergen behaves as an exclusion filter and its interaction with undeclared allergens, and confirms cautare/categorie/doar_disponibile semantics. The limit and offset parameters are left entirely to the schema with no mention of pagination or ordering in the description.

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+resource (returns a restaurant's public menu) and enumerates exactly what the response contains: category, description, price in lei with VAT, declared allergens, optional happy-hour price and sold-out items. It also draws an explicit boundary ('NU comandă și NU rezervă'), which separates it from the ordering/reservation siblings like rezerva_masa.

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 clear context: the slug must come from cauta_restaurante, and the tool is for browsing/reading a menu, not transacting. It states the negative scope (no ordering, no reserving) but does not name which sibling to use instead for those actions, so routing is implied rather than explicit.

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