Skip to main content
Glama

Kalkulator B2B

Leasing czy gotówka

leasing_vs_cash
Read-only

Porównuje leasing operacyjny samochodu osobowego z zakupem za gotówkę dla czynnego podatnika VAT, przez okres umowy: ile zapłacisz brutto, VAT do odliczenia (50% albo 100%), ile jest kosztem, oszczędność PIT i składki zdrowotnej po obu stronach, koszt netto i różnica. Leasing liczy jak leasing_calculate (limit wartości auta według daty każdej raty, odsetki w 75% przy użytku mieszanym); gotówka to amortyzacja 20% rocznie z limitem wartości auta z dnia wprowadzenia do ewidencji (auto sprzed 2026 r. zachowuje dawny limit). Koszt alternatywny gotówki tylko ze stopy podanej w argumencie. Bez wykupu, bez wyceny auta po umowie i bez kosztów eksploatacji (te same w obu wariantach). Każdej wartości (stawki skali, oprocentowania, kategorii auta, stopy) zapytaj — nie zakładaj.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "vehiclePriceNet": "<vehiclePriceNet>",
      "vehicleCategory": "<vehicleCategory>",
      "leasingType": "<leasingType>",
      "durationMonths": "<durationMonths>",
      "downPaymentPercent": "<downPaymentPercent>",
      "buyoutPercent": "<buyoutPercent>",
      "usage": "<usage>",
      "vatPayer": "<vatPayer>",
      "taxForm": "<taxForm>",
      "year": "<year>",
      "month": "<month>"
    },
    "name": "leasing_vs_cash"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesRok zakupu auta za gotówkę i zawarcia umowy leasingu (ten sam moment w obu wariantach). Decyduje o stawkach PIT i VAT, a przy zakupie także o limicie amortyzacji: auto wprowadzone do ewidencji przed 2026 r. zachowuje limit 150 000 zł, od 2026 r. limit zależy od emisji CO2. W leasingu limit idzie za datą każdej raty
monthYesMiesiąc zakupu i zawarcia umowy 1-12 — w tym miesiącu auto wchodzi do ewidencji środków trwałych
usageYesMIESZANY = także prywatnie (VAT od raty 50%), TYLKO_FIRMOWY = wyłącznie w firmie (VAT 100%, wymaga ewidencji przebiegu i VAT-26)
wiborNoOprocentowanie zmienne: WIBOR z datą notowania i marża. Podaj to ALBO interestRatePercent, nie oba
taxFormYesLINIOWY, SKALA (wymaga scaleMarginalRate) albo RYCZALT (rata nie jest tam kosztem)
vatPayerYesCzy firma jest czynnym podatnikiem VAT. Narzędzie liczy wyłącznie dla czynnego (true)
leasingTypeYesRodzaj leasingu. Narzędzie liczy wyłącznie OPERACYJNY — FINANSOWY odrzuca
buyoutPercentYesWartość wykupu w procentach ceny netto, z oferty
durationMonthsYesOkres umowy w miesiącach (co najmniej 24 — minimum leasingu operacyjnego nowego auta). Silnik liczy N−1 rat i wykup jako N-tą płatność
vehicleCategoryYesKategoria auta dla limitu wartości w kosztach (emisja CO2 z dowodu rejestracyjnego, pole V.7): ELEKTRYCZNY = elektryczny albo wodorowy, EMISJA_PONIZEJ_50 = poniżej 50 g/km (zwykle hybryda plug-in), EMISJA_OD_50 = 50 g/km i więcej (benzyna, diesel, LPG, zwykła hybryda). Zapytaj, nie zgaduj
vehiclePriceNetYesCena samochodu osobowego NETTO (PLN, bez VAT), z oferty
scaleMarginalRateNoTylko SKALA: stawka PIT, w której jest dochód firmy (12 albo 32). WYMAGANA dla SKALA — narzędzie jej nie zgaduje
downPaymentPercentYesOpłata wstępna w procentach ceny netto, z oferty (0 = bez opłaty)
interestRatePercentNoOprocentowanie nominalne roczne w procentach (stałe, z oferty). Podaj to ALBO wibor, nie oba
alternativeReturnPercentNoRoczna stopa zwrotu z inwestycji, w którą włożyłbyś gotówkę zamiast kupić auto (%, np. oprocentowanie lokaty albo obligacji). Tylko gdy ją podasz, liczę koszt alternatywny gotówki — narzędzie jej nie zakłada

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already establish a safe read-only, closed-world calculation, yet the description adds substantive behavioral detail: the leasing leg mirrors leasing_calculate with the value limit tracking each instalment date and 75% of interest deductible under mixed use; the cash leg uses 20% annual depreciation with the limit fixed at the entry date, where a car entered before 2026 keeps the old limit. It states what is deliberately out of scope and forbids silent assumptions. That is well beyond what the annotations convey.

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?

The purpose, scope limits and calculation assumptions are front-loaded in one dense paragraph, and every sentence carries information rather than filler. It is long and parenthetical-heavy, which is defensible for a 15-parameter tool, but the block structure could be broken up for faster scanning.

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 complex financial calculator with no output schema, the description does the necessary work: it names the comparison and enumerates the returned figures, states the modelling assumptions for both legs and declares the three explicit non-goals. What is missing is any indication of output form (units, rounding, single object vs. per-period breakdown), which matters for a tool returning a multi-part cost comparison.

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?

Schema description coverage is 100%, so the schema already carries most parameter meaning and 3 would be the baseline. The description still adds interpretive value: it ties the usage argument to the 50%/100% VAT split and 75% interest deduction, explains that the value limit follows each instalment date for leasing versus the entry date for cash, and clarifies that the alternative cost is only computed when the rate argument is supplied. It does not, however, walk through the remaining parameters (e.g. wibor vs. interestRatePercent exclusivity is left to the schema).

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 opening sentence names a specific comparison (operating leasing vs. cash purchase of a passenger car, for an active VAT payer, over the contract term) and enumerates the outputs: gross paid, deductible VAT (50%/100%), tax-deductible cost, PIT and health-contribution savings on both sides, net cost and the difference. It is clearly distinguishable from the sibling leasing_calculate, which it explicitly names as the calculation engine for the leasing leg.

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 gives concrete scope exclusions (no buyout, no post-contract car valuation, no running costs because they are identical in both variants) and the rule that the alternative cost of cash is computed only from the rate supplied in the argument. It also instructs the agent to ask the user for every rate/percentage/category rather than assuming. What it does not do is give explicit routing guidance (e.g. 'use leasing_calculate if you only need the lease schedule'), so it stops short of full when-to-use/when-not coverage.

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