Skip to main content
Glama

Boatwork - Boat Owners MCP

cancel_my_booking

Destructive

Boat Owner MCP. Cancel a booking or withdraw a pending booking request. Omit confirm for a no-write refund preview showing the exact refund amount; call again with confirm:true (and expectRefund / expectCardRefundCents from the preview) only after the owner says yes.

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": {
      "ownerSessionToken": "<ownerSessionToken>",
      "bookingId": "<bookingId>"
    },
    "name": "cancel_my_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoSet true only after the boat owner explicitly approves this action. Omit or false for a no-write preview.
bookingIdYesBooking id from list_my_bookings.
expectRefundNoFrom the cancel preview.
ownerSessionTokenYesownerSessionToken returned by confirm_owner_signin. Keep it for this conversation and never show it to the owner.
expectCardRefundCentsNoFrom the cancel preview.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, but the description adds a mode the annotations cannot express: omitting confirm yields a no-write refund preview with the exact refund amount. It also implies the expectRefund/expectCardRefundCents values act as a guard against confirming a stale refund figure. It does not state whether a confirmed cancellation is irreversible or what happens if the booking is already cancelled.

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 and front-loaded: the core action comes before the two-step protocol. The leading 'Boat Owner MCP.' label is minor filler, but no sentence is redundant and the preview/confirm contract is packed into a single clause.

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 5-parameter mutation with no output schema, the definition covers the action, the safe-preview path, the confirmation gate, and the parameter hand-off. Remaining gaps are secondary outcomes (refund timing, behavior on already-cancelled or non-refundable bookings) that an agent might still need.

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 the schema documents all five parameters; the description still adds flow-level meaning by tying confirm to explicit owner approval and by explaining that expectRefund and expectCardRefundCents are carried over from the preview call. That sequencing relationship is not obvious from the schema descriptions alone.

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+resource pair ('Cancel a booking') and additionally covers the pending-request case ('withdraw a pending booking request'), which an agent could not infer from the name alone. It is distinguishable from sibling mutations such as reschedule_my_booking and cancel_my_recurring_service by scoping itself to a single 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?

It gives an explicit two-step protocol: omit confirm for a preview, then re-call with confirm:true only after the owner says yes. That is strong when-to-use guidance for the mutation. It stops short of naming alternatives (e.g., reschedule instead of cancel), so no when-not guidance is present.

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