Skip to main content
Glama
shukiv

blesta-mcp

by shukiv

Record manual payment

record_manual_payment

Record an offline payment and apply it to invoices. Use for bank transfers, cash, or checks; omit invoice assignments to leave unapplied credit.

Instructions

Record an offline payment (bank transfer, cash, check) and apply it to invoices. Wraps Transactions.add then Transactions.apply. Does not charge anything; it only records money already received. Omit apply_to to leave the amount as unapplied credit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYes
messageNoFree-text note stored on the transaction
apply_toNoInvoices to apply the payment to; total must not exceed amount
currencyYes
client_idYes
referenceNoBank reference / check number
date_receivedNoISO 8601 with timezone; default now

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false. The description adds valuable context beyond that: it wraps Transactions.add then Transactions.apply, explicitly states no charge is performed, and explains the optional application behavior. This gives the agent a clear mental model of side effects without contradicting any annotation.

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?

Three sentences with no filler. The main purpose is front-loaded, followed by the key distinction (does not charge) and a critical parameter behavior. Every clause earns its place and the description is easy to parse quickly.

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 moderately complex 7-parameter tool with no output schema and annotations present, the description covers the essential behavior, the internal wrapper, and the optional application logic. It doesn't mention prerequisites (e.g., client must exist, currency validity) or what the response contains, but those are less critical for correct invocation and are partly implied by schema constraints.

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 only 57%, so the description needs to compensate for undocumented parameters. It adds meaningful semantics for apply_to (omission yields unapplied credit) and clarifies the overall purpose of amount and client_id through context. However, it doesn't explicitly detail client_id, amount, or currency beyond what the schema's types imply, leaving some ambiguity for those required fields.

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?

The description uses a specific verb ('record') and resource ('offline payment'), names concrete examples (bank transfer, cash, check), and explicitly states what it does not do ('Does not charge anything'). It distinguishes itself from charging/payment tools like process_payment by emphasizing it only records already received money.

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?

The description clearly frames when to use this tool: for offline payments already received, not for charging. It also provides conditional guidance on apply_to ('Omit apply_to to leave the amount as unapplied credit'). It doesn't explicitly name sibling alternatives or when-not conditions, but the 'does not charge' clause implicitly differentiates it from charging tools.

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