Skip to main content
Glama

Create booking

create_booking
Destructive

Creates one guest booking for an exact service, provider and ISO-8601 start time after explicit user confirmation. Reusing idempotency_key makes retries safe. Kirah accepts no payment credentials through MCP; a deposit-required service may return a Kirah-hosted human payment continuation, but this call transfers no funds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clientYes
tenantYesThe tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai).
start_isoYes
service_idYes
provider_idNo
agent_metadataNo
idempotency_keyNo
intake_responsesNoAnswers to the service's intake form (2.8), keyed by intake field id as advertised in list_services' service.intake_form.fields[].id. FLAT only: values must be a string, a boolean, or a finite number — arrays, nested objects and nulls are rejected. Unknown keys are ignored by the booking engine. Answers are validated against the LIVE form; a required plain boolean accepts an explicit true OR false, a consent boolean accepts only true, and a select must exactly match one advertised option. Omit this field entirely when the service has no intake form.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
demoNo
grantNo
detailNo
reasonNo
end_isoNo
missingNo
outcomeYes
notifiedNo
start_isoNo
policy_feeNo
request_idNo
booking_refNo
booking_urlNo
demo_noticeNo
intake_formNo
payment_urlNo
confirmationNo
service_nameNo
deposit_centsNo
provider_nameNo
status_reasonNo
appointment_idNo
policy_messageNo
retry_after_secNo
cancel_fee_centsNo
already_cancelledNo
idempotent_replayNo

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behaviors: retry safety via idempotency_key, that no funds are transferred, that payment credentials are not accepted, and that a deposit-required service may return a Kirah-hosted human payment continuation. These are meaningful, non-obvious side effects and boundaries not encoded in the annotations.

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?

The description is three sentences with no filler. The primary action and user-confirmation requirement come first, followed by idempotency guidance and the payment caveat, which is an effective front-loaded structure.

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?

Given the tool's complexity and the presence of an output schema, the description covers the essential non-obvious context: exact-match booking, confirmation requirement, retry semantics, and payment behavior. It does not explain how to obtain service_id or provider_id from sibling tools, but the input schema and output schema cover most remaining structural detail.

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 low at 25%, and the description compensates only partially. It adds meaning to start_iso by requiring ISO-8601, and to idempotency_key by explaining safe retries, but it leaves tenant, client, agent_metadata, and intake_responses semantics to the schema and parameter names.

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: 'Creates one guest booking for an exact service, provider and ISO-8601 start time.' The explicit constraints and the user-confirmation gate make its purpose unmistakable and clearly distinct from siblings like cancel_booking and reschedule_booking.

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?

The description gives clear invocation conditions: call only after explicit user confirmation, reuse idempotency_key for safe retries, and do not expect to pass payment credentials through MCP. It provides strong usage context but does not explicitly name alternatives or say when not to use this tool, so it stops short of full routing guidance.

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.

TDQS

A4.1/5.0
Disambiguation4/5

Each booking lifecycle tool is clearly distinct, and the search/availability tools are generally separated by scope. The closest pair is find_available_services and get_availability, but their descriptions sufficiently distinguish cross-business availability checks from per-service calendar lookups.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern, such as create_booking, get_availability, list_services, and reschedule_booking. The verbs are predictable and communicate the action clearly.

Tool Count5/5

Ten tools is a well-scoped size for a local services booking server. Each tool addresses a distinct part of the workflow without unnecessary redundancy or bloat.

Completeness4/5

The tool set covers the core booking journey: discovery, availability, booking creation, status checks, rescheduling, and cancellation. A minor gap is the lack of a list-bookings endpoint, though payment is explicitly handled outside MCP, so core functionality remains intact.

Resources