Skip to main content
Glama

Estimate Korea midyear leaver settlement

estimate_kr_midyear_leaver_settlement
Read-onlyIdempotent

South Korea year-end settlement for someone who left a job mid-2026 and was not re-employed that year: compares the employer's settlement in the leaving month (self only, social insurance, standard credit) with the May 2027 income tax filing that adds dependants, card spending, medical, education, donation, rent and pension savings. Returns both refunds (incl. local tax), the extra refund from filing, the items that made the difference and the filing deadline. Estimate only.

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": {
      "salaryToDate": "<salaryToDate>",
      "withheld": "<withheld>"
    },
    "name": "estimate_kr_midyear_leaver_settlement"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
withheldYesIncome tax already withheld (national, excluding local tax)
salaryToDateYesTotal taxable pay from January to the leaving month (KRW)
nationalPensionNoNational pension paid (employee share)
healthEmploymentNoHealth, long-term care and employment insurance paid (employee share)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish the safe read-only, idempotent, closed-world profile, and the description adds real substance on top: it says the tool compares the leaving-month employer settlement (self only, social insurance, standard credit) against the May 2027 filing with itemized credits, and what the response contains. The 'Estimate only' disclaimer usefully sets expectations about accuracy, though it does not say how the two figures are reconciled when inputs are partial.

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?

Two sentences, front-loaded with the scenario before the mechanics and the return contents. Dense but every clause carries information; the parenthetical '(self only, social insurance, standard credit)' is slightly compressed but not padding.

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 five-parameter tool with a nested object and no output schema, the description covers scenario gating, what is being compared, the four categories of returned values including the local-tax caveat, and the estimate caveat. An agent has enough to decide whether to call it and what to expect back.

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 80%, so the schema already explains salaryToDate, withheld, and the nested credit fields, making 3 the baseline. The description's enumeration of credit categories (dependants, card, medical, education, donation, rent, pension savings) loosely maps to the nested 'extra' object, but it adds no format, unit, or interaction guidance beyond what the schema provides.

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?

Names a specific verb and resource (year-end settlement estimate) plus the exact scenario it covers: a South Korea taxpayer who left a job mid-2026 and was not re-employed that year. That scenario scoping is what separates it from the general year-end settlement sibling, so an agent can pick it without inspecting either schema.

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 when-to-use condition is stated concretely (mid-year departure in 2026, no re-employment that year), which is the decisive gating fact. It does not explicitly name the alternative for people still employed at year-end or state what to do if the leaver was re-employed, so the exclusion side is inferred rather than declared.

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.