Skip to main content
Glama
merit-aktiva-mcp

merit-aktiva-mcp

by roosa-dev

create_sales_payment

Record a payment against a sales invoice by specifying customer, invoice number, payment date, amount, and bank ID or IBAN, with optional currency code.

Instructions

Record a payment against a sales invoice. Body: CustomerName, InvoiceNo, PaymentDate, Amount, BankId or IBAN; optional CurrencyCode.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_sales_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden, and it discloses only field names. It does not say whether the payment is auto-allocated to the invoice, whether partial payments are allowed, whether the invoice status changes, what permissions are required, or what the response contains. The only behavioral hint is the 'BankId or IBAN' either-or, which is minimal.

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?

One declarative sentence plus a compact field list, front-loaded with the action. Every element earns its place and nothing is repeated from the schema.

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

Completeness3/5

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

For a mutation tool with no annotations, no output schema, and an empty generic input schema, the description covers the essentials for constructing the call but omits return values, side effects on the invoice, and failure modes. Adequate to attempt a call, not adequate to call it with confidence.

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

Parameters4/5

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

The input schema declares no properties (open object with additionalProperties), so the description is the sole source of the required field set: CustomerName, InvoiceNo, PaymentDate, Amount, and BankId-or-IBAN, with CurrencyCode optional. That is substantial added meaning, though types, date format, and currency default remain unspecified.

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?

States a specific verb and resource: 'Record a payment against a sales invoice.' An agent can distinguish this from the sibling create_purchase_payment because the target document type (sales invoice) is explicit. It stops short of naming alternatives or restating scope boundaries, so it is clear rather than exemplary.

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?

Usage is implied by 'against a sales invoice' — the agent can infer an invoice must already exist — but there is no explicit when-to-use, when-not-to-use, or pointer to an alternative such as create_purchase_payment for vendor-side payments. The field list hints at prerequisites without stating any.

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