Skip to main content
Glama

Boatwork - Marine Businesses MCP

refund_gift_card

Mutation/readOnly:false, script-tier/no-model-token action. Refund what is left on a gift card to its buyer and end the card. Use the giftCardId from gift_cards. Requires confirm:true: show the card and the amount left 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": {
      "giftCardId": "<giftCardId>",
      "confirm": "<confirm>",
      "proAccessToken": "<proAccessToken>"
    },
    "name": "refund_gift_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be true: your supervisor has said yes.
giftCardIdYesFrom gift_cards.
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.5/5.0
Behavior5/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: it declares a mutation, the irreversible effect (the card is ended), the human approval gate, and the auth requirement (proAccessToken / Storefront Pro). The 'script-tier/no-model-token action' note adds meta-context about execution cost that structured fields do not convey.

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 but front-loaded: mutation/readOnly status, then the action, then the identifier source, then the approval gate and licensing requirement. The leading 'Mutation/readOnly:false/script-tier' token is terse jargon but each clause earns its place; nothing is redundant.

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 3-parameter destructive mutation with no output schema, it covers effect, auth, approval, and parameter sourcing. The main gap is what the call returns (refund amount, card status) and whether the operation can fail after the card is ended.

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 3 is the baseline, but the description adds real meaning: it ties giftCardId to the gift_cards tool and explains that confirm means a supervisor has been shown the balance and said yes, which is more actionable than the schema's terse 'Must be true'.

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: refunds the remaining balance on a gift card and ends the card. It also names the sibling tool gift_cards as the source of the identifier, so an agent can place the tool precisely relative to issue/void/resend variants.

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 preconditions: use giftCardId from gift_cards, confirm:true after supervisor approval showing card and amount, and Storefront Pro required. It does not explicitly contrast with void_gift_card when the card has a zero balance, but the conditions for use are clear.

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