Skip to main content
Glama

양도세 계산 — 선언된 양도·취득·보유에 세율표 적용, 합산/연도분산/차손통산 비교

realty_capital_gains_tax
Read-onlyIdempotent

선언된 양도가·취득가·필요경비·보유기간에 양도소득세 세율표를 결정론으로 적용한다 — 기본·단기·분양권 세율, 장특공제 표1, 기본공제, 다주택 중과(선언), 지방소득세 10%. 두 번째 자산을 주면 같은 해 합산 vs 연도분산 vs 차손통산을 비교해 어느 쪽이 유리한지 산출한다. "지금 팔면 양도세 얼마?"·"두 채를 올해 같이 팔까 나눠 팔까?"의 자리다.

경계를 지켜라: ① 입력 전부 **선언**이다 — 보유기간 기산·주택 수·조정대상지역 해당은
사실판단이라 서버가 판정하지 않는다. ② **1세대1주택 비과세·12억 초과 고가주택 안분·
감면 특례는 계산하지 않는다**(not_curated) — 이 결과는 양도 전액이 과세된다는 전제다.
**그렇다고 사용자를 밖으로 내보내지 마라 — 계산기가 없을 뿐 갈림길 지도는 우리에게
있다**: `realty_policy_rules(topic='one_home_exemption_map')`이 5관문(세대·1주택·
보유2년·조정지역 거주2년·12억)과 5경로(일시적2주택·상속·합가·부득이한 사유·상생임대)를
확인 체크리스트와 함께 준다. 비과세 가능성이 보이면 **거기부터** 가고, 그 관문을 다 훑고도
사실판단이 남을 때 비로소 홈택스 모의계산·세무사를 안내하라. ③ 세율표·필요경비 분류·중과
경과조치의 원문·근거 조문은 realty_policy_rules(topic=capital_gains_tax)가 진실원이고,
조정대상지역 지정 현황은 topic=regulated_area다.
응답의 traps·pending_legislation·disclaimer를 함께 전하라.

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": {
      "transfer_price_10k": "<transfer_price_10k>",
      "acquisition_price_10k": "<acquisition_price_10k>",
      "holding_years": "<holding_years>",
      "transfer_year": "<transfer_year>"
    },
    "name": "realty_capital_gains_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
