Skip to main content
Glama

İşten ayrılma alacakları

isten_ayrilma_alacaklari_hesapla
Read-onlyIdempotent

İşten ayrılırken alınacakları fesih türüne göre tek seferde hesaplar: kıdem, ihbar, kullanılmayan izin, ödenmemiş fazla mesai (hak, brüt, net) ve işsizlik ödeneği uygunluğu.

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": {
      "iseGiris": "<iseGiris>",
      "brutMaas": "<brutMaas>"
    },
    "name": "isten_ayrilma_alacaklari_hesapla"
  }
}

Input Schema

NameRequiredDescriptionDefault
brutMaasYesSon aylık çıplak brüt maaş (TL).
iseGirisYesİşe giriş tarihi.
primGunuNoSon 3 yıldaki işsizlik sigortası prim günü. Varsayılan 900.
fesihTuruNoVarsayılan isveren-ihbarli. isci-hakli-24: işçinin haklı feshi (istifa değil); isveren-25-1-3: sağlık ya da zorlayıcı sebep; isveren-25-2: ahlak ve iyiniyete aykırılık; ikale: karşılıklı anlaşma; evlilik: kadın işçi, 1 yıl içinde.
istenCikisNoBoşsa bugün.
kullanilmayanIzinGunNoKullanılmayan izin (iş günü). Varsayılan 0.
odenmemisFazlaMesaiSaatNoVarsayılan 0.
ihbarSuresiKullandirildiNoİhbar süresi çalışılarak kullandırıldı mı. Varsayılan false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / fesihTuru / description
      Previous value: -"Fesih türü: isveren-ihbarli = İşveren, ihbar (bildirim) önellerine uyarak feshetti; isci-hakli-24 = İŞÇİ haklı nedenle derhal feshetti (istifa değil); isveren-25-1-3 = İşveren, sağlık sebepleri (25/I) veya zorlayıcı sebeplerle (25/III) feshetti; belirli-sure-bitti = Belirli süreli sözleşme, süresinin dolmasıyla sona erdi; isyeri-kapandi = İşyeri kapandı, el değiştirdi veya niteliği değişti; ozellestirme = Özelleştirme nedeniyle işsiz kalındı; isveren-25-2 = İşveren, ahlak ve iyiniyet kurallarına aykırılık nedeniyle çıkardı (md. 25/II); istifa = İstifa (haklı bir nedene dayanmayan); ikale = İkale (karşılıklı anlaşma ile sona erme); askerlik = Muvazzaf askerlik nedeniyle ayrılma; evlilik = Kadın işçinin evlilik nedeniyle ayrılması (1 yıl içinde); olum = İşçinin ölümü; emeklilik = Emeklilik (yaşlılık aylığı bağlanması) nedeniyle ayrılma. Varsayılan isveren-ihbarli."New value: +"Varsayılan isveren-ihbarli. isci-hakli-24: işçinin haklı feshi (istifa değil); isveren-25-1-3: sağlık ya da zorlayıcı sebep; isveren-25-2: ahlak ve iyiniyete aykırılık; ikale: karşılıklı anlaşma; evlilik: kadın işçi, 1 yıl içinde."
    • changedInput schema / properties / ihbarSuresiKullandirildi / description
      Previous value: -"İşveren ihbar süresini çalıştırarak kullandırdı mı? Varsayılan false."New value: +"İhbar süresi çalışılarak kullandırıldı mı. Varsayılan false."
    • changedInput schema / properties / iseGiris / description
      Previous value: -"İşe giriş tarihi, YYYY-AA-GG."New value: +"İşe giriş tarihi."
    • changedInput schema / properties / istenCikis / description
      Previous value: -"İşten çıkış tarihi, YYYY-AA-GG. Boşsa bugün."New value: +"Boşsa bugün."
    • changedInput schema / properties / kullanilmayanIzinGun / description
      Previous value: -"Kullanılmayan yıllık izin, iş günü. Varsayılan 0."New value: +"Kullanılmayan izin (iş günü). Varsayılan 0."
    • changedInput schema / properties / odenmemisFazlaMesaiSaat / description
      Previous value: -"Ödenmemiş fazla mesai saati. Varsayılan 0."New value: +"Varsayılan 0."
    • changedInput schema / properties / primGunu / description
      Previous value: -"Son 3 yıldaki işsizlik sigortası prim günü (işsizlik ödeneği uygunluğu için). Varsayılan 900."New value: +"Son 3 yıldaki işsizlik sigortası prim günü. Varsayılan 900."
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine value by stating the computed output components and that işsizlik ödeneği is an eligibility check rather than a payment, but it says nothing about how defaults (primGunu 900, fesihTuru isveren-ihbarli, bugün for çıkış) are applied or about rounding/limits in the result.

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?

A single front-loaded sentence with the verb first and the output list immediately after; no filler. It is dense but every clause names a distinct computed component, so nothing is wasted.

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?

With 8 parameters, no output schema, and a complex domain, the description compensates by enumerating the returned components, which is the main thing an agent needs. The residual gap is that no prerequisites or assumptions (e.g., what primGunu affects, or that işsizlik is eligibility-only) are stated beyond the schema text.

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%, including enum semantics for all 13 fesih türü values and defaults for optional parameters, so the schema does the heavy lifting. The description only adds the framing that inputs are interpreted per fesih türü, which is a marginal addition beyond the structured fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (hesaplar) and a composite resource, and enumerates exactly which receivables are produced: kıdem, ihbar, kullanılmayan izin, fazla mesai (hak/brüt/net) and işsizlik ödeneği uygunluğu. That enumeration distinguishes it from single-purpose siblings like kidem_ihbar_tazminati_hesapla and issizlik_maasi_hesapla, though it never names them explicitly.

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

Usage Guidelines3/5

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

The phrase 'fesih türüne göre tek seferde' implies this is the all-in-one calculation to use at termination, and 'işsizlik ödeneği uygunluğu' signals it also covers eligibility. But there is no explicit when-to-use/when-not statement and no routing to the narrower sibling calculators for a single component.

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