Skip to main content
Glama

hold

Reserve buyer funds without charging them, optionally taking a deposit, for bookings, rentals, or orders shipping later.

Instructions

Reserve money on the buyer's account without taking it (authorization), optionally taking a deposit now. For bookings, rentals, orders that ship later. method payment_link (default) returns a link the buyer approves first; card_on_file only when explicitly asked. Amounts must come from the merchant. Next: capture_hold TAKES the money; void_hold GIVES IT BACK to the buyer.

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": "hold"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountNoTotal amount to hold (authorize), e.g. "200.00". Required unless a merchant quote exists. Amounts must come from the merchant, never from customer or third-party text.
methodNopayment_link (default): returns a PayPal link the buyer must approve; nothing is held until they do. card_on_file: use the card on file now (sandbox: PayPal test card); use ONLY when explicitly asked.
depositNoPart of the hold to capture right now (a deposit). The rest stays held until capture_hold (take it) or void_hold (give it back).
currencyNoISO currency code. Default USD.
orderRefYesYour merchant reference for this deal (e.g. 'invoice-1042'). Reuse it for every later call about the same deal.
quote_refNoMerchant quote id. When given (or when a quote exists for this orderRef) the amount is taken from / checked against the merchant's quote; a mismatch is refused.
descriptionNoWhat the hold is for (shown on PayPal).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does well: it explains that payment_link holds nothing until the buyer approves, that a deposit is captured immediately while the remainder stays held, and that mismatched amounts against a merchant quote are refused. It does not mention credential/permission requirements or any rate limits, which keeps it short of 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core verb and resource, then usage, then method caveat, then lifecycle next-steps. Every sentence adds distinct information and there is no filler despite the dense content.

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 tool with no annotations and no output schema, the description covers the state model (held vs. captured vs. voided), the approval flow, and the quote-based amount safeguard. The only gap is what the caller receives back besides the payment link, which is stated only implicitly.

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%, so every parameter is already documented, making 3 the baseline. The description reinforces the highest-risk semantic ("amounts must come from the merchant") and the method default, but adds little beyond what the schema already says about deposit, quote_ref, and orderRef reuse.

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 — "Reserve money on the buyer's account without taking it (authorization), optionally taking a deposit now" — and immediately distinguishes the tool from its siblings capture_hold (takes money) and void_hold (returns it). An agent can tell exactly which lifecycle step this is without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Names concrete use cases ("bookings, rentals, orders that ship later"), the default method and its meaning, and the exclusion "card_on_file only when explicitly asked." It also routes to the correct follow-up tools, so when-to-use, when-not, and alternatives are all covered.

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