Skip to main content
Glama

Separate rental income tax

calc_rental_income_tax
Read-onlyIdempotent

Compute the 14% separate tax on residential rental income up to 20 million won, with registered-landlord deductions.

분리과세 주택임대소득 세액 계산 (소법 §64의2①② · 영 §122의2⑦).

필요경비 50%(등록임대주택 60%), 추가공제 200만원(등록 400만원)은 **분리과세 주택임대소득을 제외한
종합소득금액이 2천만원 이하일 때만** 적용된다 — other_comprehensive_income 미입력 시 공제 없이
계산하고 플래그를 단다. 등록·미등록 혼재는 수입금액 비율로 안분(영 §122의2⑦2·3호).
총수입 2천만원 초과는 분리과세 대상이 아니므로 오류를 반환한다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tax_reductionNo
registered_revenueNo
unregistered_revenueNo
other_comprehensive_incomeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds real behavioral detail beyond them: it returns an error above 20M gross revenue, computes without deduction and sets a flag when other_comprehensive_income is omitted, and apportions mixed registered/unregistered cases by revenue ratio.

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 English summary followed by structured Korean rules; each sentence carries real content. The English sentence partially restates the title, and the bilingual format introduces mild redundancy, but nothing is filler.

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 4-param calculator with no output schema and complete annotation coverage, the description supplies the critical computation rules and error/missing-input behavior. It does not describe the return shape or the tax_reduction parameter, which keeps it just short of fully complete.

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?

With 0% schema description coverage, the description must carry the param burden and largely does: it explains registered_revenue/unregistered_revenue apportionment, the role of other_comprehensive_income in gating deductions, and the deduction/expense rates. tax_reduction is left entirely unexplained, so there is one clear gap.

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 specific verb+resource with scope: computes the 14% separate tax on residential rental income up to 20 million won. It is clear this is the calculation tool, but it never explicitly contrasts itself with the close sibling judge_rental_income_tax (eligibility judgment), leaving the boundary to inference.

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?

Clearly states applicability conditions: deductions apply only when other_comprehensive_income is ≤ 20M, and it returns an error when gross revenue exceeds 20M (out of scope for separate taxation). No alternative tool is named for the eligibility/other-income cases, so it stops short of full when-not/alternatives guidance.

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.

Resources