Skip to main content
Glama
merit-aktiva-mcp

merit-aktiva-mcp

by roosa-dev

create_purchase_payment

Record a payment against a purchase invoice by submitting vendor, bill number, payment date, amount, and bank account or IBAN; include an optional currency code.

Instructions

Record a payment for a purchase invoice. Body: VendorName, BillNo, PaymentDate (YYYYmmddHHii), 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_purchase_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 are supplied, so the description carries the full behavioral burden, and it discloses almost nothing beyond the payload shape: it does not say whether the call posts to the ledger irreversibly, whether duplicate payments are rejected, what permissions or open accounting periods are required, or what is returned. For an unannotated financial mutation this is a significant gap, though the field list and date format do give some operational context.

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?

Two sentences, front-loaded with the purpose followed by the payload contract, with no filler. Every token (field names, date format, optionality marker) carries information an agent needs to construct the call.

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 write tool with no annotations, no output schema, and a free-form request body, the description covers fields and formats but omits required-versus-optional semantics, the effect on the referenced invoice, duplicate/idempotency behavior, and the response shape. It is enough to attempt a call but not enough to call it safely 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 is an open object with additionalProperties=true and only points back to the description, so the description is effectively the only field documentation. It names all body fields, gives the PaymentDate format (YYYYmmddHHii), flags CurrencyCode as optional, and presents BankId and IBAN as alternatives — but it does not state which fields are mandatory or whether BankId/IBAN is required versus optional.

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 states a specific verb and resource ('Record a payment') scoped to 'a purchase invoice', which implicitly separates it from the sibling create_sales_payment (sales invoices) and create_purchase_invoice (invoices, not payments). It stops short of explicitly naming any alternative, so the differentiation is inferred from the resource noun rather than spelled out.

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?

Use is implied by the phrase 'payment for a purchase invoice', but there is no explicit when-to-use/when-not guidance, no mention of the sales-side sibling, and no prerequisites such as an existing posted invoice or required permissions. An agent must infer that this records settlement against an already-created purchase invoice.

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