share_pctNo본인 지분율(%, 공동명의면 예: 50). 양도세는 인별 과세라 본인 지분만 계산하고 기본공제 250만원도 각자 받는다 — 배우자 몫은 배우자 지분으로 따로 호출하라. 두 자산 모두에 같은 지분을 적용한다 (허용 범위 0 초과~100)
asset_typeNo자산 종류 — 단기세율·장특공제가 갈린다. 분양권은 보유 2년이 넘어도 60%다. 비사업용토지=기본세율+10%p(제104조①8호). 부동산취득권리=분양권·입주권 외 권리(관리처분인가 전 예비조합원 지위 등) — 장특 없음주택
holding_yearsYes보유기간(년, 소수 허용 — 예: 1.5). 취득일~양도일이며 상속·증여 기산 특례는 사실판단이라 호출자가 확정해 선언한다 (허용 범위 0~100)
transfer_yearYes양도(예정) 연도. 2027 이후는 미시행 세제개편안이 결과를 뒤집을 수 있어 응답에 실토가 붙는다. 2025 이전 과거 양도는 당시 규칙(중과 유예 등)이라 다루지 않는다 (허용 범위 2026~2035)
asset2_asset_typeNo두 번째 자산의 종류주택
include_footnotesNotrue면 계산값 근거 전문(산식·모집단·기간·원천)을 footnotes에 싣는다. 기본은 행마다 한 줄 요지
transfer_price_10kYes양도가액(만원, 예: 90000=9억). 예정이면 예상 매도가를 선언
asset2_expenses_10kNo두 번째 자산의 필요경비(만원)
asset2_holding_yearsNo두 번째 자산의 보유기간(년) — **transfer_year 기준**이다. 연도분산 시나리오는 이 자산을 다음 해에 파는 가정이라 서버가 보유기간을 +1년으로 다시 계산한다(응답 scenarios.split_years.asset2_recomputed에 실토) (허용 범위 0~100)
multi_home_surchargeNo다주택 중과 **선언** — 양도 시점에 그 주택이 조정대상지역 안이고(현재 지정 현황은 topic=regulated_area) 세대 주택 수가 2/3+인 경우. 주택 수 판정(분양권·입주권 가산, 지방 저가주택 제외)은 사실판단이라 서버가 하지 않는다. 중과 대상인데 그 기간 취득이면 마지막 값=기본세율·장특 배제(소득세법 부칙 제14조)없음
acquisition_price_10kYes취득가액(만원). 증여받은 자산은 이월과세(10년)로 증여자 원취득가가 될 수 있다 — 응답 traps 확인
necessary_expenses_10kNo필요경비 합계(만원) — 취득·양도 부대비용과 자본적 지출만. 도배·싱크대 같은 수익적 지출은 불인정이다(경계·증빙 요건은 topic=capital_gains_tax 원문)
asset2_transfer_price_10kNo두 번째 자산의 양도가액(만원) — 주면 '올해 같이 팔기 vs 내년으로 나누기' 시나리오를 비교한다. asset2_acquisition_price_10k·asset2_holding_years와 함께 줘야 한다
rights_pre_approval_yearsNo위 입주권의 기존건물 취득일~관리처분인가일 기간(년) — 장특 보유기간(시행령 제166조⑤1) (허용 범위 0~100)
asset2_multi_home_surchargeNo두 번째 자산의 중과 선언 — 첫 자산 매도 후 주택 수가 줄어 지위가 달라질 수 있다. 시나리오별 지위 변화도 선언 그대로 쓴다(서버는 판정하지 않는다)없음
asset2_acquisition_price_10kNo두 번째 자산의 취득가액(만원)
rights_pre_approval_gain_10kNo원조합원 조합원입주권만: 관리처분인가 전 양도차익(만원, 종전 평가액−취득가−경비, 시행령 제166조①). 주면 장특 표1을 이 차익에만 적용(제95조②). 승계취득이면 주지 마라

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / transfer_year / description
      Previous value: -"양도(예정) 연도. 2027 이후는 계류 중인 세제개편안이 결과를 뒤집을 수 있어 응답에 실토가 붙는다. 2025 이전 과거 양도는 당시 규칙(중과 유예 등)이라 다루지 않는다 (허용 범위 2026~2035)"New value: +"양도(예정) 연도. 2027 이후는 미시행 세제개편안이 결과를 뒤집을 수 있어 응답에 실토가 붙는다. 2025 이전 과거 양도는 당시 규칙(중과 유예 등)이라 다루지 않는다 (허용 범위 2026~2035)"
  2. Changed1 schema field changed
    • addedInput schema / properties / include_footnotes
      Added value: +{
      +  "default": false,
      +  "description": "true면 계산값 근거 전문(산식·모집단·기간·원천)을 footnotes에 싣는다. 기본은 행마다 한 줄 요지",
      +  "title": "Include Footnotes",
      +  "type": "boolean"
      +}
  3. Changed8 schema fields changed
    • changedInput schema / properties / asset2_asset_type / enum
      Previous value: -[
      -  "주택",
      -  "조합원입주권",
      -  "분양권",
      -  "주택외부동산"
      -]New value: +[
      +  "주택",
      +  "조합원입주권",
      +  "분양권",
      +  "주택외부동산",
      +  "비사업용토지",
      +  "부동산취득권리"
      +]
    • changedInput schema / properties / asset2_multi_home_surcharge / enum
      Previous value: -[
      -  "없음",
      -  "2주택_조정대상지역",
      -  "3주택이상_조정대상지역"
      -]New value: +[
      +  "없음",
      +  "2주택_조정대상지역",
      +  "3주택이상_조정대상지역",
      +  "중과대상_2009.3.16~2012.12.31취득"
      +]
    • changedInput schema / properties / asset_type / description
      Previous value: -"자산 종류 — 단기세율·장특공제가 갈린다. 분양권은 보유 2년이 넘어도 60%다"New value: +"자산 종류 — 단기세율·장특공제가 갈린다. 분양권은 보유 2년이 넘어도 60%다. 비사업용토지=기본세율+10%p(제104조①8호). 부동산취득권리=분양권·입주권 외 권리(관리처분인가 전 예비조합원 지위 등) — 장특 없음"
    • changedInput schema / properties / asset_type / enum
      Previous value: -[
      -  "주택",
      -  "조합원입주권",
      -  "분양권",
      -  "주택외부동산"
      -]New value: +[
      +  "주택",
      +  "조합원입주권",
      +  "분양권",
      +  "주택외부동산",
      +  "비사업용토지",
      +  "부동산취득권리"
      +]
    • changedInput schema / properties / multi_home_surcharge / description
      Previous value: -"다주택 중과 **선언** — 양도 시점에 그 주택이 조정대상지역 안이고(현재 지정 현황은 topic=regulated_area) 세대 주택 수가 2/3+인 경우. 주택 수 판정(분양권·입주권 가산, 지방 저가주택 제외)은 사실판단이라 서버가 하지 않는다"New value: +"다주택 중과 **선언** — 양도 시점에 그 주택이 조정대상지역 안이고(현재 지정 현황은 topic=regulated_area) 세대 주택 수가 2/3+인 경우. 주택 수 판정(분양권·입주권 가산, 지방 저가주택 제외)은 사실판단이라 서버가 하지 않는다. 중과 대상인데 그 기간 취득이면 마지막 값=기본세율·장특 배제(소득세법 부칙 제14조)"
    • changedInput schema / properties / multi_home_surcharge / enum
      Previous value: -[
      -  "없음",
      -  "2주택_조정대상지역",
      -  "3주택이상_조정대상지역"
      -]New value: +[
      +  "없음",
      +  "2주택_조정대상지역",
      +  "3주택이상_조정대상지역",
      +  "중과대상_2009.3.16~2012.12.31취득"
      +]
    • addedInput schema / properties / rights_pre_approval_gain_10k
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "원조합원 조합원입주권만: 관리처분인가 전 양도차익(만원, 종전 평가액−취득가−경비, 시행령 제166조①). 주면 장특 표1을 이 차익에만 적용(제95조②). 승계취득이면 주지 마라",
      +  "title": "Rights Pre Approval Gain 10K"
      +}
    • addedInput schema / properties / rights_pre_approval_years
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 100,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "위 입주권의 기존건물 취득일~관리처분인가일 기간(년) — 장특 보유기간(시행령 제166조⑤1) (허용 범위 0~100)",
      +  "title": "Rights Pre Approval Years"
      +}
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "realty_capital_gains_taxDictOutput",
      -  "type": "object"
      -}New value: +null
  5. Changed1 schema field changed
    • changedInput schema / properties / asset2_holding_years / description
      Previous value: -"두 번째 자산의 보유기간(년) (허용 범위 0~100)"New value: +"두 번째 자산의 보유기간(년) — **transfer_year 기준**이다. 연도분산 시나리오는 이 자산을 다음 해에 파는 가정이라 서버가 보유기간을 +1년으로 다시 계산한다(응답 scenarios.split_years.asset2_recomputed에 실토) (허용 범위 0~100)"
  6. Changed4 schema fields changed
    • changedInput schema / properties / asset2_holding_years / description
      Previous value: -"두 번째 자산의 보유기간(년)"New value: +"두 번째 자산의 보유기간(년) (허용 범위 0~100)"
    • changedInput schema / properties / holding_years / description
      Previous value: -"보유기간(년, 소수 허용 — 예: 1.5). 취득일~양도일이며 상속·증여 기산 특례는 사실판단이라 호출자가 확정해 선언한다"New value: +"보유기간(년, 소수 허용 — 예: 1.5). 취득일~양도일이며 상속·증여 기산 특례는 사실판단이라 호출자가 확정해 선언한다 (허용 범위 0~100)"
    • changedInput schema / properties / share_pct / description
      Previous value: -"본인 지분율(%, 공동명의면 예: 50). 양도세는 인별 과세라 본인 지분만 계산하고 기본공제 250만원도 각자 받는다 — 배우자 몫은 배우자 지분으로 따로 호출하라. 두 자산 모두에 같은 지분을 적용한다"New value: +"본인 지분율(%, 공동명의면 예: 50). 양도세는 인별 과세라 본인 지분만 계산하고 기본공제 250만원도 각자 받는다 — 배우자 몫은 배우자 지분으로 따로 호출하라. 두 자산 모두에 같은 지분을 적용한다 (허용 범위 0 초과~100)"
    • changedInput schema / properties / transfer_year / description
      Previous value: -"양도(예정) 연도. 2027 이후는 계류 중인 세제개편안이 결과를 뒤집을 수 있어 응답에 실토가 붙는다. 2025 이전 과거 양도는 당시 규칙(중과 유예 등)이라 다루지 않는다"New value: +"양도(예정) 연도. 2027 이후는 계류 중인 세제개편안이 결과를 뒤집을 수 있어 응답에 실토가 붙는다. 2025 이전 과거 양도는 당시 규칙(중과 유예 등)이라 다루지 않는다 (허용 범위 2026~2035)"
  7. Added

