Skip to main content
Glama

calculate kr monthly rent credit

calculate_kr_monthly_rent_credit
Read-onlyIdempotent

Korean monthly rent tax credit (월세 세액공제, 조세특례제한법 제95조의2): 17% when total salary ≤ 55M KRW (comprehensive income ≤ 45M), 15% up to 80M (70M), rent up to 10M KRW a year, plus the 10% local income tax reduction. Optional tax before credit caps the credit.

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": "<income>",
      "incomeType": "<incomeType>",
      "monthlyRent": "<monthlyRent>",
      "months": "<months>"
    },
    "name": "calculate_kr_monthly_rent_credit"
  }
}

Input Schema

NameRequiredDescriptionDefault
incomeYesTotal salary (wage earners) or comprehensive income amount (KRW)
monthsYesMonths of rent paid this year
incomeTypeYeswage = total salary, comprehensive = 종합소득금액
monthlyRentYesMonthly rent excluding maintenance fees (KRW)
taxBeforeCreditNoIncome tax left before this credit (optional cap) (KRW)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds real value by disclosing the computation rules (17%/15% brackets, 10M KRW annual rent cap, 10% local income tax reduction) and that taxBeforeCredit caps the result. It still omits rounding behavior and whether the returned figure bundles the local tax reduction, which matters for interpreting output given there is no output schema.

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?

One dense sentence front-loads the purpose and legal basis before the rate table, and every clause carries domain content. The parenthetical thresholds make it feel cramped, but nothing is truly redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 should state what shape the result takes (credit amount, whether the local tax reduction is included, currency), and it does not. For a tax calculator with a five-parameter schema this leaves a meaningful gap, though the input-side rules are well covered.

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 goes further by tying income thresholds to incomeType (55M/45M for wage, 80M/70M comprehensive), which the schema does not express. It also reinforces the rent cap of 10M KRW per year that contextualizes monthlyRent × months.

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 verb+resource — the Korean monthly-rent tax credit under 조세특례제한법 제95조의2 — and spells out the rate structure, so an agent knows exactly what is being computed. It does not explicitly distinguish itself from nearby siblings such as calculate_kr_year_end_settlement, but the domain is narrow enough that confusion is unlikely.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: no statement of which situations call for this credit versus year-end settlement or other calculators, and no mention of eligibility prerequisites (e.g. no-home household status) that gate the real credit. The agent must infer invocation conditions from the rate table alone.

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.