Skip to main content
Glama

Record a payment

record_ledger_payment
Destructive

Record a payment that was made OUTSIDE Soundcheck (cash, check, Zelle, Venmo, PayPal, wire, other) against a payout or invoice on a gig. A payment that covers the remaining balance marks the line PAID; a smaller one leaves status UNPAID, and the returned line shows payment_status partial with paid_amount and remaining_amount. Does not move money — card and bank payouts stay in the Soundcheck app. Omit amount to record the full remaining balance; paid_on defaults to today and cannot be in the future. ledger_item_id comes from get_event_ledger. Only the org owner, an Admin, a Finance member, or a member with finance access can record against any line; crew can record only their own payout. Who is told: a payment recorded on a payout sends the person being paid a payout-paid push notification, unless they recorded it themselves. Undo with reverse_ledger_payment. Confirmation-gated. When the organization has QuickBooks Online connected, the change is also sent to QuickBooks.

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": {
      "event_id": "<event_id>",
      "ledger_item_id": "<ledger_item_id>",
      "method": "<method>"
    },
    "name": "record_ledger_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoreference, check number, or memo
amountNoamount paid; omit for the full remaining balance
methodYeshow it was paid off-platform: MANUAL_CASH | MANUAL_CHECK | MANUAL_ZELLE | MANUAL_VENMO | MANUAL_PAYPAL | MANUAL_WIRE | MANUAL_OTHER
paid_onNocivil day the money changed hands; today when omitted
event_idYesthe gig the line belongs to, an id from list_events, open_gigs or my_agenda
ledger_item_idYesledger item id from get_event_ledger
organization_idNodefaults to caller's active org; must be the event's org
confirmation_tokenNoleave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNowhen the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: { account { external_id, external_provider, id, is_system, name, type }, account_id, amount, assigned_to_user_id, can_mark_received, can_undo_received, counterparty_name, counterparty_user_id, created_by, crew_offer_id, currency, date, description, event_id, external_entity_type, external_id, id, invitation_id, and 12 more fields } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only flag this as a non-idempotent, destructive, open-world write; the description adds the actual state machine — full payment marks the line PAID, partial leaves UNPAID and returns payment_status partial with paid_amount and remaining_amount. It also discloses non-obvious side effects that annotations cannot convey: a payout-paid push notification to the payee (suppressed for self-recorded payments), a confirmation-token gate, and propagation to QuickBooks Online when connected.

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?

Front-loads the core action and the off-platform constraint, then layers state outcomes, side effects, permissions and reversal in a logical order. Dense but almost every clause carries decision-relevant information; the one dip is the conversational 'Who is told:' lead-in, which is slightly less scannable than the surrounding prose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, notification-triggering write with eight parameters, the description covers intent, preconditions, state effects, side effects, authorization, reversal and confirmation gating. An output schema exists, so the brief mention of returned line fields is a bonus rather than a gap-filler; nothing an agent needs to invoke this correctly is missing.

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 amount omission, paid_on defaulting to today, and the confirmation_token flow are already documented in the schema. The description's contribution is mostly restatement plus one genuinely new validation rule ('paid_on … cannot be in the future') and the org-owner/Admin/Finance authorization context; that is a marginal addition over the structured fields, consistent with the baseline 3.

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 ('Record a payment') plus the decisive scope constraint that the money moved OUTSIDE Soundcheck, enumerating the accepted methods. It explicitly carves out what it is not ('Does not move money — card and bank payouts stay in the Soundcheck app'), so an agent can distinguish it from in-app payout flows without opening a 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?

Gives explicit when-to-use conditions, a key default ('Omit amount to record the full remaining balance'), the upstream source for its required id ('ledger_item_id comes from get_event_ledger'), and the counterpart tool for reversal ('Undo with reverse_ledger_payment'). It also spells out the permission matrix, including the crew-only-own-payout restriction, which determines whether the call will succeed at all.

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.