Skip to main content
Glama

HOTKER 핫커 | 한국 상품·휴대폰 성지 구매가 AI

HOTKER 약정 반환금 계산

calculate_contract_penalty
Read-onlyIdempotent

SKT·KT·LG U+ 약정 반환금의 기본 참고값을 계산합니다. elapsedMonths 또는 elapsedDays 중 정확히 하나를 제공하세요. selective_contract는 accumulatedDiscount와 12/24개월 약정, public_subsidy는 receivedSubsidy와 24개월 약정이 필요합니다. data.result.penalty는 원(KRW)이며 항상 estimated입니다. LG U+ 지원금은 전환지원금 기본 산식 참고값으로 가입 프로그램별 최종 청구액과 다를 수 있습니다. 무인증·읽기 전용이며 통신사 개인계정 조회·해지는 하지 않습니다. 근거는 get_calculation_evidence를 사용하세요. 잘못된 조합은 오류를 반환하며 입력을 추측해 재호출하지 마세요.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
carrierYes계산용 통신사 코드. LG U+는 LGU_PLUS. 개인 계정이나 가입 자격을 조회하지 않습니다.
elapsedDaysNo경과 일수. elapsedMonths와 둘 중 하나만 입력. 12개월 약정 최대 365일, 24개월 최대 730일.
penaltyTypeYesselective_contract=선택약정 할인반환금, public_subsidy=지원금 반환 참고액.
elapsedMonthsNo경과 개월 수. elapsedDays와 둘 중 하나만 입력하며 약정 기간 이하여야 함.
contractMonthsNo약정 개월 수. 기본 24. public_subsidy는 24만 지원.
receivedSubsidyNopublic_subsidy 필수: 실제 수령 지원금 총액, 원(KRW). 단말 원금·판매가가 아님.
accumulatedDiscountNoselective_contract 필수: 지금까지 받은 누적 요금 할인액, 원(KRW). 월 할인액이 아님.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes성공 여부. 실행 실패는 isError=true와 공개 오류 코드로 별도 반환합니다.
dataYes계산: inputBasis, engine, result, 선택 notice. 근거: engines, carriers, limitations. 검색: dataAsOf, resultCount, items 및 적용 필터. 개별 자료의 관측일·유효기간도 확인하세요.
toolYes호출한 도구 이름.
statusYescalculated=입력 기준 계산, estimated=참고 추정, incomplete=정보 부족, reference=근거, verified=검색 공개 기준 통과, partner_presented=판매점 제시 조건 포함(통신사 확인 전). 실제 계약 보증 아님.
generatedAtYes응답 생성 ISO 시각. 원본 자료의 갱신 시각과 다릅니다.
schemaVersionYes공개 응답 데이터 계약 버전.
mcpServerVersionYesHOTKER MCP 서버 버전.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / status / description
      Previous value: -"calculated=입력 기준 계산, estimated=참고 추정, incomplete=정보 부족, reference=근거, verified=검색 공개 기준 통과. 실제 계약 보증 아님."New value: +"calculated=입력 기준 계산, estimated=참고 추정, incomplete=정보 부족, reference=근거, verified=검색 공개 기준 통과, partner_presented=판매점 제시 조건 포함(통신사 확인 전). 실제 계약 보증 아님."
    • changedOutput schema / properties / status / enum
      Previous value: -[
      -  "calculated",
      -  "estimated",
      -  "incomplete",
      -  "reference",
      -  "verified"
      -]New value: +[
      +  "calculated",
      +  "estimated",
      +  "incomplete",
      +  "reference",
      +  "verified",
      +  "partner_presented"
      +]
  2. Changed8 schema fields changed
    • addedInput schema / properties / accumulatedDiscount / description
      Added value: +"selective_contract 필수: 지금까지 받은 누적 요금 할인액, 원(KRW). 월 할인액이 아님."
    • addedInput schema / properties / carrier / description
      Added value: +"계산용 통신사 코드. LG U+는 LGU_PLUS. 개인 계정이나 가입 자격을 조회하지 않습니다."
    • addedInput schema / properties / contractMonths / description
      Added value: +"약정 개월 수. 기본 24. public_subsidy는 24만 지원."
    • addedInput schema / properties / elapsedDays / description
      Added value: +"경과 일수. elapsedMonths와 둘 중 하나만 입력. 12개월 약정 최대 365일, 24개월 최대 730일."
    • addedInput schema / properties / elapsedMonths / description
      Added value: +"경과 개월 수. elapsedDays와 둘 중 하나만 입력하며 약정 기간 이하여야 함."
    • addedInput schema / properties / penaltyType / description
      Added value: +"selective_contract=선택약정 할인반환금, public_subsidy=지원금 반환 참고액."
    • addedInput schema / properties / receivedSubsidy / description
      Added value: +"public_subsidy 필수: 실제 수령 지원금 총액, 원(KRW). 단말 원금·판매가가 아님."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "additionalProperties": {},
      +      "description": "계산: inputBasis, engine, result, 선택 notice. 근거: engines, carriers, limitations. 검색: dataAsOf, resultCount, items 및 적용 필터. 개별 자료의 관측일·유효기간도 확인하세요.",
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "generatedAt": {
      +      "description": "응답 생성 ISO 시각. 원본 자료의 갱신 시각과 다릅니다.",
      +      "type": "string"
      +    },
      +    "mcpServerVersion": {
      +      "description": "HOTKER MCP 서버 버전.",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "const": true,
      +      "description": "성공 여부. 실행 실패는 isError=true와 공개 오류 코드로 별도 반환합니다.",
      +      "type": "boolean"
      +    },
      +    "schemaVersion": {
      +      "description": "공개 응답 데이터 계약 버전.",
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "calculated=입력 기준 계산, estimated=참고 추정, incomplete=정보 부족, reference=근거, verified=검색 공개 기준 통과. 실제 계약 보증 아님.",
      +      "enum": [
      +        "calculated",
      +        "estimated",
      +        "incomplete",
      +        "reference",
      +        "verified"
      +      ],
      +      "type": "string"
      +    },
      +    "tool": {
      +      "description": "호출한 도구 이름.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "schemaVersion",
      +    "mcpServerVersion",
      +    "tool",
      +    "status",
      +    "generatedAt",
      +    "data"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, but the description adds real context: result.penalty is always an estimate, LG U+ subsidy is a formula reference that may differ from the final bill, invalid combinations return errors, and no auth or account lookup is performed. This meaningfully exceeds the annotation set, though it stops short of describing scaling or edge-case behavior.

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?

Seven sentences, but front-loaded with purpose and each subsequent sentence carries a distinct constraint (input exclusivity, per-type requirements, output unit/estimate caveat, auth scope, evidence route, error policy). Dense but not padded; it could be slightly tightened but no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description need not explain returns, yet it still flags the key output field and its estimated nature. Inputs, conditionality, error handling, auth scope, and the evidence sibling are all covered, so an agent has everything required to call it correctly.

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 3 is the baseline, but the description synthesizes cross-parameter constraints (exactly one of the elapsed pair; per-penaltyType required fields; 24-month-only for public_subsidy) into a single rule set an agent can apply before reading the schema. Much of this is also in the schema text, so it does not reach 5.

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 precise verb+resource+scope: calculates SKT/KT/LG U+ contract penalty reference values. It also delimits what the tool is NOT ('무인증·읽기 전용이며 통신사 개인계정 조회·해지는 하지 않습니다'), so an agent can separate it from account-management siblings and from the other 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 Guidelines5/5

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

Explicit conditional rules: provide exactly one of elapsedMonths/elapsedDays; selective_contract needs accumulatedDiscount; public_subsidy needs receivedSubsidy and a 24-month contract. It routes elsewhere for evidence (get_calculation_evidence) and forbids guessing on error ('입력을 추측해 재호출하지 마세요'), which is clear when/when-not guidance.

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