Skip to main content
Glama

setup_bookings

Phase 7 (round 2): set up appointment booking on an editor app — services (with duration and price), staff, service categories, business hours and booking rules — exactly as the AppBuild editor's booking wizard does. One booking page per app: an existing one is updated rather than duplicated. At least one service is required; never invent services, durations or prices — ask the owner. Prices are in normal money (35), durations in minutes. Taking payment at the time of booking is NOT configured here.

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": {
      "appId": "<appId>",
      "services": "<services>"
    },
    "name": "setup_bookings"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYesThe editor app id (UUID).
staffNoThe people taking the appointments. Optional — can be added later in the editor.
servicesYesThe bookable services. At least one required.
pageTitleNoTitle of the booking page. Defaults to "Appointment Booking".
businessHoursNoOpening hours keyed by day (monday..sunday), each { enabled, startTime, endTime } in 24h "HH:MM". Optional — defaults to Mon-Fri 09:00-17:00, weekend closed. Confirm with the owner.
minBookingNoticeNoMinimum notice in hours. Defaults to 2.
allowCancellationNoWhether customers can cancel. Defaults to true.
notificationEmailNoEmail that should receive new booking alerts. Optional.
advanceBookingDaysNoHow far ahead customers can book. Defaults to 30.
cancellationDeadlineNoHours before the appointment that cancellation closes. Defaults to 24.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses idempotent-ish behavior (existing page updated rather than duplicated), a hard input requirement (at least one service), an anti-hallucination instruction (never invent services, durations or prices — ask the owner), and unit conventions (money as 35, durations in minutes). It does not address permissions, reversibility, or what happens to unspecified fields on an existing page.

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?

Front-loads the phase marker and the resource, then moves through page-uniqueness, the service minimum, unit conventions, and the payment exclusion. Dense but every sentence carries information; the 'Phase 7 (round 2)' prefix is internal jargon but earns its place as sequencing context.

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 10-parameter nested-object mutation with no annotations and no output schema, the description covers the critical risks: required minimum, no invented data, single-page constraint, and unit formats. Defaults are handled by the schema, so the remaining gap is only around failure modes and permission requirements.

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% and the description's parameter-level content ('Prices are in normal money (35), durations in minutes', 'at least one service is required') largely restates what the schema already documents for price, duration, and services. It adds the requirement framing but no new semantics for the remaining eight parameters.

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 ('set up appointment booking on an editor app') and enumerates the configured artifacts: services with duration and price, staff, categories, business hours, booking rules. The scope line distinguishes it cleanly from siblings like setup_food_ordering or setup_loyalty_points without needing their schemas.

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?

Gives clear when-context ('Phase 7 (round 2)') plus a strong exclusion ('Taking payment at the time of booking is NOT configured here') and an operational constraint (one booking page per app; existing one updated, not duplicated). It stops short of naming the alternative tool that handles payments, so the routing is implied rather than explicit.

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