TDQS

A4.4/5.0
Behavior4/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 that every input is a declaration the server will not adjudicate (holding-period start, home count, regulated-zone status), what the result assumes (the entire gain is taxable), and that responses carry traps, pending_legislation and a disclaimer. It does not describe output shape or size, but for a pure computation tool with no output schema this is close to the ceiling.

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 core operation before the boundary rules and the escalation path, and the numbered boundaries ①–③ make the routing easy to scan. It is longer than most definitions and repeats the declaration caveat in several places, but nearly every sentence carries actionable routing or scope information.

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 17-parameter tax engine with no output schema, the definition covers what is computed, what is deliberately excluded, why (fact-finding vs. not_curated), where the authoritative sources live, and which response fields must be relayed. An agent has enough to call it correctly and to know when not to.

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% and the per-parameter text is unusually rich (share_pct per-person taxation, asset_type rate splits, rights_pre_approval_gain usage), so the baseline is 3. The description adds framing — that supplying a second asset activates the three-scenario comparison and that surcharge status is a declaration — but that same meaning is already present in the asset2_* and multi_home_surcharge schema descriptions, so little is net-new.

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?

Opens with a specific verb and resource: applying the capital gains tax rate table deterministically to declared transfer price, acquisition price, expenses and holding period, and enumerates the sub-rules covered (basic/short-term/presale rates, table 1 deduction, basic deduction, multi-home surcharge, 10% local income tax). It then adds a second capability — comparing same-year aggregation vs. year-splitting vs. loss offsetting for a second asset — and names the user questions it answers, which no sibling tool covers.

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?

Gives explicit trigger phrasings ("지금 팔면 양도세 얼마?", "두 채를 올해 같이 팔까 나눠 팔까?") and explicit exclusions: one-home exemption, the 12억 high-value apportionment, and reduction special cases are declared not_curated. It then routes the agent precisely — realty_policy_rules(topic='one_home_exemption_map') first when exemption is plausible, topic=capital_gains_tax for statutory sources, topic=regulated_area for zone status — and states the ordering (only escalate to Hometax/specialist after those gates fail).

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.