Skip to main content
Glama

Kalkulator B2B

JDG — miesiąc

b2b_monthly
Read-only

Pełne rozliczenie miesiąca na działalności: PIT, ZUS społeczny, składka zdrowotna, VAT i danina solidarnościowa. Obsługuje kilka źródeł przychodu (także walutowych), koszty pozycja po pozycji, IP Box, wspólne rozliczenie z małżonkiem, ulgę na powrót, odkładanie na urlop i odliczenie straty z lat ubiegłych. Miesiąc liczony tak, jakby był jedynym w roku: bez dochodu wcześniejszych miesięcy, na skali z 1/12 kwoty zmniejszającej i progiem 32% wobec dochodu tego jednego miesiąca. Zaliczki narastająco i próg skali w roku liczy b2b_year. Przy zusVariant BRAK (ulga na start) narzędzie liczy etap miesiąca działalności: 1–6 bez ZUS społecznego, potem Mały ZUS — te same etapy co w b2b_year. Miesiące działalności liczy od zusStart (pierwszego pełnego miesiąca ulgi: miesiąc założenia, gdy firma powstała 1. dnia miesiąca, inaczej następny; miesiąc tuż przed nim to miesiąc założenia firmy założonej w trakcie miesiąca, też bez ZUS społecznego); bez zusStart podany miesiąc jest zarazem miesiącem działalności (firma od stycznia) i wynik to mówi. Gdy firma po uldze płaci pełny ZUS, policz z DUZY_ZUS. Gdy nie wiesz, od kiedy firma działa, zapytaj o datę założenia i policz ten miesiąc z zusStart; gdy nie wiesz, co płaci po uldze albo czy płaci dobrowolną chorobową — też zapytaj. Cały rok z etapami ZUS liczy b2b_year z zusStart, gdy ulga trwała już w styczniu tego roku.

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": {
      "taxForm": "<taxForm>",
      "zusVariant": "<zusVariant>",
      "year": "<year>",
      "month": "<month>"
    },
    "name": "b2b_monthly"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesRok podatkowy — decyduje o stałych (progi, ZUS, płaca minimalna)
ipboxNoIP Box — 5% od kwalifikowanego dochodu
monthYesMiesiąc 1-12
taxFormYesLINIOWY = 19%, SKALA = 12/32%, RYCZALT = od przychodu
sicknessNoDobrowolna składka chorobowa
zusStartNoOd kiedy trwa wybrany wariant ZUS: przy BRAK (ulga na start) — pierwszy miesiąc działalności liczony do ulgi (miesiąc założenia, gdy firma powstała 1. dnia miesiąca, inaczej następny), przy PREFERENCYJNY — pierwszy miesiąc Małego ZUS-u (Mały ZUS zaraz po uldze na start: zusVariant BRAK z pierwszym pełnym miesiącem ulgi). Etap biegnie od niego dalej. Nie później niż liczony miesiąc — przy BRAK najwyżej miesiąc po nim: miesiąc tuż przed zusStart to miesiąc założenia w trakcie miesiąca, objęty ulgą od dnia założenia. Bez tego pola przy BRAK narzędzie liczy miesiąc jako miesiąc działalności firmy założonej w styczniu tego roku i pisze to w wyniku, a przy PREFERENCYJNY — jako Mały ZUS. Przy DUZY_ZUS i UOP bez znaczenia
isVatPayerNofalse = zwolniony z VAT
zusVariantYesBRAK = ulga na start (6 miesięcy bez społecznych, potem Mały ZUS — etap liczy narzędzie), PREFERENCYJNY = mały ZUS (30% podstawy), DUZY_ZUS = pełny, UOP = etat obok działalności (społeczne po stronie pracodawcy)
costEntriesNoKoszty pozycja po pozycji — zastępuje monthlyCosts
ryczaltRateNoStawka ryczałtu w procentach. WYMAGANA dla RYCZALT — silnik jej nie zgaduje
monthlyCostsNoKoszty BRUTTO miesięcznie (z VAT)
vacationDaysNoDni urlopu do odłożenia
incomeStreamsNoKilka źródeł przychodu naraz — zastępuje monthlyRevenue
lossDeductionNoStrata z lat ubiegłych odliczana w tym miesiącu
monthlyRevenueNoPrzychód netto miesięcznie (PLN)
ipboxIncomePartNoProcent dochodu (0–100) objęty IP Box — opodatkowany stawką 5%
partnerTaxationNoWspólne rozliczenie z małżonkiem (tylko skala)
saveForVacationNoOdkładanie na urlop
returningToPolandNoUlga na powrót
partnerAnnualIncomeNoRoczny dochód małżonka
ryczaltAnnualRevenueNoRzeczywisty roczny przychód — decyduje o progu składki zdrowotnej przy ryczałcie

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnly, non-destructive), it discloses the substantive computational model: the month is treated as if it were the only month of the year, with 1/12 of the reducing amount and the 32% threshold applied to that month's income alone. It also explains the ZUS stage progression for BRAK (months 1–6 without social contributions, then Mały ZUS) and notes that the result states the assumptions made when zusStart is absent.

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?

It is heavily front-loaded — the outputs come first, then the counting model, then the sibling routing — and nearly every clause carries decision-relevant information. It is dense and the deeply nested parenthetical around zusStart and the founding-month edge case repeats material already in the schema, costing some readability.

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 21-parameter calculator with nested objects and no output schema, the description covers the assumptions that most affect correctness (month isolation, ZUS stage counting, IP Box, partner taxation, loss deduction) and tells the agent when to ask the user rather than guess. What it does not do is describe the shape of the returned settlement, which matters somewhat given there is no output schema.

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 coverage is already 100%, so the baseline is 3, but the description adds cross-parameter behavior the schema cannot: how zusVariant=BRAK drives month-of-activity counting from zusStart, what happens if zusStart is omitted, and the rule that the month just before zusStart is the founding month for mid-month incorporations. It largely restates the schema's zusStart wording, which caps it below a 5.

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 the specific resource and the full set of computed outputs (PIT, ZUS społeczny, składka zdrowotna, VAT, danina solidarnościowa) for a monthly sole-proprietorship settlement. It proactively separates itself from the sibling that could be confused with it: 'Zaliczki narastająco i próg skali w roku liczy b2b_year.'

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit routing rules: use DUZY_ZUS when the company pays full ZUS after the relief, use b2b_year when the whole year with ZUS stages is needed, and ask the user for the founding date or contribution type when unknown. Both the when-to-use and the when-to-ask cases are stated rather than 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