Skip to main content
Glama

Boatwork - Marine Businesses MCP

refund_order

Mutation/readOnly:false, script-tier/no-model-token action. Refund a product order to the customer, in full or in part. Money moves: the refund goes back to the customer's card. Requires the Admin role. Without confirm:true this returns a preview of the order and the amount that would be refunded and changes nothing; with confirm:true it refunds. amountCents is in cents (2500 = $25.00) and omit it to refund the remaining balance. Call get_order first. Storefront Pro.

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": {
      "orderId": "<orderId>",
      "proAccessToken": "<proAccessToken>"
    },
    "name": "refund_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to refund. Omit to preview.
orderIdYesThe order id from list_orders.
amountCentsNoAmount to refund in cents. Omit to refund the remaining balance.
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.3/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 does most of it: it declares this is a mutation (readOnly:false), that funds are actually transferred, that the Admin role is required, and that omitting confirm yields a no-op preview. It does not cover idempotency, partial-failure behavior, or whether a completed refund can be reversed, which are material gaps for a money-moving call.

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?

The operative facts are front-loaded: what it does, that money moves, the auth requirement, then the confirm gate. Two phrases dilute it — the 'script-tier/no-model-token action' jargon and the trailing 'Storefront Pro.' — neither of which is explained or clearly actionable.

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 4-parameter mutation with no annotations and no output schema, the description covers purpose, auth, the destructive path, parameter units, and even what the preview returns. What is missing is failure and repeat-call behavior, which matters given real money movement.

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 baseline is 3; the description earns one more by adding a concrete cents conversion example (2500 = $25.00), restating the omit-to-refund-remaining semantics, and explaining that confirm:true both authorizes the refund and suppresses the preview response.

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 ('Refund a product order to the customer, in full or in part') plus the scope distinction that matters here: money actually moves back to the customer's card. The 'product order' framing separates it from the booking/charge/invoice refund siblings without naming them.

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 explicit preconditions and sequencing: 'Call get_order first', and the confirm:true vs omitted split makes the safe-preview path the default. It stops short of naming which sibling to use when the target is a booking, charge, or invoice rather than a product order, so the agent must infer that routing.

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