Skip to main content
Glama

calculate kr family business deduction

calculate_kr_family_business_deduction
Read-onlyIdempotent

South Korea family business inheritance deduction (가업상속공제, 상증법 제18조의2) and inheritance tax with vs without it: cap 30B/40B/60B KRW for 10/20/30+ years of operation, qualifying value = share value × (1 − non-business asset ratio), plus lump-sum 500M, spouse and financial asset deductions and the 3% filing credit. Same formulas as tools.oiyo.net. Does not judge eligibility requirements or post-management; the 2026-08 reform proposal is not applied.

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": {
      "businessValue": "<businessValue>",
      "years": "<years>",
      "size": "<size>"
    },
    "name": "calculate_kr_family_business_deduction"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeYessme, midsize (3-year average revenue under 500B KRW) or ineligible
debtsNoDebts of the deceased, KRW
yearsYesYears the deceased operated the business
hasSpouseNoA surviving spouse inherits
otherEstateNoOther inherited property outside the business, KRW
funeralSpentNoFuneral costs, KRW (5M-10M deduction)
netFinancialNoNet financial assets among the other property, KRW
businessValueYesValue of the family business shares (or sole-proprietor business assets), KRW
spouseInheritedNoAmount the spouse actually inherits, KRW
unrelatedAssetRatioNoNon-business assets ÷ total assets of the company, 0-1 (0 for a sole proprietorship)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, closed-world, non-destructive behavior, so the description correctly spends its words on domain behavior instead. It discloses the cap tiers tied to years of operation, the qualifying-value formula, the additional deductions and the 3% filing credit, plus a versioning caveat on the 2026 reform — meaningful context an agent cannot get from annotations. It does not describe the shape of the returned numbers (with vs. without, deduction amount), which is the remaining gap.

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?

Front-loaded with the domain and statute, then formulas, then exclusions — a logical order with no filler sentences. The prose is dense with numeric thresholds in a single long clause, which is efficient but slightly harder to scan than a short bulleted structure would be.

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 10-parameter, no-output-schema tax calculator, the definition supplies the governing formula, the cap tiers, the deduction stack and version scope — enough to call it correctly. The omission is that with no output schema, the description should say more concretely what the return looks like beyond 'tax with vs without it'.

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 100%, so the baseline is 3, but the description genuinely adds relational meaning: 'years' maps to the 30B/40B/60B tiers at 10/20/30+ years, and unrelatedAssetRatio is explained as the multiplier in 'share value × (1 − non-business asset ratio)' applied to businessValue. That is beyond the per-field schema text, which defines each parameter only in isolation.

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 calculation (South Korea family business inheritance deduction, 상증법 제18조의2) and the exact output framing (inheritance tax with vs. without the deduction). It also stakes out scope boundaries ('does not judge eligibility requirements or post-management'), though it never names calculate_inheritance_gift_tax, the closest sibling doing inheritance tax work, so an agent must infer the split.

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?

It gives clear context for use and two explicit exclusions: eligibility judgment and post-management are out of scope, and the 2026-08 reform proposal is not applied. What is missing is a positive pointer to an alternative tool when the case is a general inheritance/gift calculation rather than a family-business one.

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.