Skip to main content
Glama
stornoro

Storno CLI

by stornoro

payments_create

Record an invoice payment to update the paid amount and balance, automatically setting the invoice status to partially paid or paid. Supports partial payments with method, reference, and notes.

Instructions

Record a payment received for an invoice. Updates the invoice amountPaid and balance, and automatically changes invoice status to "partially_paid" or "paid" as appropriate. Supports partial payments with full details (method, reference, notes).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNoAdditional notes about this payment
amountYesPayment amount (must be greater than 0)
currencyNoCurrency code (ISO 4217). Defaults to invoice currency. Include if payment is in a different currency.
companyIdNoCompany UUID override (uses active company if not set)
invoiceIdYesInvoice UUID to record payment for
referenceNoPayment reference number (e.g., bank transfer reference, receipt number)
paymentDateYesDate payment was received in ISO 8601 format (YYYY-MM-DD)
paymentMethodNoPayment method: bank_transfer (default), cash, card, cheque, or other
Behavior4/5

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

No annotations provided, so the description carries full burden. It discloses important behaviors: it mutates the invoice (amountPaid, balance), auto-transitions status, supports partial payments. This is good coverage for a create-type tool. Could add error conditions (overpayment) or reversibility, but the core side effects are well disclosed.

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?

Three sentences, each carrying real information: purpose, side effects, capability. No filler or redundant restating of the schema. Efficient and front-loaded with the verb and object.

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 create tool with 8 params fully described in schema and no output schema, the description covers purpose, mutation effects, and the partial-payment capability. It could mention what happens on overpayment or partial-vs-full distinction more explicitly, but overall it is reasonably complete for the stated complexity.

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 all 8 parameters are individually documented in the schema. The description adds context about partial-payment support and that paymentMethod defaults to bank_transfer, partially echoing the schema. Baseline 3 is appropriate since the schema does the heavy lifting and the description doesn't add much beyond it.

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?

Description clearly states the tool records a payment received for an invoice, and goes further to explain side effects: updates amountPaid and balance, and changes invoice status to partially_paid or paid. Distinguishes from siblings like payments_delete and invoices_bulk_mark_paid.

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?

Describes when to use (recording payments on invoices) and the behavior around partial payments and status transitions. Does not mention alternatives like invoices_bulk_mark_paid or payments_delete in explicit comparison terms, but the create-scoped context is fairly clear given the rich payment domain.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stornoro/storno-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server