Skip to main content
Glama

Prepare an instant booking

preparer_resa
Idempotent

Prepares an instant booking and returns a prefilled payment link to getchef.fr. It does NOT hold the slot: the date stays available to others until the client pays on getchef.fr with their own card, and is held only once payment is made. When the menu offers a choice of dishes, the optional choix_plats parameter carries the alternatives chosen by the client, and the link arrives with the menu already composed. Without it, the client composes the menu on getchef.fr.

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": {
      "chef_slug": "<chef_slug>",
      "date": "<date>",
      "moment": "<moment>",
      "menu_id": "<menu_id>",
      "convives": "<convives>"
    },
    "name": "preparer_resa"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesDate of the event, in YYYY-MM-DD format, in the future
momentYesService wanted: midi (lunch) or soir (dinner)
menu_idYesIdentifier of the chosen menu, as returned by detail_chef. Only a menu whose reservable_immediatement is true can be booked here.
convivesYesNumber of guests, between 1 and 200. The menu may require a higher minimum.
chef_slugYesChef identifier, as returned by rechercher_chefs or detail_chef
choix_platsNoAlternatives chosen for the courses offered with a choice, by their identifier as detail_chef returns it in services_au_choix. One dish per course, for the whole table, at most 12. Optional: without it, the link lets the client compose the menu on getchef.fr.

Output Schema

NameRequiredDescriptionDefault
erreurNoRefusal message, written in French for the customer. Present ONLY on a refusal, never on a nominal response.
donneesYes
ignoresNoOptional parameters the server could not read. They were discarded, the rest of the request was processed normally, and the same sentence appears at the start of prochaine_etape.
resultatsNoResult counts. Absent on a refusal and on fallback branches. When "tronque" is true, this response does not carry all the items that match the request: "affiches" is what it contains, "total" is what was found.
prochaine_etapeYesWhat the assistant can offer next. Present on ALL outputs, refusals included.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

This is the strongest part: it discloses that the slot is NOT held, that the date remains open to other clients until payment, that the client pays with their own card on getchef.fr, and how the resulting link is composed. These are exactly the behavioral facts annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) cannot convey.

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 front-loaded sentences, with the non-holding caveat placed high where it matters most. The final sentence partially restates the choix_plats schema description, but the rest of the text is dense with behavior rather than filler.

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?

For a 6-parameter, 5-required tool with an output schema, the description covers what matters and leaves return-value structure to the output schema. The prerequisite that the menu be immediately reservable lives in the schema, and the payment-link flow is explained here, so nothing critical is missing.

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 100%, so the baseline is 3; the description earns above that by explaining the downstream consequence of choix_plats — the link arrives pre-composed versus the client composing the menu on getchef.fr. It adds outcome meaning rather than restating the enum or format constraints already in the schema.

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 states a specific verb and resource ('Prepares an instant booking') and immediately names the concrete artifact returned ('a prefilled payment link to getchef.fr'). The 'instant booking' framing implicitly separates it from the quote-request sibling, and an agent can tell what this produces without opening the 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?

It gives clear situational context: the booking is not held until the client pays on getchef.fr, and choix_plats should be used when the menu offers a dish choice. It stops short of explicitly naming alternatives such as creer_demande_devis (quote request) or disponibilites, so the routing decision between booking paths is still left partly to inference.

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