Skip to main content
Glama

Book a table (prepare)

book_table
Read-only

Prepares a table booking at a Deenwise partner restaurant for the person you are helping: checks the time is free and returns a link to the restaurant's own booking page with the party and time filled in. The person adds their name, mobile and email there and sends it; the restaurant confirms in its till and the person is emailed. Nothing is booked or paid by this tool, and there is no booking fee or deposit.

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": {
      "restaurant_id": "<restaurant_id>",
      "date": "<date>",
      "time": "<time>",
      "party": "<party>"
    },
    "name": "book_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesDay in UK time, YYYY-MM-DD
timeYesStart time HH:MM in UK time, from table_availability
partyYesNumber of people
restaurant_idYesFrom find_restaurants

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint annotation by explaining the full hand-off: the person supplies name, mobile and email on the restaurant's own page, the restaurant confirms in its till, and the person is emailed. It explicitly rules out what an agent might wrongly assume — nothing is booked or paid, and there is no fee or deposit — which is exactly the reassurance needed before telling a user they have a table.

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?

Two sentences, front-loaded with the action and followed by the outcome and the disclaimer; nothing is padding. The first sentence is long and clause-heavy, which slightly hurts scannability, but every clause carries real information.

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 return value precisely — a link to the restaurant's booking page with party and time pre-filled. Combined with the no-booking/no-fee caveat and the confirmation flow, an agent has everything needed to call it and to set user expectations.

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% and each parameter carries its own description (UK-time formats, party range, source tools), so the schema does the heavy lifting. The description only adds that party and time are pre-filled into the returned link, which is marginal beyond the structured data.

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?

States a specific verb and resource: "Prepares a table booking at a Deenwise partner restaurant," and scopes the output as a pre-filled link rather than a confirmed reservation. It does not explicitly name siblings, and its "checks the time is free" phrasing overlaps with table_availability, leaving slight ambiguity about the division of labour.

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 agent can infer this is the step after availability checking, and the schema notes time comes "from table_availability," but the description never says to call that tool first or when to prefer booking_status instead. No exclusions or prerequisites are spelled out in the description itself.

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