Skip to main content
Glama

calculate kr vat credits

calculate_kr_vat_credits
Read-onlyIdempotent

Korean VAT credits (부가가치세법, 2026): mode deemed = deemed input tax on untaxed farm and fishery purchases (조특법·부가세법 제42조: individual restaurants 9/109 up to KRW 200M tax base else 8/108, corporate restaurants and bakeries 6/106, SME manufacturers 4/104, others 2/102) with the limit ratio of the tax base; mode card = credit-card sales credit 1.3% up to KRW 10M a year for individuals with prior-year supply ≤ 1 billion (제46조); mode bad-debt = bad-debt credit 10/110 and the last period to claim (10 years after supply). The 2027 government proposal (1.2%, 5M) is not law yet.

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": {
      "mode": "<mode>"
    },
    "name": "calculate_kr_vat_credits"
  }
}

Input Schema

NameRequiredDescriptionDefault
corpNodeemed/card: corporation
modeYesWhich credit
typeNodeemed: business type
amountNobad-debt: bad-debt amount including VAT
payableNocard: VAT payable before this credit
taxBaseNodeemed: VAT tax base (supply value) for the period
suppliedNobad-debt: supply date
cardSalesNocard: card and cash-receipt sales including VAT
confirmedNobad-debt: date the bad debt was confirmed
purchasesNodeemed: purchases of untaxed farm/fishery products
usedThisYearNocard: credit already used this year
priorYearSupplyNocard: prior-year supply value

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already establish the safe read-only, idempotent, closed-world profile, so the description only needs to add computational behavior. It does add statutory limits (9/109 up to KRW 200M tax base, 1.3% up to KRW 10M for prior-year supply ≤ 1 billion, 10-year claim window) and flags that proposed 2027 rates are not applied. However, it never says what the response contains — whether it returns the credit amount, the applied cap, or an eligibility flag — which matters since 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.

Conciseness3/5

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

It is front-loaded with the modes and contains no filler sentence, but the whole definition is a single run-on paragraph with nested parentheticals and statutory citations that make it hard to scan. A short structured breakdown per mode would convey the same content far more efficiently.

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 12-parameter tool with only one required field, the description does enough: it explains each mode's statutory basis and rate so an agent can supply the right inputs. The main gap is the absence of any statement about the return value, which is required because there is no output schema.

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%, so the schema already defines every parameter including its mode association, giving a baseline of 3. The description adds genuine meaning by supplying the rate formulas and thresholds that give taxBase, purchases, cardSales, priorYearSupply, and usedThisYear their computational significance, but it does not explain how parameters combine (e.g., that taxBase is multiplied by the limit ratio) or which params are ignored in each mode.

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 description names a specific verb (calculate) and resource (Korean VAT credits) and enumerates the three supported modes — deemed, card, and bad-debt — so an agent knows exactly what the tool computes and which sub-calculation applies. Sibling tools are all distinct Korean tax calculators, so no explicit differentiation is needed.

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?

Usage context is given per mode via inline labels ('mode deemed = ...', 'mode card = ...', 'mode bad-debt = ...'), which tells the agent which mode to select for which real-world situation. It also warns that the 2027 government proposal (1.2%, 5M) is not law yet, preventing a common misapplication. It stops short of stating when NOT to use this tool or naming alternatives such as compare_vat_tax.

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.