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

korean-tax-calc-mcp

unfair_transaction

Read-onlyIdempotent

Checks if a related-party transaction price differs from market price by KRW 300M or 5%, flagging Korean corporate tax denial and foreign or capital-increase exceptions.

Instructions

Wrongful calculation test for related party transactions vs market price (KRW 300M or 5%) (부당행위계산). 부당행위계산 기준(시가와 실제 거래가 차이 3억 원 이상 또는 5% 이상). 언제: 특수관계인과의 거래 가격이 시가와 크게 차이 나 부당행위계산 부인 대상인지 확인할 때. 입력: 시가(단가, 원) → market_price, 실제 거래 단가(원) → actual_price, 수량 → quantity, 100% 자회사 액면 증자 단독 인수 여부 → wholly_owned_capital_increase(기본 False). 결과: 시가총액·차액·차액비율·부당행위계산 여부, 근거(법인세법 제52조, 시행령 제88조제3항). 부당행위계산 기준(시가와 실제 거래가 차액이 3억 원 이상 또는 5% 이상이면 부인 대상). wholly_owned_capital_increase=True(시가가 액면 미만인 법인의 신주를 100% 단독 출자 법인이 전부 인수)면 차액이 있어도 부당행위계산=False로 계산 — 판단 근거는 조문 MCP(korean-tax-mcp) search_tax_rulings(query='100% 단독 출자 유상증자 신주 인수 부당행위계산'). 국외특수관계인 거래(foreign_related=True): 국제거래에는 법인세법 제52조를 적용하지 않음(국조법 제4조제2항) → 결과의 적용_규정이 '국조법 정상가격 조정', 부당행위계산은 False, 차액 전부가 조정대상_차액(3억·5% 기준 없음). 입력한 시가를 정상가격으로 본 차액이며 정상가격 산출 자체는 하지 않음. 예외 — transaction_type이 무상이전·채무면제, 무수익자산, 출연금대납, 자본거래면 국제거래라도 법인세법 제52조(국조령 제4조)로 종전처럼 판정.

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": {
      "market_price": "<market_price>",
      "actual_price": "<actual_price>",
      "quantity": "<quantity>"
    },
    "name": "unfair_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNo거래가 속한 사업연도(2016~2026, 선택) — 국조법 조문 번호 표기용(2020년까지 구법 제3조·제4조). 생략하면 현행 조문
