Skip to main content
Glama

Latchbell

Cancel a customer's booking

cancel_customer_booking
Destructive

Owners only (needs sign-in): Only when the owner asks. Frees the time, tells the customer and refunds an upfront payment; refund_pending or refund_failed needs follow-up, so never say money came back before Stripe confirms. There's no Latchbell fee on a cancellation.

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_customer_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
booking_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Well beyond the annotations: it discloses the side effects (time freed, customer notified, upfront payment refunded), the possibility of refund_pending or refund_failed states requiring follow-up, an explicit reporting caveat ('never say money came back before Stripe confirms'), and the fee policy. The annotations already flag destructive and open-world, and the description complements rather than repeats them.

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?

Dense but front-loaded: the access gate comes first, then effects, then the refund caveat and fee note. Every clause carries operational weight, though the 'no Latchbell fee' remark is the least essential item and the sentence is somewhat run-on.

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?

With no output schema, the description valuably narrates return states (refund_pending/refund_failed) and reporting obligations, and it covers permissions and side effects for a destructive mutation. It stops short of describing failure modes such as a booking that cannot be cancelled because it is already past or already cancelled.

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 0% and the single booking_id parameter is never mentioned in the description, so no meaning is added beyond the schema's type constraint. The parameter's intent is largely self-evident from the tool name, which keeps this from being worse than adequate.

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?

The description conveys a specific operation on a specific resource through its effects: 'Frees the time, tells the customer and refunds an upfront payment,' which unambiguously reads as cancelling a booking. It does not differentiate this from the close siblings cancel_booking or cancel_receptionist_checkout, so an agent can't tell from the text alone which cancellation tool applies in a given situation.

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?

'Owners only (needs sign-in): Only when the owner asks' is an explicit precondition and trigger, strong guidance for when to invoke. What is missing is a rule for when not to use it, in particular how it relates to the other cancellation tools in the catalogue.

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