Skip to main content
Glama

calculate kr student loan repayment

calculate_kr_student_loan_repayment
Read-onlyIdempotent

Korean income-contingent student loan (취업 후 상환 학자금) mandatory repayment: (annual income amount − repayment threshold 20,560,000 KRW, 교육부고시 제2026-12호, ≈ gross salary 30,370,000) × 20% undergraduate or 25% graduate (특별법 제18조, 시행령 제10조), monthly payroll deduction (1/12, from the month after the June notice) or a bill after the May income tax filing. Salary input is converted with the earned income deduction. The threshold changes each semester. Estimate only.

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": {
      "incomeType": "<incomeType>",
      "amount": "<amount>",
      "loan": "<loan>"
    },
    "name": "calculate_kr_student_loan_repayment"
  }
}

Input Schema

NameRequiredDescriptionDefault
loanYesUndergraduate loans only, or graduate loans included
amountYesGross salary or income amount for the year (KRW)
balanceNoRemaining loan balance (caps the repayment)
employeeNoWage earner (payroll deduction) — default true for salary
incomeTypeYessalary = gross wages only, income = total income amount (소득금액)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, closed-world), and the description adds real behavioral context beyond them: the threshold changes each semester, the result is an estimate only, and the salary input is converted via the earned income deduction. It stops short of describing the return shape or how the balance cap interacts with the computed amount.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Front-loads the formula and rate structure, then the collection mechanics, then the caveat. Dense but every clause carries operative information; the statutory citations are compact parentheticals rather than padding.

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 five-parameter, no-output-schema calculator, the description supplies the computation logic, the two collection channels, and the estimate caveat. The main residual gap is what the tool actually returns (monthly deduction vs annual amount) and how balance truncates the result.

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 genuine meaning by explaining that a salary input is converted with the earned income deduction, which clarifies the salary-vs-income distinction in incomeType. It does not explain the balance parameter's capping behavior, which the schema alone carries.

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?

States a specific verb and a precisely scoped resource (Korean income-contingent student loan mandatory repayment) and gives the actual formula, so an agent can distinguish it from calculate_loan_refinance or check_kr_family_loan_interest without opening any schema.

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?

Implies the use case (estimating mandatory repayment via payroll deduction or a bill after the May filing) and flags 'Estimate only', but never states when to prefer this over sibling loan tools or what inputs are out of scope. Usage is inferable rather than directed.

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.