Skip to main content
Glama
penmadebykisss

ru-payroll-mcp

Зарплата на руки и стоимость сотрудника

salary_calc
Read-onlyIdempotent

Calculates monthly Russian payroll from gross salary for a year: progressive 13-22% income tax, take-home pay, employer contributions, and total employee cost, with optional one-time bonus.

Instructions

Считает по окладу (зарплате до вычета налога) помесячно за год: НДФЛ по прогрессивной шкале 13–22 % нарастающим итогом, сумму на руки, страховые взносы работодателя и полную стоимость сотрудника; можно добавить разовую премию в конкретный месяц. Возвращает first_month (на руки в первом месяце), rows по месяцам (видно, когда растёт ставка НДФЛ и когда взносы падают после предельной базы) и totals за год. Обратная задача — salary_from_net. Вычеты на детей не учитываются. Только вычисление, без сети.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNoРасчётный год: 2025 или 2026 (по умолчанию текущий)
bonusNoРазовая премия, ₽
grossYesНачисленная зарплата в месяц до НДФЛ, ₽ (оклад плюс постоянные надбавки)
monthsNoСколько месяцев считать с января
tariffNoТариф взносов: standard — общий (30 % до предельной базы, 15,1 % сверх); msp — МСП из перечня отраслей Правительства (15 % с части свыше 1,5 МРОТ); msp_manufacturing — МСП обрабатывающих производств (7,6 % свыше 1,5 МРОТ); it — аккредитованные IT-компании (7,6 %)standard
bonus_monthNoМесяц выплаты премии 1–12 (по умолчанию декабрь)
accident_pctNoТариф взносов на травматизм, % (0,2 для офисной работы; зависит от класса риска)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds useful behavior beyond that: it explains the returned fields first_month, rows, totals, notes when NDFL brackets rise and when contribution caps apply, and states the child-deduction limitation. It does not cover error handling or rounding behavior, so it is strong but not exhaustive.

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?

The description is front-loaded with the calculation, then moves to return shape, inverse sibling, limitation, and network constraint. Every sentence adds useful selection or invocation context, and there is no filler or repetition.

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

Completeness5/5

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

For a seven-parameter calculator with no output schema, the description is complete enough: the schema covers parameter semantics, while the description covers the calculation behavior, return fields, inverse sibling, and key limitation. Annotations already cover the safety profile, so the remaining description burden is appropriately met.

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 description coverage is 100%, so the schema already documents all seven parameters in detail, including tariff and accident_pct. The description mentions gross, bonus, and bonus timing at a high level, but it does not add syntax or format meaning beyond the schema's own parameter descriptions. Baseline 3 is appropriate when the schema does the heavy lifting.

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 and resource: it calculates net salary and employer cost from a gross monthly salary across a year, with progressive NDFL and contribution details. It explicitly distinguishes itself from the inverse sibling by naming salary_from_net as the reverse task, so an agent can tell the two apart without opening schemas.

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 names the inverse alternative explicitly: 'Обратная задача — salary_from_net', and it states an exclusion ('Вычеты на детей не учитываются') plus the constraint that it is pure calculation with no network. This gives clear routing context for gross-to-net employee-cost calculations.

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