Skip to main content
Glama

Boatwork - Marine Businesses MCP

cancel_booking_to_credit

Mutation/readOnly:false, script-tier/no-model-token action. Cancel a paid booking and email the customer a store-credit gift card for the booking amount instead of refunding their card (ideal for weather rain checks). Frees the seat or slot. Requires the Owner or Admin role and confirm:true — get your supervisor's yes first. Storefront Pro is required.

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": {
      "bookingId": "<bookingId>",
      "confirm": "<confirm>",
      "proAccessToken": "<proAccessToken>"
    },
    "name": "cancel_booking_to_credit"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be true: your supervisor has said yes.
messageNoOptional personal note included with the store-credit gift card email.
bookingIdYesFrom list_bookings or get_booking.
proAccessTokenYesThe proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours.

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?

No annotations are supplied, so the description carries the full burden, and it does substantial work: declares it is a mutation, a script-tier/no-model-token action, requires elevated role and explicit confirmation, and describes both the email side effect and the seat/slot release. It does not address reversibility or what happens to the original payment beyond crediting, which keeps it from a 5.

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 mutation flag and the core action, and every clause adds information (alternative outcome, side effects, auth, confirmation, subscription). The opening meta-tokens are dense jargon and the sentences run together slightly, but there is no filler.

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 no-output-schema mutation tool, the description covers safety signals, required credentials, subscription gating, and post-call effects well enough for an agent to call it correctly. Remaining ambiguity about reversibility and the customer's original payment is minor rather than blocking.

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 coverage is 100% and the schema already documents all four parameters, including the const:true on confirm and the 24-hour proAccessToken lifetime. The description only reinforces that confirm means supervisor sign-off and that Pro access is required; baseline 3 is appropriate.

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 (cancel a paid booking) plus the distinguishing outcome (issue a store-credit gift card instead of a card refund) and the side effects (frees the seat or slot, emails the customer). This separates it cleanly from cancel_and_refund_booking without needing to name it.

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 a concrete usage context ("ideal for weather rain checks") and the prerequisite conditions: Owner or Admin role, confirm:true with supervisor approval, and a Pro subscription. It implies the refund alternative rather than naming the sibling tool explicitly, which is the only real gap.

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