Skip to main content
Glama

Boatwork - Marine Businesses MCP

correct_booking_quantity

Mutation/readOnly:false, script-tier/no-model-token action. Correct the boat length in feet or the number of units on a PAID booking when the customer gave the wrong number. A lower quantity refunds the difference to the customer; a higher one emails the customer to approve the new total first. Not for hour-priced bookings. Requires confirm:true; without it you get a preview. Call get_booking first for the bookingId.

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>",
      "quantity": "<quantity>",
      "proAccessToken": "<proAccessToken>"
    },
    "name": "correct_booking_quantity"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to correct the booking. Omit to preview.
quantityYesCorrected boat length in feet or number of units.
bookingIdYes
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 so well: it declares the write nature, the divergent outcomes (lower quantity refunds the difference; higher quantity emails the customer for approval before the new total applies), and the confirm-gated preview mode. Gaps remain around the preview's returned content and whether the correction is auditable or reversible.

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/tier signal, then the core action, then consequences, then exclusions and prerequisites — a sensible ordering with little padding. The "script-tier/no-model-token action" phrasing is internal jargon that costs a clause without helping an agent decide or call.

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 four-parameter mutation tool with no annotations and no output schema, the definition covers side effects, gating, prerequisites, and exclusions, which is what an agent needs to call it safely. It does not describe what the preview or confirmation response contains, which is the main remaining hole.

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 75%, and the two undocumented details are largely handled: the description explains the confirm:true gate and preview behavior, and sources bookingId from get_booking. The quantity meaning (feet vs. units) and proAccessToken validity are already spelled out in the schema, so most of the description's parameter value is restatement rather than new meaning.

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 ("Correct the boat length in feet or the number of units") and scopes it precisely to a PAID booking where the customer supplied a wrong number. That scope cleanly separates it from sibling mutations like reschedule_booking, cancel_and_refund_booking, or partial_refund_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?

Gives a clear triggering condition (customer gave the wrong number), an explicit exclusion ("Not for hour-priced bookings"), and a prerequisite ("Call get_booking first for the bookingId"). It stops short of naming which sibling to use instead for hour-priced bookings or for other kinds of booking edits, so routing in those edge cases is still inferred.

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