Skip to main content
Glama

Severance pay (kıdem tazminatı) calculator

hesapla_kidem
Read-onlyIdempotent

Calculates Turkish severance pay: service length, legal ceiling for the exit date, gross amount, stamp tax and net amount. At least one year of service is required.

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

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": {
      "brut": "<brut>",
      "giris": "<giris>",
      "cikis": "<cikis>"
    },
    "name": "hesapla_kidem"
  }
}

Input Schema

NameRequiredDescriptionDefault
brutYesLast monthly gross salary in TRY.
cikisYesEmployment end date, YYYY-MM-DD.
girisYesEmployment start date, YYYY-MM-DD.
ek_odemeNoRegular monthly extras added to the base (meal, transport, yearly bonus / 12), TRY. Default 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / brut / description
      Previous value: -"Son aylık brüt ücret"New value: +"Last monthly gross salary in TRY."
    • addedInput schema / properties / cikis / description
      Added value: +"Employment end date, YYYY-MM-DD."
    • changedInput schema / properties / ek_odeme / description
      Previous value: -"Aylık düzenli ek ödemeler (yol, yemek, ikramiye/12…)"New value: +"Regular monthly extras added to the base (meal, transport, yearly bonus / 12), TRY. Default 0."
    • addedInput schema / properties / giris / description
      Added value: +"Employment start date, YYYY-MM-DD."
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint, destructiveHint=false), the description adds substantive operational context the agent could not otherwise know: the paid-plan gate returning 403, a per-call cost of 1 request unit, and the fact that the response is Turkish-language JSON carrying source and guncelleme metadata. These are exactly the side-channel facts that affect whether and how an agent should invoke the tool.

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?

Purpose and output fields come first, with the operational constraints (endpoint, plan, cost, response format) compactly packed into the second paragraph. 'Read-only' slightly duplicates the readOnlyHint annotation, and the endpoint string is of marginal use to a tool-calling agent, but no sentence is wasteful.

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 4-parameter calculator with no output schema, the definition covers purpose, eligibility, access tier, cost and the general shape of the response, which is close to sufficient. It stops short of describing the response structure in detail (field names beyond source/guncelleme) or any error other than the 403 case.

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 each of brut, giris, cikis and ek_odeme is already documented with type, format, bounds and meaning. The description adds only indirect mapping ('service length' implies giris/cikis, 'legal ceiling' implies brut) and says nothing about ek_odeme or how extras interact with the ceiling, so the baseline of 3 applies.

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 names a specific verb and resource ('Calculates Turkish severance pay') and enumerates exactly what the computation produces: service length, legal ceiling for the exit date, gross amount, stamp tax and net amount. That output enumeration also separates it cleanly from siblings like hesapla_kredi, hesapla_mevduat and vergi_maas, which compute different financial quantities.

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?

'At least one year of service is required' is an explicit eligibility precondition, and the paid-plan-plus-cost sentence tells the agent when the call will fail (403 on free plan). What is missing is any explicit routing versus alternative tools — e.g., whether salary/net-pay questions belong in vergi_maas rather than here — so the agent must infer sibling choice from names alone.

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