Skip to main content
Glama
korean-tax-calc-mcp

korean-tax-calc-mcp

nonresident_withholding

Read-onlyIdempotent

Calculate Korean withholding tax for nonresidents and foreign corporations on Korean-source income, including net-of-tax gross-up and local income tax on payments agreed net.

Instructions

Nonresident withholding tax on Korean-source income of nonresidents and foreign corporations, with net-of-tax gross-up; amounts only, so check characterization and treaty eligibility first with korean-tax-mcp royalty_withholding_guide, treaty_withholding_rates and tax_treaty (비거주자 원천징수). 비거주자·외국법인 국내원천소득 원천징수(소득세법 제156조 / 법인세법 제98조). 요건·소득구분·조약 적용 판단은 korean-tax-mcp royalty_withholding_guide(사용료)·treaty_withholding_rates·tax_treaty로 먼저 확인 — 이 도구는 주어진 세율·사실로 금액만 계산. 언제: 비거주자·외국법인에 이자·배당·사용료·인적용역·기타 소득을 지급할 때 원천징수세액을 구할 때, 세금 공제 후 금액을 지급하는 순액 약정의 과세표준을 역산할 때. 입력: 소득 종류(이자·배당·사용료·인적용역·기타) → income_kind, 지급액(원) → amount, 수취인 구분(개인/법인) → recipient_type, 거주지국(ISO 2자 또는 국명) → residence_country, 조세조약 제한세율(소수) → treaty_rate, 채권 이자 여부 → bond_interest, 국외지배주주 가능성 → related_party, 조약 대상조세의 지방소득세 포함 여부 → treaty_includes_local_tax, 인적용역 제공 장소 → service_location, 지급 연도 → year, 순액 약정 여부 → net_of_tax, 지방소득세까지 지급자 부담 → payer_bears_local_tax, 조약 대상조세 조문 번호 → treaty_covered_taxes_article. 순액 약정: net_of_tax=true면 과세표준 = 약정 순액 ÷ (1 − 원천징수세율)(법인세법 기본통칙 98-0…2). 예: 순액 1억 원·15% → 과세표준 117,647,058원. payer_bears_local_tax=true면 세율에 지방소득세분을 더함(15% → 16.5%, 과세표준 119,760,479원 — 유추). 과세표준은 원 미만 버림, 세액은 마지막에만 절사. 쟁점: 첫 줄은 조문 MCP 안내, 이어서 금액을 바꾸는 사실을 한 줄씩(사용료: 국내 미등록 특허, 소득 구분·세율, 조약 적용 절차, 납부·신고 기한, 정상가격, 다른 세목, 순액 약정). treaty_rate가 없으면 국내세율로 계산하고 제한세율 상한은 korean-tax-mcp treaty_withholding_rates로 확인하라고 안내. 연도: 국내세율(20%, 채권이자 14%)은 2016~2026 같음. 근거 호는 2018.12.31. 개정(2019.1.1. 시행)으로 바뀜 — 2018년까지 제1항제3호(이자·배당·사용료·기타)·제2호(인적용역), 2019년부터 제1호·제2호·제6호·제4호·제8호. 결과: 원천징수세액·지방소득세·적용 세율·국내세율, 근거(개인 소득세법 제156조 / 법인 법인세법 제98조). 적용세율 = min(국내세율, 조약 제한세율), 지방소득세는 원천징수세액의 10% 별도. 수취인_송금액 = 수취인 부담이면 지급액 − 합계, 순액 약정이면 약정 순액(지방소득세를 수취인이 부담하면 약정 순액 − 지방소득세). 순액 약정에서 과세표준 − 합계는 끝수(과세표준 원 미만·세액 10원 미만 버림) 때문에 약정 순액과 몇 원 다름 — 그 차이는 끝수_차이·끝수_설명에 따로 내며, 송금액으로 쓰는 값은 수취인_송금액. 인적용역 service_location='국외' → 국내원천소득 아님(소득세법 제119조6호·법인세법 제93조6호), 적용세율 0. 인적용역 service_location='국내' → 현행 20%. None이면 현행(20%+쟁점 표시). service_location은 인적용역 소득에서만 의미, 그 외 소득에는 무시. Non-resident/foreign corporation withholding tax on Korean-source income.

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": {
      "income_kind": "<income_kind>",
      "amount": "<amount>",
      "recipient_type": "<recipient_type>",
      "residence_country": "<residence_country>"
    },
    "name": "nonresident_withholding"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNo지급 연도(2016~2026) — 세율은 같고 근거 조문의 호만 달라짐: 2018년까지 이자·배당·사용료·기타는 제1항제3호, 인적용역은 제2호. 생략하면 현행 호
