Skip to main content
Glama

Kras-Trans: CMR, WZ and interest note generator

Create a late-payment interest note (Poland)

create_interest_note

Calculates Polish late-payment interest for overdue invoices (statutory rate under art. 481 of the Civil Code by default; commercial-transactions rate or a custom rate on request), creates an interest note (nota odsetkowa) on kras-trans.eu and returns a short link to review and download the PDF together with the calculation, exact to the grosz. Statutory rates come from the current National Bank of Poland reference rate. Unpaid invoices: interest is counted up to today.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
placeNoPlace of issue (city)
debtorYesDebtor — who paid late
creditorYesCreditor — who issues the note and receives the interest
currencyNoISO 4217 code of the amounts, default PLN
invoicesYesInvoices or other amounts paid late / still unpaid
rate_typeNostatutory = Polish statutory late-payment interest (art. 481 Civil Code, default); commercial = rate for transactions between businesses; custom = contractual rate given in annual_rate_percent
issue_dateNoYYYY-MM-DD, default today
note_numberNoNumber of the note, e.g. NO/1/09/2026
bank_accountNoIBAN for the payment of the note
payment_daysNoDays to pay the note, default 14
annual_rate_percentNoAnnual rate in percent when rate_type is custom, e.g. 12.5

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With annotations providing no safety hints, the description carries the burden and does disclose key behaviors: it creates an external document, uses statutory/commercial/custom rates, counts interest to today for unpaid invoices, and is exact to the grosz. It doesn't mention authentication or legal-effect caveats, but the core behavioral profile is transparent.

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 action and output are front-loaded. Each sentence adds necessary context: calculation logic, rate sources, and behavior for unpaid invoices.

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?

The description sufficiently explains the tool's output and rate behavior, which is important because there is no output schema. It doesn't spell out required creditor/debtor/invoices fields, but the rich input schema covers that, and the brief output description is adequate for a no-output-schema tool.

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 100%, so the input schema already explains all 11 parameters. The description adds useful context around custom rates and unpaid-invoice interest counting, but it doesn't need to compensate for missing parameter documentation.

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 states a specific verb+resource: it calculates Polish late-payment interest, creates an interest note (nota odsetkowa), and returns a short link to the PDF. This clearly distinguishes it from the sibling calculate_late_payment_interest by emphasizing document creation and delivery.

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?

The description implies usage for overdue Polish invoices and mentions rate options, but it never explicitly tells an agent when to choose this tool over calculate_late_payment_interest or when not to use it. The boundary between 'just calculate' and 'calculate and create a note' is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources