Skip to main content
Glama

BookingKoala MCP Server and API by Cotlet

Cancel booking

cancel_booking
Destructive

Cancel one booking or its whole recurring schedule, without a cancellation fee. Checks the store's cancellation rules first (a store that requires a reason gets the 'Other' reason with your text), then cancels as Cancel in the booking's sidebar does, with no fee. Nobody is told unless notify is true. Cancelled bookings leave list_bookings. Waits for the owner's approval.

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": {
      "booking_id": "<booking_id>"
    },
    "name": "cancel_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
notifyNoEmail the customer and providers about it. Default: false.
reasonNoWhy it is cancelled (kept on the booking).
booking_idYesBooking id from list_bookings.
whole_scheduleNoCancel the whole recurring schedule from this booking on. Default: false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial context beyond destructiveHint/readOnlyHint: no cancellation fee, an owner-approval gate that makes the call blocking, store-specific cancellation-rule handling with reason substitution, notification suppressed unless notify=true, and the post-condition that cancelled bookings leave list_bookings. That is exactly the mutation-side behavior an agent needs before firing a destructive call.

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-loaded with the core action and scope, and every sentence carries information about behavior. The only waste is the duplicated fee statement ('without a cancellation fee' at the start and 'with no fee' later).

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 destructive, non-idempotent, open-world mutation with no output schema, the description covers fees, approval, notification, rule-checking, and post-state. The one soft spot is what the call returns while awaiting owner approval – success vs. pending is left implicit.

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 baseline is 3, but the description adds real semantics: notify governs whether anyone is told, reason feeds the store's required-reason flow (with 'Other' substitution), and whole_schedule extends cancellation forward from this booking. It just doesn't clarify reason length/format constraints.

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+resource (cancel a booking) plus the two scope variants: one booking or its whole recurring schedule. It also clarifies that no fee applies and that cancelled bookings drop out of list_bookings, which lets an agent distinguish this from reschedule_booking or get_booking without opening a 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?

Gives clear context for use: it pre-checks store cancellation rules, substitutes the 'Other' reason when a store requires one, and only notifies when notify is true. It stops short of naming an explicit alternative ('use reschedule_booking to move instead') or stating when-not-to-use, so it's clear but not fully routing.

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.