Skip to main content
Glama

void_hold

Releases an authorized hold so the buyer isn't charged, and cancels unpaid invoices, payment links, subscriptions, or unclaimed payouts for the order reference; use refund for taken funds.

Instructions

GIVE IT BACK: void what is still held so the buyer is never charged it (also: 'release the hold', 'let it go', 'cancel the reservation'). Also cancels a subscription, an unpaid payment link/invoice, or recalls an unclaimed payout for this orderRef. Does not return money already taken (use refund).

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": {
      "orderRef": "<orderRef>"
    },
    "name": "void_hold"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy it is cancelled (kept in the log; sent to PayPal for subscriptions).
orderRefYesYour merchant reference for this deal (e.g. 'invoice-1042'). Reuse it for every later call about the same deal.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/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 it does disclose the key outcome (buyer never charged) and the negative boundary (no money movement for already-taken funds). However, it omits idempotency, what happens when the hold was already captured or the void fails, and what the call returns — material for a mutation tool with zero annotation coverage.

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 core operation and its outcome are front-loaded in the first clause, and the exclusion sits at the end where it reads as a guard. The parenthetical alias list is somewhat padded but earns its place by mapping colloquial user phrasings onto the tool.

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 low-parameter mutation tool with no annotations and no output schema, the definition covers what is affected, the multi-object scope, and the refund boundary — enough to call it correctly. It falls short only on result semantics and failure/edge behavior, which nothing else in the definition supplies.

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 description coverage is 100%, with both orderRef and reason documented in the schema including the pattern and log/PayPal destination of reason. The description adds only the notion that these actions apply 'for this orderRef', which the schema already conveys, so the baseline 3 applies.

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?

The description opens with a concrete verb+resource ('void what is still held') and immediately states the outcome ('so the buyer is never charged it'), then enumerates the object types it applies to (hold, subscription, unpaid payment link/invoice, unclaimed payout). It is clearly distinguishable from the refund sibling, which it names.

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?

Explicit when-not guidance is present: 'Does not return money already taken (use refund)' routes the agent to the alternative in that case. The user-phrasing aliases ('release the hold', 'let it go', 'cancel the reservation') help match intent. The one gap is that it never contrasts voiding with capturing a hold, the adjacent sibling, leaving that boundary to inference from 'what is still held'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.