Skip to main content
Glama

청약 가점 계산 — 선언된 기간·인원에 배점표(84점) 적용

realty_subscription_score
Read-onlyIdempotent

민영주택 일반공급 청약 가점(만점 84)을 배점표로 계산한다.

민영주택 일반공급 가점제 점수(만점 84)를 **선언된 값**에 배점표를 적용해 계산한다 —
무주택기간 32 + 부양가족 35 + 통장 가입기간 17. "내 청약 가점 몇 점이야?"의 자리다.
기혼이면 spouse_account_years(배우자 통장 가입기간)를 물어 넣어라 — 배우자 기간의 50%를
배점표로 환산해 최대 3점을 가입기간 점수에 더한다(합계 17점 상한, 별표 1 비고 2).

경계를 지켜라: ① 세 입력 전부 **선언**이다 — 기산점·부양가족 인정은 등본·혼인관계
사실판단이라 서버가 판정하지 않고, 응답 traps(오기입=부적격 당첨 취소 사유)를 반드시
함께 전하라. ② 산출 점수는 realty_subscription_odds의 my_score로 넘겨 당첨 커트라인과
비교하는 것이 다음 수다. ③ 배점표 원문·기산 규칙은
realty_policy_rules(topic=subscription_account)가 진실원이다.

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": {
      "no_house_years": "<no_house_years>",
      "dependents_count": "<dependents_count>",
      "account_years": "<account_years>"
    },
    "name": "realty_subscription_score"
  }
}

Input Schema

NameRequiredDescriptionDefault
is_homeownerNo현재 유주택 여부 — True면 무주택기간 점수가 0점이 된다(소형·저가주택 등 무주택 간주 예외 해당 여부는 사실판단이라 호출자가 반영해 선언)
account_yearsYes청약통장 가입기간(년, 소수 허용 — 예: 0.4=약 5개월). 전환 통장은 종전 통장 최초 가입일 기준 (허용 범위 0~60)
no_house_yearsYes무주택기간(년, 소수 허용 — 예: 7.5). 기산점(만 30세 vs 혼인신고일, 유주택 이력 재기산)은 사실판단이라 호출자가 확정해 선언한다 — 응답의 traps를 함께 전하라 (허용 범위 0~60)
dependents_countYes부양가족 수(본인 제외). 직계존속 3년 동거·30세 이상 미혼자녀 1년 동거 등 인정 요건은 사실판단 — 확정해 선언한다 (허용 범위 0~20)
under30_unmarriedNo만 30세 미만 미혼 여부 — True면 무주택기간 점수가 0점이 된다(무주택기간 기산 전)
spouse_account_yearsNo배우자의 주택청약종합저축 가입기간(년, 소수 허용). 생략(null)=배우자 통장 없음·미선언. 0은 '공고일 현재 가입했으나 6개월 미만'이라 배점표상 1점이 된다 — 가입하지 않았으면 비워라. 별표 1 비고 2: 배우자 가입기간의 50%에 해당하는 기간을 배점표로 환산한 점수(최대 3점)를 본인 가입기간 점수에 더하고, 합계는 17점이 상한이다. 특별공급에는 적용되지 않는다 (허용 범위 0~60)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / spouse_account_years
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 60,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "배우자의 주택청약종합저축 가입기간(년, 소수 허용). 생략(null)=배우자 통장 없음·미선언. 0은 '공고일 현재 가입했으나 6개월 미만'이라 배점표상 1점이 된다 — 가입하지 않았으면 비워라. 별표 1 비고 2: 배우자 가입기간의 50%에 해당하는 기간을 배점표로 환산한 점수(최대 3점)를 본인 가입기간 점수에 더하고, 합계는 17점이 상한이다. 특별공급에는 적용되지 않는다 (허용 범위 0~60)",
      +  "title": "Spouse Account Years"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "realty_subscription_scoreDictOutput",
      -  "type": "object"
      -}New value: +null
  3. Changed3 schema fields changed
    • changedInput schema / properties / account_years / description
      Previous value: -"청약통장 가입기간(년, 소수 허용 — 예: 0.4=약 5개월). 전환 통장은 종전 통장 최초 가입일 기준"New value: +"청약통장 가입기간(년, 소수 허용 — 예: 0.4=약 5개월). 전환 통장은 종전 통장 최초 가입일 기준 (허용 범위 0~60)"
    • changedInput schema / properties / dependents_count / description
      Previous value: -"부양가족 수(본인 제외). 직계존속 3년 동거·30세 이상 미혼자녀 1년 동거 등 인정 요건은 사실판단 — 확정해 선언한다"New value: +"부양가족 수(본인 제외). 직계존속 3년 동거·30세 이상 미혼자녀 1년 동거 등 인정 요건은 사실판단 — 확정해 선언한다 (허용 범위 0~20)"
    • changedInput schema / properties / no_house_years / description
      Previous value: -"무주택기간(년, 소수 허용 — 예: 7.5). 기산점(만 30세 vs 혼인신고일, 유주택 이력 재기산)은 사실판단이라 호출자가 확정해 선언한다 — 응답의 traps를 함께 전하라"New value: +"무주택기간(년, 소수 허용 — 예: 7.5). 기산점(만 30세 vs 혼인신고일, 유주택 이력 재기산)은 사실판단이라 호출자가 확정해 선언한다 — 응답의 traps를 함께 전하라 (허용 범위 0~60)"
  4. Added

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, so the description correctly focuses on semantics: all three inputs are caller declarations, the server does not adjudicate start dates or dependent eligibility, and the response's traps must be relayed because mis-entry can void a winning bid. It also discloses the spouse 50% conversion with a 3-point addition capped at 17 total — real behavioral detail beyond the annotations.

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?

Front-loaded with the core definition, then a numbered boundary section — good structure with no filler sentences. Slight redundancy in restating "민영주택 일반공급 청약 가점(만점 84)" in both the first and second sentence, and the spouse rule is stated in a long parenthetical.

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?

For a six-parameter pure-computation tool with no output schema, the description covers the scoring model, the declaration-vs-adjudication boundary, the traps in the response, and the follow-up tool — everything an agent needs to call it and act on 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; the description still adds the conditional prompt for spouse_account_years when the user is married and frames the three required numbers as declarations rather than derived facts. It does not add much for is_homeowner or under30_unmarried, which remain documented only in the schema.

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 resource — computing the private-housing general-supply subscription score out of 84 — and decomposes it into the exact three components (32 + 35 + 17). It also names the user question it answers ("내 청약 가점 몇 점이야?"), which makes it immediately distinguishable from realty_subscription_odds and realty_policy_rules.

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?

Explicitly routes the agent: this tool computes the score, realty_subscription_odds consumes it as my_score for cutoff comparison, and realty_policy_rules(topic=subscription_account) is the source of the scoring table. It also gives a conditional workflow instruction — ask for spouse_account_years when married — and states the special-supply exclusion.

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.