Skip to main content
Glama

compare kr overseas stock vs etf tax

compare_kr_overseas_stock_vs_etf_tax
Read-onlyIdempotent

Korean tax on the same gain via overseas stocks held directly (capital gains: 2.5M deduction then 22%, separate), a domestically listed overseas ETF (dividend income 15.4% withheld; above 20M of interest and dividends the excess is taxed at the marginal rate) or such an ETF inside an ISA (2M / 4M tax-free, then 9.9%). Returns the three taxes, the cheapest and the break-even gain (~8.33M).

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": {
      "gain": "<gain>"
    },
    "name": "compare_kr_overseas_stock_vs_etf_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
gainYesRealised gain this year (KRW)
isaLowIncomeNoISA low-income (서민형·농어민형) type
marginalRateNoMarginal rate for comprehensive taxation including local tax (0-1, default 0.264)
otherFinancialNoOther interest and dividend income this year (KRW)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already establish read-only, idempotent, closed-world behavior, and the description goes well beyond them by disclosing the actual computation model: a 2.5M deduction then 22% separate taxation, 15.4% withholding on ETF dividends, marginal-rate treatment above 20M of interest/dividends, and 2M/4M ISA exemptions at 9.9%. It also discloses derived outputs (cheapest option, ~8.33M break-even). It does not state the tax-year version of the rules or any jurisdiction caveats, which keeps it from a 5.

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?

It is a single front-loaded sentence with the three scenarios listed before the return values, and every clause carries tax semantics rather than filler. The heavy parenthetical nesting and semicolon chaining make it denser than ideal to parse, but nothing is genuinely redundant.

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?

With no output schema, the description carries the burden of describing returns and does so explicitly (three taxes, cheapest option, break-even gain), and all four parameters are covered by the schema. What is missing is a note on which tax year or rule version the rates reflect, which matters for a tax calculation tool.

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 adds real meaning: the 20M interest-and-dividend threshold explains why 'otherFinancial' matters and how it changes the ETF branch, and the marginal-rate discussion contextualizes 'marginalRate' beyond its schema note. The ISA tax-free bands similarly give 'isaLowIncome' a concrete consequence.

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 comparison across three concrete holding structures (direct overseas stock, domestically listed overseas ETF, ETF inside an ISA) and states exactly what is returned (three taxes, the cheapest, the break-even gain). An agent can tell this is a three-way tax comparison rather than a single-rate calculator, which is the key distinction from the sibling 'calculate_*' tools.

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

Usage Guidelines3/5

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

Usage is implied by the enumerated scenarios (holding overseas exposure directly vs. via ETF vs. via ISA), so an agent can infer this is the tool for choosing a structure. However, there is no explicit when-to-use/when-not-to-use statement and no named alternative for related questions such as a plain capital-gains calculation, leaving routing partly to inference.

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.