Skip to main content
Glama

Korea Payroll & Tax (kkuldogu)

Overseas stock capital gains tax (South Korea)

overseas_stock_capital_gains_tax
Read-onlyIdempotent

South Korea capital gains tax on foreign stocks for a resident: gains and losses netted over the year, minus the 2.5M basic deduction (shared with taxable domestic share gains), taxed 20% plus 2% local tax (22%). Enter KRW amounts converted at the exchange rates on the trade dates. The domestic reinvestment (RIA) relief is not modeled.

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": {
      "trades": "<trades>"
    },
    "name": "overseas_stock_capital_gains_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
tradesYesSales this year, 1-500
basicDeductionUsedNoBasic deduction already used on other share gains this year (KRW)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/closed-world annotations, the description discloses the actual computation model — annual netting, deduction sharing, rate stack, and the requirement to convert at trade-date exchange rates. It also flags a modeling limitation (RIA relief absent). It does not describe what the response contains, though for a pure calculator that gap is modest.

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?

Three dense sentences with the resource and scope front-loaded and no filler. The tax-rule sentences are information-bearing, though the phrasing is compressed enough that an agent must parse legal shorthand (netting, 2.5M deduction, 20%+2% local) in one pass.

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?

Annotations cover the safety profile, the schema covers both parameters fully, and the description supplies the tax logic and currency constraint — enough to invoke it correctly. The one remaining hole is the absence of an output schema combined with no statement of the return shape (tax due, net gain, deduction applied).

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 genuinely adds meaning: amounts must be entered in KRW converted at the exchange rates on the trade dates, and the 2.5M deduction is shared with taxable domestic share gains — which explains how basicDeductionUsed should be populated. That is real guidance beyond the schema's field descriptions.

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 tax (South Korea capital gains tax on foreign stocks for a resident) and immediately characterizes the computation: yearly netting, a 2.5M basic deduction shared with domestic share gains, and a 22% combined rate. An agent can distinguish this from a generic transaction-tax or financial-income-tax sibling purely from the stated scope and rate structure.

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?

Applicability context is clear (resident, foreign-stock sales, annual netting with KRW conversion), and one boundary is stated explicitly: domestic reinvestment (RIA) relief is not modeled. However, no sibling tool is named and no explicit 'use X instead when…' routing is offered, so the agent must infer which of the many tax tools handles domestic or other income.

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