quantityYes수량
actual_priceYes실제 거래 단가(원)
market_priceYes시가(단가, 원)
foreign_relatedNo거래 상대가 국외특수관계인(해외 자회사·해외 모회사 등)인지 — True면 국제거래라 법인세법 제52조 대신 국조법 정상가격 조정(3억·5% 기준 없음). transaction_type이 예외 유형이면 법인세법 제52조
transaction_typeNo거래 유형(foreign_related=True일 때만 의미) — '일반'(재화·용역·임대차·금전대차 등) 외 네 가지는 국제거래라도 법인세법 제52조를 적용하는 예외(국조령 제4조): 자산 무상 이전·채무 면제 / 수익 없는 자산 매입·현물출자·비용 부담 / 출연금 대신 부담 / 자본거래(증자·감자·합병 등)일반
wholly_owned_capital_increaseNo100% 자회사 액면 증자 단독 인수 — True이면 차액이 있어도 부당행위계산=False로 계산. 해당 여부의 판단 근거는 조문 MCP(korean-tax-mcp) search_tax_rulings(query='100% 단독 출자 유상증자 신주 인수 부당행위계산')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.67.0
    • changedInput schema / properties / wholly_owned_capital_increase / description
      Previous value: -"100% 자회사 액면 증자 단독 인수 — True이면 부당행위계산 부인 대상 아님(서이46012-12126, 조심-2014-전-0041)"New value: +"100% 자회사 액면 증자 단독 인수 — True이면 차액이 있어도 부당행위계산=False로 계산. 해당 여부의 판단 근거는 조문 MCP(korean-tax-mcp) search_tax_rulings(query='100% 단독 출자 유상증자 신주 인수 부당행위계산')"
  2. Changed4 schema fields changedv0.37.0
    • addedInput schema / properties / foreign_related
      Added value: +{
      +  "default": false,
      +  "description": "거래 상대가 국외특수관계인(해외 자회사·해외 모회사 등)인지 — True면 국제거래라 법인세법 제52조 대신 국조법 정상가격 조정(3억·5% 기준 없음). transaction_type이 예외 유형이면 법인세법 제52조",
      +  "title": "Foreign Related",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / transaction_type
      Added value: +{
      +  "default": "일반",
      +  "description": "거래 유형(foreign_related=True일 때만 의미) — '일반'(재화·용역·임대차·금전대차 등) 외 네 가지는 국제거래라도 법인세법 제52조를 적용하는 예외(국조령 제4조): 자산 무상 이전·채무 면제 / 수익 없는 자산 매입·현물출자·비용 부담 / 출연금 대신 부담 / 자본거래(증자·감자·합병 등)",
      +  "enum": [
      +    "일반",
      +    "무상이전·채무면제",
      +    "무수익자산",
      +    "출연금대납",
      +    "자본거래"
      +  ],
      +  "title": "Transaction Type",
      +  "type": "string"
      +}
    • addedInput schema / properties / wholly_owned_capital_increase
      Added value: +{
      +  "default": false,
      +  "description": "100% 자회사 액면 증자 단독 인수 — True이면 부당행위계산 부인 대상 아님(서이46012-12126, 조심-2014-전-0041)",
      +  "title": "Wholly Owned Capital Increase",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / year
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "거래가 속한 사업연도(2016~2026, 선택) — 국조법 조문 번호 표기용(2020년까지 구법 제3조·제4조). 생략하면 현행 조문",
      +  "title": "Year"
      +}
  3. First observedv0.9.1

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare a safe, idempotent, closed-world read; the description goes well beyond them by naming the exact output fields (시가총액·차액·차액비율·부당행위계산 여부, 적용 규정), the statutory basis (법인세법 제52조, 시행령 제88조제3항), and two result-overriding branches with their legal reasoning. It also discloses a real limitation — that the tool accepts the user's 시가 as the 정상가격 and performs no arm's-length computation itself. That is exactly the kind of caveat an agent needs before trusting the output.

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 bilingual opening restates the same rule twice, and the 300M/5% threshold appears a third time in the 결과 line, so real text is spent on repetition. The labeled structure (언제 / 입력 / 결과 / 예외) is easy to scan and the special-case caveats do earn their space. Length is defensible for a tax-rule tool but not tight.

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?

With no output schema, the description carries the return-value burden and does so by listing the result fields and the legal citations returned. All governing branches — the wholly-owned capital increase override, the international-transaction switch under 국조법 제4조제2항, and the four exception transaction_types under 국조령 제4조 — are covered. It even points the agent to the companion korean-tax-mcp ruling search when the judgment basis is needed.

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 each field already explains itself, so the baseline is 3. The description adds modest value by restating the parameter mapping and the default for wholly_owned_capital_increase, plus the consequence of setting it True. However, the `year` parameter is never mentioned in the prose and the flags' semantics are largely duplicated from the schema rather than extended.

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?

States a concrete verb and object: a test that compares a related-party transaction price against market price and flags 부당행위계산 부인 using the KRW 300M / 5% threshold. The scope is unmistakably a single-rule calculator, not a generic lookup. It never names its sibling tools (e.g. capital_gains_unfair_transaction, international_transaction_statement), so an agent must infer the boundary rather than being told it.

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 '언제:' clause gives an explicit trigger condition — check whether a price with a 특수관계인 diverges enough from 시가 to be denied. It also carves out two important usage branches (wholly_owned_capital_increase=True, foreign_related=True with its four exception transaction_types), which tells the agent when the tool behaves differently. It stops short of routing to an alternative tool for the international case, leaving the agent to decide whether that still belongs here.

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