Skip to main content
Glama

Preview/confirm manual Wave payment accounting record

wave_record_payment

Record a manual payment on an approved Wave invoice with exact amount, exchange rate, date, method, and single-use confirmation. Does not charge, refund, or reverse processor funds.

Instructions

Explicit invoicePaymentCreateManual ONLY: never charges/refunds/reverses processor funds. Requires owned approved invoice and owned active account, exact amount/currencies/exchange-rate snapshot, preview then single-use explicit confirmation. No inferred origin classifier. UPDATE/DELETE remain deferred/unaccepted for full FR6 under A79; no automatic mutation retry.

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": {
      "invoiceId": "<invoiceId>",
      "paymentAccountId": "<paymentAccountId>",
      "amount": "<amount>",
      "exchangeRate": "<exchangeRate>",
      "paymentDate": "<paymentDate>",
      "paymentMethod": "<paymentMethod>"
    },
    "name": "wave_record_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
memoNo
amountYes
invoiceIdYes
businessIdNo
paymentDateYes
confirmationNo
exchangeRateYes
paymentMethodYes
paymentAccountIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already convey mutability (readOnlyHint=false, destructiveHint=false, non-idempotent), but the description adds substantive behavior beyond them: the preview-then-confirm gate, single-use confirmation, no automatic mutation retry, and the guarantee that processor funds are never touched. That is valuable context for a mutating tool. It is pulled back from 5 by opaque internal references ('full FR6 under A79', 'no inferred origin classifier') that an agent cannot act on.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The core constraints are front-loaded in a usable order (scope, then prerequisites, then confirmation protocol). But several phrases are internal process jargon ('No inferred origin classifier', 'full FR6 under A79') that consume space without conveying actionable meaning to an agent. Density is high but not every sentence earns its place.

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

Completeness2/5

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

For a non-idempotent mutation with 9 parameters, a nested confirmation object, and no output schema, the description should clarify failure behavior and how preview differs operationally from confirm. It asserts a preview/confirm protocol without explaining how to trigger preview, and says nothing about what is returned or what happens on fingerprint expiry or mismatch. The behavioral framing is present but the operational detail is incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 9 parameters, so the description must compensate and largely fails to. It gestures at 'exact amount/currencies/exchange-rate snapshot' and the owned invoice/account prerequisites, mapping loosely to amount, exchangeRate, invoiceId and paymentAccountId, but leaves memo, businessId, paymentDate, paymentMethod enum values, and the nested confirmation fingerprint/expiresAt semantics completely undocumented. With this many required and nested parameters, that is a significant gap.

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 identifies the operation as the internal 'invoicePaymentCreateManual' mutation and states clearly that it only records a manual payment and 'never charges/refunds/reverses processor funds'. This distinguishes it from the sibling wave_update_payment and wave_delete_payment, whose behaviors are explicitly declared out of scope. It loses a point because the plain-language verb+object ('records a manual payment against an invoice') is only implied via jargon rather than stated directly.

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

Usage Guidelines3/5

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

It gives meaningful preconditions ('Requires owned approved invoice and owned active account') and a two-step flow ('preview then single-use explicit confirmation'), which is real usage guidance. However, it never names an alternative tool or an explicit when-not-to-use condition, and it leaves ambiguous whether preview is invoked through this same tool without the confirmation object. Usage is implied rather than fully routed.

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