Skip to main content
Glama

Gross-to-net (or net-to-gross) salary in Turkey

vergi_maas
Read-onlyIdempotent

Calculates a Turkish payroll for 12 months: SGK and unemployment contributions, cumulative income-tax base, income and stamp tax with minimum-wage exemptions, and net pay per month plus yearly totals. Give brut for gross→net or net for net→gross.

Endpoint: GET /v1/vergi/maas. Requires a paid plan (free plan returns 403). Costs 2 request units per call. Read-only; JSON in Turkish with source and guncelleme (updated at) fields.

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": "vergi_maas"
  }
}

Input Schema

NameRequiredDescriptionDefault
ayNoFor net → gross: the month (1–12) whose net is targeted, since tax brackets are cumulative (default 1).
netNoDesired monthly net salary in TRY (net → gross); use instead of `brut`.
yilNoTax year (default current year).
brutNoMonthly gross salary in TRY (gross → net).
engelliNoDisability degree 1–3 for the disability tax deduction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / ay / description
      Previous value: -"Netten brüte: hangi ayın neti (kümülatif matrah)"New value: +"For net → gross: the month (1–12) whose net is targeted, since tax brackets are cumulative (default 1)."
    • changedInput schema / properties / brut / description
      Previous value: -"Aylık brüt ücret"New value: +"Monthly gross salary in TRY (gross → net)."
    • changedInput schema / properties / engelli / description
      Previous value: -"Engellilik derecesi (indirim)"New value: +"Disability degree 1–3 for the disability tax deduction."
    • changedInput schema / properties / net / description
      Previous value: -"İstenen aylık net (brüt hesaplanır)"New value: +"Desired monthly net salary in TRY (net → gross); use instead of `brut`."
    • addedInput schema / properties / yil / description
      Added value: +"Tax year (default current year)."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/destructive annotations by disclosing the paid-plan requirement with the specific 403 failure mode, the 2-request-unit cost, and the fact that responses are Turkish-language JSON carrying source and `guncelleme` timestamp fields. These are exactly the operational facts an agent cannot derive from annotations.

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 tight paragraphs: the computational scope and mode selection come first, operational facts second. Every sentence carries either selection or invocation information, with no restatement of the title or filler.

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 5-parameter, zero-required, no-output-schema tool, the definition supplies computation scope, mode selection, access gating, cost and the general shape of the response. The only gap is that it does not say what happens if both `brut` and `net` are supplied simultaneously, which is the one ambiguity an agent could realistically hit.

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; the description adds genuine meaning on top by framing `brut` and `net` as mutually exclusive direction selectors rather than two independent optional fields. It does not elaborate on `ay`, `yil` or `engelli`, but the schema covers those adequately.

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?

States a specific verb and resource (Turkish payroll calculation over 12 months) and enumerates the computed components: SGK and unemployment contributions, cumulative income-tax base, income and stamp tax with minimum-wage exemptions, net pay and yearly totals. It also names the two directional modes, which cleanly separates it from the other hesapla_* calculators in the sibling list.

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 routing rule between the two modes is explicit: give `brut` for gross→net or `net` for net→gross. Access constraints are also given (paid plan required, free plan returns 403) and cost is quantified at 2 request units. There is no explicit statement of when NOT to use it versus alternatives, but the mode split covers the main ambiguity.

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