Skip to main content
Glama

Restaurante HoReCaOS

Pregătește o rezervare

rezerva_masa
Read-onlyIdempotent

Verifică dacă ora cerută e liberă pentru numărul de persoane și întoarce linkul paginii de rezervare a restaurantului, cu data, ora și persoanele completate. Clientul își scrie acolo numele și telefonul și confirmă; restaurantul confirmă pe loc sau revine. NU creează rezervarea și NU cere date personale. Dacă ora e plină, propune orele libere apropiate și, unde există, lista de așteptare.

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>",
      "data": "<data>",
      "ora": "<ora>",
      "persoane": "<persoane>"
    },
    "name": "rezerva_masa"
  }
}

Input Schema

NameRequiredDescriptionDefault
oraYesOra, HH:MM (ora României)
dataYesData, YYYY-MM-DD (ora României)
slugYesSlug-ul restaurantului, din rezultatul cauta_restaurante (ex. „ciorbe-si-placinte”)
locatieNoLocația, la un restaurant cu mai multe (numele din restaurant_detalii); implicit cea principală
persoaneYesNumărul de persoane

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description explicitly disclaims the two things an agent would most likely get wrong: 'NU creează rezervarea' and 'NU cere date personale' — so it will not promise a confirmed table or collect PII. It also discloses the fallback behavior when the hour is full (propose nearby free hours, and a waitlist where one exists) and who confirms and when.

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 sentences ordered by importance: what it does and returns, then what it explicitly does not do, then the full-availability fallback. No filler, and the negative scope is front-loaded before an agent could over-assume.

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, and the description compensates by describing the returned artifact (booking page URL with fields pre-filled) and the alternative results (nearby free times, waitlist). For a 5-parameter, single-purpose availability/link tool, an agent has everything needed to call it and to explain the result to a user.

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 every parameter, including slug and locatie, is already documented in the schema. The description only restates that data, ora and persoane get pre-filled into the link; it adds nothing about slug sourcing, timezone handling or multi-location resolution beyond the schema text. Baseline 3 applies.

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?

The description states a specific verb and outcome: it verifies whether the requested time is free for the party size and returns the restaurant's booking-page link with date, time and party pre-filled. That is far more concrete than the title 'Pregătește o rezervare'. It does not differentiate itself from the sibling 'disponibilitate_rezervare', whose name suggests overlapping availability-checking behavior, so an agent must infer the split.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the description shows the intended flow (return a link, the client fills in name and phone there, the restaurant confirms or calls back), which implies this is the hand-off tool rather than a booking writer. There is no explicit 'use this when / use X instead' routing, and no prerequisite stated about first obtaining the slug from cauta_restaurante beyond what the schema already says.

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