Skip to main content
Glama
Beankeeper

Beankeeper

Official

txn_settle_hold

Settle a pending card hold with the actual posted amount, date, and stable reference; select by ID or original reference and reuse details for exact retries.

Instructions

Settle a pending card hold with the actual posted amount, date, and stable bank reference. Select the hold by ID or original reference. Reuse the same details and posted reference for a retry. Direct grants settle immediately; propose-only grants return a proposal. A direct settlement returns the transaction and receipt IDs for an audited correction.

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": {
      "company": "<company>",
      "hold": "<hold>",
      "amount": "<amount>",
      "date": "<date>",
      "reference": "<reference>"
    },
    "name": "txn_settle_hold"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesDate the charge posted (YYYY-MM-DD).
holdYesExactly one way to identify the original authorization.
amountYesActual positive amount in the hold's currency, in decimal major units.
companyYes
referenceYesStable reference for the posted charge. Reuse it for an exact retry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false, so the description carries the burden and does add value: it discloses the propose-only vs direct-grant branching and states that a direct settlement returns transaction and receipt IDs for an audited correction. It does not cover reversibility, permissions, or failure modes.

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?

Four tightly packed sentences, front-loaded with the core action, then identification, retry semantics, and return behavior. No filler, though the density borders on terse for a multi-mode mutation.

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 five-parameter mutating tool with no output schema, the description covers inputs, grant-mode branching, retry/idempotency, and return identifiers. Missing is what happens on failure or whether a settlement can be undone, which matters for a settlement operation.

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 80%, so the schema already documents amount ('actual positive amount'), reference ('reuse for an exact retry'), date format, and the either/or hold selector. The description restates these at a higher level without adding syntax or meaning beyond the schema, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb+resource pair ('Settle a pending card hold') and enumerates the operative inputs (posted amount, date, bank reference). It is clearly distinguishable from generic posting tools like txn_post, though it never names a sibling alternative explicitly.

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?

It gives real usage context: select the hold by ID or original reference, and reuse the same details and posted reference on a retry. The grant-mode behavior (direct settles immediately vs propose-only returns a proposal) tells the agent what outcome to expect. It lacks an explicit 'do not use this for X' exclusion.

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

Deploy Server

Other Tools