Skip to main content
Glama

calculate card tax deduction

calculate_card_tax_deduction
Read-onlyIdempotent

Calculates South Korea 2026 year-end card tax deduction, 25% threshold, credit (15%) vs check (30%) rates, and golden ratio strategy.

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": {
      "annualSalary": "<annualSalary>"
    },
    "name": "calculate_card_tax_deduction"
  }
}

Input Schema

NameRequiredDescriptionDefault
childrenNoNumber of child/grandchild dependents (2026 base limit rises by child count, 2+ capped)
annualSalaryYesGross annual salary (비과세 제외) in KRW
cultureSpendNoBook, performing arts, museum spending in KRW
checkCardSpendNoAnnual check/debit card and cash receipt spending in KRW
creditCardSpendNoAnnual credit card spending in KRW
publicTransitSpendNoPublic transit spending in KRW (40%)
traditionalMarketSpendNoTraditional market spending in KRW (40%)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety is covered. The description adds genuine domain behavior beyond that: the 25% threshold and the differing 15%/30% rates for credit vs check card spend. It does not disclose what the calculation returns or whether missing spend categories default to zero, which matters for a 7-parameter tool.

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?

A single front-loaded sentence that packs in jurisdiction, tax year, threshold, and rate structure with no filler. 'Golden ratio strategy' is compressed jargon that costs a little clarity but the sentence remains efficient overall.

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?

For a 7-parameter calculator with no output schema, the description should say what comes back (deduction amount, breakdown, recommended credit/check split) and how optional spend fields default. It covers the input side and the tax logic well but leaves the return shape entirely unspecified.

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 every parameter is already documented, and the baseline is 3. The description adds some interpretive value by tying the 15% and 30% rates to credit versus check card spending, but the 'golden ratio strategy' phrase is unexplained and gives no guidance on how the optional spend categories interact.

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 ('Calculates'), a precise resource ('South Korea 2026 year-end card tax deduction'), and even the governing mechanics (25% threshold, 15% credit vs 30% check rates). It is clearly distinct from the broader sibling calculate_kr_year_end_settlement, though it never names that sibling to make the split explicit.

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 only implied by the domain framing: an agent can infer it should call this when a user asks about Korean card deduction limits. There is no statement of when to prefer calculate_kr_year_end_settlement, no prerequisite about needing salary and spend figures, and no exclusion for non-resident or pre-2026 cases.

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.