amountYes금액(원)
net_of_taxNo순액(세금부담) 약정 — true면 amount를 '국내 세법에 의한 제세를 공제한 금액'으로 약정한 순액으로 보고 과세표준 = 약정액 ÷ (1 − 원천징수세율)로 역산(법인세법 기본통칙 98-0…2)
income_kindYes소득 종류(비거주자·외국법인 국내원천) — 이자·배당·사용료·인적용역·기타
treaty_rateNo조세조약 제한세율(소수, 예: 0.15 = 15%) — korean-tax-mcp treaty_withholding_rates로 확인한 값. 생략 시 국내세율로 계산하고 쟁점에 제한세율 확인 안내
bond_interestNo채권 이자 여부 — 이자 소득에서만 의미, 특례 적용 필요 시 별도 확인
related_partyNo수취인이 국외지배주주일 가능성 — 이자 소득에서 과소자본 쟁점 표시 시 사용
recipient_typeYes수취인 구분 — 개인(비거주자) / 법인(외국법인)
service_locationNo인적용역 제공 장소 — 인적용역 소득에서만 의미, '국내'면 20%, '국외'면 국내원천소득 아님(0%), None이면 현행(20%+쟁점)
residence_countryYes거주지국(ISO 2자 코드 또는 국명)
payer_bears_local_taxNo순액 약정에서 지급자가 지방소득세까지 부담 — true면 세율에 지방소득세분(국세분의 10%)을 더해 역산(유추 — 국이22601-403 요지에서 추론). true면 net_of_tax도 true로 봄
treaty_includes_local_taxNo조세조약의 대상조세 조문에 한국 지방소득세(주민세)가 포함되는지(조문 번호는 조약마다 다름 — 한미 조약은 제1조). 생략 시 내장 표(일본·중국·독일·영국·프랑스·싱가포르·네덜란드·캐나다·호주·베트남 포함, 미국 미포함), 표에 없으면 미포함으로 계산하고 확인 표시
treaty_covered_taxes_articleNo근거 문구에 쓸 조약 대상조세 조문 번호(예: '제2조') — 조문 MCP tax_treaty로 확인한 값. 생략하면 확인된 나라(미국 제1조)만 번호를 쓰고 그 밖은 번호 없이 표기

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.57.1
    • addedInput schema / properties / net_of_tax
      Added value: +{
      +  "default": false,
      +  "description": "순액(세금부담) 약정 — true면 amount를 '국내 세법에 의한 제세를 공제한 금액'으로 약정한 순액으로 보고 과세표준 = 약정액 ÷ (1 − 원천징수세율)로 역산(법인세법 기본통칙 98-0…2)",
      +  "title": "Net Of Tax",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / payer_bears_local_tax
      Added value: +{
      +  "default": false,
      +  "description": "순액 약정에서 지급자가 지방소득세까지 부담 — true면 세율에 지방소득세분(국세분의 10%)을 더해 역산(유추 — 국이22601-403 요지에서 추론). true면 net_of_tax도 true로 봄",
      +  "title": "Payer Bears Local Tax",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / treaty_covered_taxes_article
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "근거 문구에 쓸 조약 대상조세 조문 번호(예: '제2조') — 조문 MCP tax_treaty로 확인한 값. 생략하면 확인된 나라(미국 제1조)만 번호를 쓰고 그 밖은 번호 없이 표기",
      +  "title": "Treaty Covered Taxes Article"
      +}
    • changedInput schema / properties / treaty_includes_local_tax / description
      Previous value: -"조세조약 대상조세(제2조)에 한국 지방소득세(주민세)가 포함되는지. 생략 시 내장 표(일본·중국·독일·영국·프랑스·싱가포르·네덜란드·캐나다·호주·베트남 포함, 미국 미포함), 표에 없으면 미포함으로 계산하고 확인 표시"New value: +"조세조약의 대상조세 조문에 한국 지방소득세(주민세)가 포함되는지(조문 번호는 조약마다 다름 — 한미 조약은 제1조). 생략 시 내장 표(일본·중국·독일·영국·프랑스·싱가포르·네덜란드·캐나다·호주·베트남 포함, 미국 미포함), 표에 없으면 미포함으로 계산하고 확인 표시"
    • changedInput schema / properties / treaty_rate / description
      Previous value: -"조세조약 제한세율(소수, 예: 0.15 = 15%). 생략 시 국내세율 적용"New value: +"조세조약 제한세율(소수, 예: 0.15 = 15%) — korean-tax-mcp treaty_withholding_rates로 확인한 값. 생략 시 국내세율로 계산하고 쟁점에 제한세율 확인 안내"
  2. Changed2 schema fields changedv0.37.0
    • addedInput schema / properties / service_location
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "국내",
      +        "국외"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "인적용역 제공 장소 — 인적용역 소득에서만 의미, '국내'면 20%, '국외'면 국내원천소득 아님(0%), None이면 현행(20%+쟁점)",
      +  "title": "Service Location"
      +}
    • addedInput schema / properties / year
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "지급 연도(2016~2026) — 세율은 같고 근거 조문의 호만 달라짐: 2018년까지 이자·배당·사용료·기타는 제1항제3호, 인적용역은 제2호. 생략하면 현행 호",
      +  "title": "Year"
      +}
  3. Changed1 schema field changedv0.21.0
    • addedInput schema / properties / treaty_includes_local_tax
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "조세조약 대상조세(제2조)에 한국 지방소득세(주민세)가 포함되는지. 생략 시 내장 표(일본·중국·독일·영국·프랑스·싱가포르·네덜란드·캐나다·호주·베트남 포함, 미국 미포함), 표에 없으면 미포함으로 계산하고 확인 표시",
      +  "title": "Treaty Includes Local Tax"
      +}
  4. First observedv0.9.1

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them: it discloses the gross-up formula (net ÷ (1 − rate)), the local-tax add-on (15% → 16.5%), rounding rules (base floored to won, tax truncated only at the end), the 0% outcome for foreign-located personal services, and year-dependent article numbering. These are behavioral facts an agent could not infer from the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and the sections are labeled, but the text is long and duplicative — the Korean and English halves repeat the same scoping and the service_location rule is restated three times. Several sentences (the '쟁점' meta-instructions) describe internal output formatting rather than helping the agent decide or call.

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 13-parameter tool with no output schema, the description covers what is needed: the result fields (withholding tax, local income tax, applied rate, recipient remittance, rounding difference), the min(domestic, treaty) rate rule, and the 10% local tax treatment. Nothing an agent needs to call it correctly or interpret the result is missing.

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 adds real meaning: it maps Korean income categories to income_kind, explains that service_location is only meaningful for personal services and ignored otherwise, and gives a worked numeric example for net_of_tax and payer_bears_local_tax. It largely mirrors the schema's own parameter descriptions, which keeps it from a 5.

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 first line states a specific verb+resource: withholding tax on Korean-source income of nonresidents and foreign corporations, with net-of-tax gross-up. It explicitly scopes itself as 'amounts only' and names the sibling tools (royalty_withholding_guide, treaty_withholding_rates, tax_treaty) that handle characterization and treaty eligibility, so an agent can separate it from adjacent tools without opening a schema.

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

Usage Guidelines5/5

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

The '언제:' block gives explicit trigger conditions — when paying interest/dividends/royalties/personal-service/other income to a nonresident or foreign corporation, and when back-computing the tax base under a net-of-tax contract. It also states the prerequisite ordering (check characterization and treaty eligibility first) and what to do when treaty_rate is absent, which is genuine when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools