Skip to main content
Glama

Book (creates a real reservation)

create_booking
Idempotent

Creates a REAL booking from a hold. Call only after the user explicitly confirmed time and price. Needs the user's name and at least one contact: phone, email or Telegram. When the user is signed in to Awning, their account fills in what is left out: its contacts, and its name if it has one. Pass the same idempotency_key when retrying.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
addressNoWhere to come or deliver, e.g. {"line1":"Rawai Beach Resort"}
hold_idYes
customerNo
intake_answersNo
idempotency_keyNoRandom string; reuse it on retries

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=false, idempotentHint=true and openWorldHint=true, so the description's job is to add detail, which it does: it explains that a signed-in Awning account auto-fills missing contacts and name, and that the same idempotency_key must be reused on retries. It does not state what happens to the hold after creation or whether the booking can fail for unavailability.

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?

Four sentences, no filler, and the highest-stakes information (what it creates, the confirmation precondition) is front-loaded. Each sentence adds a distinct operational fact.

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 mutation tool with no output schema, it covers the critical gaps: confirmation gate, contact requirements, account-based defaulting, and retry/idempotency behavior. What is missing is the success response shape and hold expiry semantics, which are minor relative to what is covered.

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 only 33% and the object is nested, so the description must carry weight. It usefully adds an unstated constraint (name plus at least one of phone/email/telegram) and retry semantics for idempotency_key, but hold_id, note, address, intake_answers, language and timezone get no explanation in either place.

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 ('Creates a REAL booking') and immediately disambiguates from the sibling create_hold by scoping it to 'from a hold'. The capitalized REAL plus the title 'creates a real reservation' makes the distinction from a non-binding hold unmistakable.

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?

'Call only after the user explicitly confirmed time and price' gives a hard precondition for invocation, and 'from a hold' implies create_hold must run first. It stops short of naming create_hold or cancel_booking as explicit alternatives, so the routing is implied rather than stated.

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