Skip to main content
Glama

Boatwork - Marine Businesses MCP

partial_refund_booking

Mutation/readOnly:false, script-tier/no-model-token action. Issue a partial Stripe refund (at least $1.00 / 100 cents) on a paid booking without cancelling it, e.g. for a weather shortening or goodwill credit. Requires the Owner or Admin role and confirm:true — show the customer and refund amount to your supervisor and get a 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>",
      "amountCents": "<amountCents>",
      "confirm": "<confirm>",
      "proAccessToken": "<proAccessToken>"
    },
    "name": "partial_refund_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoOptional short reason noted in the refund email and log.
confirmYesMust be true: your supervisor has said yes.
bookingIdYesFrom list_bookings or get_booking.
amountCentsYesAmount to refund in cents (at least 100 = $1.00).
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?

With no annotations supplied, the description carries the full burden and does well: it declares mutation/readOnly:false, the script-tier execution path, the $1.00 floor, authorization requirements, and a supervisor-approval gate tied to confirm:true. It does not describe reversibility, failure behavior, or what the call returns, 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 mutation semantics and the core action, then preconditions, then examples — a sensible ordering. The leading 'Mutation/readOnly:false, script-tier/no-model-token action' clause is metadata-flavored but short and informative; the rest of the text earns its place.

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 money-moving mutation with no output schema, the description covers the safety-critical prerequisites (role, confirm gate, Pro requirement, minimum amount) thoroughly. It omits any indication of the return value (refund id/status) and error or partial-failure behavior, which an agent would benefit from.

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%, so every parameter is already documented in the input schema; the baseline is therefore 3. The description adds real intent for confirm (supervisor must have said yes) and restates the amountCents floor, but adds nothing about bookingId or proAccessToken beyond what the schema says.

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 ('Issue a partial Stripe refund') on a scoped target ('on a paid booking without cancelling it'), which implicitly distinguishes it from cancel_and_refund_booking. The minimum amount and example scenarios further pin down what kind of refund this is.

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 concrete when-to-use examples (weather shortening, goodwill credit) and a clear when-not signal ('without cancelling it'), plus prerequisites: Owner/Admin role, confirm:true, Storefront Pro. It stops short of explicitly routing the agent to cancel_and_refund_booking when cancellation is actually wanted.

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